/* ===== GENERATE SECTION � PREMIUM UI UPDATE (RESPONSIVE) ===== */

/* --- Card Container --- */
.generate-section {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 32px 36px;
    background: rgba(18, 18, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.6), 
                0 0 0 1px rgba(255, 255, 255, 0.05) inset;
    position: relative;
    overflow: visible;
    box-sizing: border-box;
}

@media (max-width: 600px) {
    .generate-section {
        padding: 24px 20px;
        border-radius: 20px;
    }
}

/* Subtle gradient glow at top */
.generate-section::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(1, 142, 239, 0.1), transparent 60%);
    pointer-events: none;
    z-index: 0;
    border-radius: inherit;
}

.generate-section > * { position: relative; z-index: 1; }

/* --- Section Header --- */
.section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.section-header-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(1,142,239,0.2), rgba(1,142,239,0.05));
    border: 1px solid rgba(1,142,239,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 0 20px rgba(1,142,239,0.15);
}
.section-header-icon i { color: #60a5fa; font-size: 20px; filter: drop-shadow(0 0 5px rgba(59,130,246,0.6)); }

.section-header h2 {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
}
.section-header .section-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 4px 0 0;
}

/* --- Form Layout --- */
.form-field {
    margin-bottom: 24px;
    width: 100%;
}
.form-field:last-child { margin-bottom: 0; }

.form-field label {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.85); /* Increased contrast */
    margin-bottom: 10px;
    letter-spacing: 0.01em;
}
.field-icon { font-size: 12px; color: #60a5fa; opacity: 0.9; }
.form-field .required { color: #f87171; font-size: 14px; margin-left: 2px; }
.form-field .optional { color: rgba(255,255,255,0.4); font-weight: 400; font-size: 12px; margin-left: auto; }
.form-field .field-hint { font-size: 12px; color: rgba(255,255,255,0.5); margin: 6px 0 12px; line-height: 1.5; }

/* 2-Column Row */
.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
    position: relative;
    z-index: 10;
}
@media (max-width: 650px) { .form-row-2col { grid-template-columns: 1fr; gap: 24px; } }

/* Logo Field (Top) */
.logo-field-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 28px;
}
.logo-field-top > label {
    align-self: flex-start;
}
.logo-field-top .logo-upload-area {
    width: 120px;
    height: 120px;
    border-radius: 50%;
}
.logo-field-top .logo-preview {
    border-radius: 50%;
}
.logo-field-top .brand-color-section {
    margin-top: 12px;
}

/* --- Inputs Premium Style --- */
.gen-input,
.gen-textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, 0.03); /* Lighter bg for better contrast */
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    font-weight: 400;
    outline: none;
    transition: all 0.25s ease;
    box-sizing: border-box;
}
.gen-input:hover,
.gen-textarea:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255,255,255,0.2);
}
.gen-input:focus,
.gen-textarea:focus {
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}
.gen-input::placeholder,
.gen-textarea::placeholder { color: rgba(255,255,255,0.35); font-weight: 400; font-size: 14px; }
.gen-textarea {
    resize: vertical;
    min-height: 64px;
    line-height: 1.5;
    font-size: 14px;
}

