/* --- UI/UX Enhancements: Multi-step Wizard --- */
.seller-wizard-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    position: relative;
    padding: 0 10px;
}

.wizard-step-line {
    flex: 1;
    height: 3px;
    background: #e2e8f0;
    margin: 0 12px;
    border-radius: 2px;
    position: relative;
    top: -10px;
    transition: background 0.4s ease;
}

.wizard-step-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    z-index: 2;
    width: 60px;
    transition: all 0.3s ease;
}

.step-icon {
    width: 40px;
    height: 40px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 18px;
    border: 2px solid #e2e8f0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-label {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

/* Active Step */
.wizard-step-indicator.active .step-icon {
    background: #f52a77;
    color: #fff;
    border-color: #f52a77;
    box-shadow: 0 0 0 4px rgba(245, 42, 119, 0.15);
    transform: scale(1.1);
}

.wizard-step-indicator.active .step-label {
    color: #f52a77;
}

/* Completed Step */
.wizard-step-indicator.completed .step-icon {
    background: #10b981;
    /* Green */
    color: #fff;
    border-color: #10b981;
}

.wizard-step-indicator.completed .step-label {
    color: #10b981;
}

.wizard-step-line.completed {
    background: #10b981;
}

/* Wizard Animations */
.seller-wizard-panel {
    animation: fadeSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(15px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Input Icons & Enhancements --- */
.has-icon {
    position: relative;
}

.input-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon-wrapper>i:first-child {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 18px;
    pointer-events: none;
    transition: color 0.3s ease;
}

.input-icon-wrapper input,
.input-icon-wrapper select {
    padding-left: 44px !important;
    /* Make room for icon */
}

.input-icon-wrapper input:focus+i,
.input-icon-wrapper input:focus~i:first-child,
.input-icon-wrapper select:focus~i:first-child {
    color: #f52a77;
    /* Accent color on focus */
}

.partial-width {
    flex: 1;
}

.seller-form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.seller-form-row .seller-form-group {
    margin-bottom: 0;
}

/* Custom Select Arrow */
.select-wrapper {
    position: relative;
}

.select-wrapper select {
    appearance: none;
    background: none !important;
    /* override old bg */
}

.select-arrow {
    position: absolute;
    right: 16px;
    color: #94a3b8;
    pointer-events: none;
    font-size: 14px;
}

/* Real-time Validation States */
.input-icon-wrapper input.is-valid {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.input-icon-wrapper input.is-invalid {
    border-color: #ef4444;
    background-color: #fef2f2;
    animation: shake 0.4s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
}

@keyframes shake {

    10%,
    90% {
        transform: translate3d(-1px, 0, 0);
    }

    20%,
    80% {
        transform: translate3d(2px, 0, 0);
    }

    30%,
    50%,
    70% {
        transform: translate3d(-3px, 0, 0);
    }

    40%,
    60% {
        transform: translate3d(3px, 0, 0);
    }
}

.step-validation-error {
    background: #fef2f2;
    color: #ef4444;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #fca5a5;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    animation: fadeSlideUp 0.3s ease;
}

/* --- Navigation Actions --- */
.seller-wizard-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.seller-btn i {
    font-size: 18px;
    margin: 0 6px;
    transition: transform 0.3s ease;
}

.wizard-next:hover i {
    transform: translateX(4px);
}

.wizard-prev:hover i {
    transform: translateX(-4px);
}

.full-width {
    width: 100%;
}

/* --- Custom Toggles (Radio/Checkbox) --- */
.custom-toggles label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
    margin: 0;
}

.custom-toggles label:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.custom-toggles input[type="radio"],
.custom-toggles input[type="checkbox"] {
    display: none;
    /* Hide default */
}

.custom-radio-btn {
    width: 20px;
    height: 20px;
    border: 2px solid #cbd5e1;
    border-radius: 50%;
    position: relative;
    transition: all 0.2s ease;
}

.custom-radio-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 10px;
    height: 10px;
    background: #f52a77;
    border-radius: 50%;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-checkbox-btn {
    width: 22px;
    height: 22px;
    border: 2px solid #cbd5e1;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    background: #fff;
    color: transparent;
}

.custom-checkbox-btn i {
    font-size: 16px;
    transition: transform 0.2s ease;
    transform: scale(0);
}

/* Toggle Active States */
.custom-toggles input[type="radio"]:checked+.custom-radio-btn {
    border-color: #f52a77;
}

.custom-toggles input[type="radio"]:checked+.custom-radio-btn::after {
    transform: translate(-50%, -50%) scale(1);
}

.custom-toggles input[type="radio"]:checked~span,
.custom-toggles input:checked~label {
    /* text color */
    /* color: #f52a77; */
}

.custom-toggles label:has(input:checked) {
    border-color: #f52a77;
    background: rgba(245, 42, 119, 0.03);
}

.custom-toggles input[type="checkbox"]:checked+.custom-checkbox-btn {
    background: #f52a77;
    border-color: #f52a77;
    color: #fff;
}

.custom-toggles input[type="checkbox"]:checked+.custom-checkbox-btn i {
    transform: scale(1);
}

/* --- Modern Drag & Drop Zone --- */
.modern-file-upload-zone {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 32px 20px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

/* Profile picture preview inside dropzone */
.modern-file-upload-zone .upload-preview {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modern-file-upload-zone .upload-preview img {
    max-width: 70%;
    max-height: 70%;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.25);
}

.modern-file-upload-zone.has-preview .upload-content {
    opacity: 0;
    pointer-events: none;
}

.modern-file-upload-zone:hover,
.modern-file-upload-zone.dragover {
    background: #f0fdf4;
    border-color: #10b981;
}

.modern-file-upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    z-index: 2;
}

.upload-content {
    pointer-events: none;
    /* Let clicks pass to input */
}

.display-icon {
    font-size: 42px;
    color: #94a3b8;
    margin-bottom: 12px;
    display: block;
    transition: all 0.3s ease;
}

.modern-file-upload-zone:hover .display-icon,
.modern-file-upload-zone.dragover .display-icon {
    color: #10b981;
    transform: translateY(-5px);
}

.upload-title {
    font-weight: 600;
    color: #334155;
    margin: 0 0 4px 0;
    font-size: 15px;
}

.upload-subtitle {
    color: #64748b;
    font-size: 13px;
    margin: 0;
}

.file-feedback {
    margin-top: 10px;
    font-size: 13px;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.file-feedback::before {
    content: '\F26B';
    /* bi-check-circle */
    font-family: bootstrap-icons !important;
}