/* Webshop Settings Styles - Available on all webshop pages */

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 2px solid #ddd;
    margin-bottom: 20px;
}

.tab {
    padding: 10px 20px;
    cursor: pointer;
    background: #f5f5f5;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 5px 5px 0 0;
}

.tab.active {
    background: white;
    font-weight: bold;
    border-bottom: 2px solid white;
    margin-bottom: -2px;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Badges */
.system-badge {
    background: #ff6b6b;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    margin-left: 5px;
}

.firma-badge {
    background: #4CAF50;
    color: white;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 0.85em;
    margin-left: 5px;
}

/* Form Elements */
.address-fields label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.address-fields input[type="text"],
.address-fields input[type="email"],
.address-fields input[type="number"],
.address-fields input[type="password"],
.address-fields select,
.address-fields textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    font-family: inherit;
}

.address-fields input[type="text"]:focus,
.address-fields input[type="email"]:focus,
.address-fields input[type="number"]:focus,
.address-fields input[type="password"]:focus,
.address-fields select:focus,
.address-fields textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Checkbox Styles */
.address-fields input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #2563eb;
    vertical-align: middle;
    margin-right: 8px;
}

.address-fields label > input[type="checkbox"] {
    margin-right: 8px;
}

/* Settings Group */
.address-fields .ui_visibility-settings {
    margin-bottom: 25px;
}

.address-fields .ui_visibility-settings h4 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
}

.address-fields .ui_visibility-settings label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 400;
}

.address-fields .ui_visibility-settings label small {
    display: block;
    margin-left: 26px;
    margin-top: 4px;
    color: #666;
    font-size: 12px;
}

/* Toasts */
#toast-container {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.toast {
    background: #fff;
    color: #111;
    padding: 10px 14px;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    border-left: 4px solid #2563eb;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.toast.success { border-left-color: #16a34a; }
.toast.error { border-left-color: #dc2626; }