/* Custom Select (legacy — kept for compatibility) */
.custom-select-wrapper { position: relative; }
.gen-select {
    cursor: pointer;
    padding-right: 40px !important;
    appearance: none;
    -webkit-appearance: none;
}
.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    pointer-events: none;
    transition: 0.3s;
}
.gen-select:focus + .select-arrow { color: #3b82f6; transform: translateY(-50%) rotate(180deg); }
.gen-select option { background: #1a1a24; color: #fff; padding: 12px; }

/* --- Custom Dropdown (Theme-matched) --- */
.custom-dropdown {
    position: relative;
    width: 100%;
    z-index: 50;
}
.custom-dropdown-trigger {
    width: 100%;
    padding: 14px 16px;
    padding-right: 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s ease;
    box-sizing: border-box;
    user-select: none;
    position: relative;
}
.custom-dropdown-trigger:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255,255,255,0.2);
}
.custom-dropdown.open .custom-dropdown-trigger {
    background: rgba(255, 255, 255, 0.08);
    border-color: #3b82f6;
    box-shadow: 0 0 0 2px rgba(59,130,246,0.2);
}
.custom-dropdown-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}
.custom-dropdown-value.placeholder {
    color: rgba(255,255,255,0.35);
}
.custom-dropdown-arrow {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    transition: transform 0.3s, color 0.3s;
    flex-shrink: 0;
}
.custom-dropdown.open .custom-dropdown-arrow {
    transform: rotate(180deg);
    color: #3b82f6;
}
.custom-dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    background: rgba(18, 18, 30, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    padding: 6px;
    z-index: 9999;
    max-height: 280px;
    overflow-y: auto;
    box-shadow: 0 12px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05) inset;
    animation: dropdownFadeIn 0.2s ease;
}
.custom-dropdown.open .custom-dropdown-menu {
    display: block;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-6px); }
    to { opacity: 1; transform: translateY(0); }
}
.custom-dropdown-item {
    padding: 11px 14px;
    border-radius: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    cursor: pointer;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}
.custom-dropdown-item:hover {
    background: rgba(59,130,246,0.15);
    color: #fff;
}
.custom-dropdown-item.selected {
    background: rgba(59,130,246,0.2);
    color: #60a5fa;
    font-weight: 600;
}
.custom-dropdown-item i {
    width: 18px;
    text-align: center;
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    flex-shrink: 0;
}
.custom-dropdown-item:hover i,
.custom-dropdown-item.selected i {
    color: #60a5fa;
}
/* Scrollbar for dropdown */
.custom-dropdown-menu::-webkit-scrollbar { width: 5px; }
.custom-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.custom-dropdown-menu::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 10px; }
.custom-dropdown-menu::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

/* --- Upload Areas (Logo & Products) --- */
.upload-block > label {
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.85); margin-bottom: 10px;
}
.logo-upload-area {
    position: relative;
    width: 100%;
    height: 140px;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 14px;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
}
.logo-upload-area:hover {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.08); /* Blue tint */
}
.product-images-upload-area {
    width: 100%;
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.2);
    border-radius: 14px;
    padding: 24px;
    cursor: pointer;
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    color: rgba(255,255,255,0.5);
    transition: all 0.3s;
    text-align: center;
}
.product-images-upload-area:hover {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.08);
    color: #fff;
}
.product-thumbs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
    gap: 12px;
    margin-top: 16px;
}

/* --- Brand Color & Chips --- */
.brand-color-toggle input:checked + .toggle-slider { background: #3b82f6; }
.prompt-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.suggestion-chip {
    padding: 5px 10px;
    background: rgba(255,255,255,0.05);
    border: none;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.15s;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}
.suggestion-chip i {
    font-size: 9px;
    color: rgba(255,255,255,0.3);
}
.suggestion-chip:hover {
    background: rgba(59,130,246,0.12);
    color: #93c5fd;
}
.suggestion-chip:hover i {
    color: #60a5fa;
}

/* --- Generate Row (Key Fixes) --- */
.generate-row {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.credit-cost {
    font-size: 13px;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    background: rgba(251, 191, 36, 0.1);
    padding: 8px 14px;
    border-radius: 30px;
    border: 1px solid rgba(251, 191, 36, 0.2);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
}
.credit-cost i { color: #fbbf24; margin-right: 6px; font-size: 13px; }

.generate-btn {
    flex: 1;
    min-width: 200px;
    padding: 18px 24px;
    background: linear-gradient(135deg, #018eef, #0066cc);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: inherit;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    box-shadow: 0 4px 20px rgba(1, 142, 239, 0.4);
    position: relative;
    overflow: hidden;
}
.generate-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #018eef);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(1, 142, 239, 0.5);
}
.generate-btn:active { transform: translateY(1px); }

/* Mobile Generate Row Stack */
@media (max-width: 600px) {
    .generate-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .credit-cost {
        align-self: center;
        background: transparent;
        border: none;
        padding: 0;
    }
    .generate-btn {
        width: 100%;
        padding: 16px;
    }
}

/* --- Result Area --- */
.result-area { margin-top: 40px; }

.image-container {
    width: 100%;
    min-height: 320px;
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4) inset;
}

.image-placeholder { 
    text-align: center; 
    padding: 40px 20px; 
    color: rgba(255,255,255,0.5); /* Much better contrast */
}
.image-placeholder i { 
    font-size: 48px; 
    margin-bottom: 20px; 
    display: block; 
    color: rgba(255,255,255,0.2); 
}
.image-placeholder p { 
    font-size: 15px; 
    margin: 6px 0; 
    color: rgba(255,255,255,0.6); 
    font-weight: 500;
}
.image-placeholder .hint { 
    font-size: 12px; 
    color: rgba(255,255,255,0.35); 
}

/* Loading State */
.gen-loading {
    display: none; flex-direction: column; align-items: center;
    gap: 16px; padding: 40px; text-align: center;
}
.gen-spinner {
    width: 50px; height: 50px;
    border: 3px solid rgba(59,130,246,0.1);
    border-top-color: #3b82f6;
    border-radius: 50%;
    animation: genSpin 1s linear infinite;
}
@keyframes genSpin { to { transform: rotate(360deg); } }

.generated-image {
    display: none; width: 100%; height: auto;
    border-radius: 18px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.gen-success {
    display: none;
    background: rgba(34,197,94,0.1);
    border-left: 4px solid #22c55e;
    color: #86efac;
    padding: 16px;
    border-radius: 8px;
    margin-top: 24px;
    font-size: 14px;
}
.gen-actions {
    display: none;
    gap: 16px;
    margin-top: 24px;
}
@media (max-width: 500px) {
    .gen-actions { flex-direction: column; }
}

.gen-action-btn {
    flex: 1;
    padding: 16px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none;
}
.download-btn {
    background: #018eef; 
    color: white; 
    box-shadow: 0 4px 15px rgba(1, 142, 239, 0.3);
}
.download-btn:hover { background: #1a9dff; transform: translateY(-2px); }
.regenerate-btn {
    background: rgba(255,255,255,0.08); 
    color: white;
}
.regenerate-btn:hover { background: rgba(255,255,255,0.15); }

/* --- Utility: Hidden --- */
.hidden { display: none !important; }

/* --- Logo Upload Internals --- */
.logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: rgba(255,255,255,0.45);
    text-align: center;
    padding: 12px;
}
.logo-placeholder i {
    font-size: 22px;
    opacity: 0.6;
    transition: 0.3s;
}
.logo-upload-area:hover .logo-placeholder i {
    opacity: 1;
    color: #3b82f6;
    transform: translateY(-2px);
}
.logo-placeholder span {
    font-size: 12px;
    font-weight: 500;
}
.logo-placeholder .hint {
    font-size: 10px;
    opacity: 0.5;
}

.logo-preview {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 10px;
}

.logo-remove-btn {
    position: absolute;
    top: 6px; right: 6px;
    width: 24px; height: 24px;
    border-radius: 50%;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(4px);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 5;
}
.logo-remove-btn:hover { background: #ef4444; }

/* --- Brand Color Section --- */
.brand-color-section {
    margin-top: 12px;
    padding: 0;
    background: transparent;
    border: none;
}
.brand-color-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.brand-color-label {
    font-size: 12px;
    color: rgba(255,255,255,0.6);
    font-weight: 500;
}
.brand-color-palette {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}
.brand-color-dot {
    width: 20px; height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    transition: transform 0.2s;
}
.brand-color-dot:hover {
    transform: scale(1.2);
    border-color: rgba(255,255,255,0.5);
}

/* Toggle Switch */
.brand-color-toggle {
    position: relative;
    display: inline-block;
    width: 36px; height: 20px;
    flex-shrink: 0;
}
.brand-color-toggle input {
    opacity: 0; width: 0; height: 0;
}
.toggle-slider {
    position: absolute; cursor: pointer; inset: 0;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    transition: background 0.3s;
}
.toggle-slider::before {
    content: '';
    position: absolute;
    width: 16px; height: 16px;
    left: 2px; bottom: 2px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.brand-color-toggle input:checked + .toggle-slider {
    background: #3b82f6;
}
.brand-color-toggle input:checked + .toggle-slider::before {
    transform: translateX(16px);
}

/* --- Product Thumbnails --- */
.product-thumb-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(0,0,0,0.3);
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.product-thumb-img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.product-thumb-remove {
    position: absolute;
    top: 4px; right: 4px;
    width: 22px; height: 22px;
    background: rgba(0,0,0,0.6);
    border: none; border-radius: 50%;
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem;
    transition: background 0.2s;
    backdrop-filter: blur(4px);
}
.product-thumb-remove:hover { background: #dc2626; }
.product-thumb-add {
    aspect-ratio: 1;
    border-radius: 10px;
    border: 1px dashed rgba(59,130,246,0.4);
    background: rgba(59,130,246,0.05);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    cursor: pointer;
    color: rgba(59,130,246,0.7);
    gap: 4px;
    transition: all 0.2s;
}
.product-thumb-add:hover {
    border-color: #3b82f6;
    background: rgba(59,130,246,0.15);
    color: #3b82f6;
}
.product-thumb-add i { font-size: 1.2rem; }
.product-thumb-add span { font-size: 10px; font-weight: 600; }

.product-images-upload-area.full {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.product-images-upload-area i {
    font-size: 24px;
    opacity: 0.6;
    transition: 0.3s;
}
.product-images-upload-area:hover i {
    color: #3b82f6;
    opacity: 1;
}
.product-images-upload-area > span {
    font-size: 13px;
    font-weight: 500;
}
.product-images-upload-area .hint {
    font-size: 11px;
    opacity: 0.5;
}

/* Upload block field hint */
.upload-block .field-hint {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
    margin: 0 0 12px;
    line-height: 1.5;
}

/* --- Error Message --- */
.gen-error {
    display: none;
    background: rgba(239,68,68,0.1);
    border: 1px solid rgba(239,68,68,0.2);
    border-left: 4px solid #ef4444;
    color: #fca5a5;
    padding: 14px 18px;
    border-radius: 8px;
    font-size: 14px;
    margin-top: 20px;
}

/* --- Loading text --- */
.gen-loading p {
    color: rgba(255,255,255,0.7);
    font-size: 15px;
    font-weight: 500;
}
.gen-loading-sub {
    color: rgba(255,255,255,0.35);
    font-size: 12px;
}
.gen-timer {
    font-size: 12px;
    color: rgba(255,255,255,0.4);
    font-variant-numeric: tabular-nums;
    font-family: monospace;
    background: rgba(255,255,255,0.05);
    padding: 4px 10px;
    border-radius: 100px;
    margin-top: 4px;
}

/* --- Success Icon --- */
.gen-success i { margin-right: 8px; }

/* --- Disabled button --- */
.generate-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    filter: grayscale(0.5);
}

/* === Profile Summary Bar === */
.profile-summary-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 24px;
}

.profile-summary-left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.profile-logo-thumb {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: rgba(1, 142, 239, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    color: #60a5fa;
    font-size: 18px;
}

.profile-logo-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-summary-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.profile-biz-name {
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-biz-type {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-edit-link {
    font-size: 13px;
    color: #60a5fa;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: color 0.2s;
}

.profile-edit-link:hover {
    color: #93c5fd;
}

/* === Contact Toggle === */
.toggle-options-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px 28px;
    margin-bottom: 24px;
}

.contact-toggle-wrap {
}

.contact-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.contact-toggle-label input[type="checkbox"] {
    display: none;
}

.contact-toggle-slider {
    width: 40px;
    height: 22px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    position: relative;
    transition: background 0.25s;
    flex-shrink: 0;
}

.contact-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
}

.contact-toggle-label input:checked + .contact-toggle-slider {
    background: #3b82f6;
}

.contact-toggle-label input:checked + .contact-toggle-slider::after {
    transform: translateX(18px);
}

.contact-toggle-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.contact-toggle-text i {
    margin-right: 4px;
    color: #60a5fa;
}
