.container--seller {
    max-width: 712px;
    margin: 0 auto;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}
.title--seller {
    font-weight: 500;
    font-size: 18px;
    color: #5d6370;
    margin-bottom: 0px;
}
.btn--seller-save {
    border: 1px solid #dcdae2;
    font-weight: 500;
    font-size: 14px;
    color: #2f2b43;
}

/* stepper */
.seller-stepper {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-top: 28px;
    padding-bottom: 32px;
}
.seller-stepper-step {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.seller-stepper-line {
    flex: 1 1 auto;
    height: 1px;
    background-color: #dcdae2;
    margin: 0 16px;
}
.seller-stepper-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #e9ebef;
    color: #8b8fa3;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
}
.seller-stepper-label {
    font-weight: 500;
    font-size: 16px;
    color: #8b8fa3;
}
.seller-stepper-step.active .seller-stepper-circle {
    background-color: #0368a0;
    color: #ffffff;
}
.seller-stepper-step.active .seller-stepper-label {
    color: #0368a0;
    font-weight: 700;
}
.seller-stepper-step.completed .seller-stepper-circle {
    background-color: #d7ecfb;
    color: #0368a0;
    font-size: 12px;
}
.seller-stepper-step.completed .seller-stepper-label {
    color: #2f2b43;
    font-weight: 500;
}

/* step content (common for all three steps) */
.seller-step-content {
    padding-bottom: 28px;
}
.seller-step-title {
    font-weight: 600;
    font-size: 30px;
    color: #2f2b43;
    margin-bottom: 7px;
}
.seller-step-para {
    font-weight: 400;
    font-size: 14px;
    color: #5d6370;
    margin-bottom: 12px;
}
.seller-step-subpara {
    font-weight: 400;
    font-size: 12.5px;
    color: #5d6370;
    margin-bottom: 0px;
}
.seller-step-draft {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 400;
    font-size: 12.5px;
    color: #5d6370;
    margin-top: 12px;
    margin-bottom: 0px;
}

/* form card */
.seller-card {
    padding: 32px;
    border: 1px solid #dcdae2;
    background-color: #ffffff;
    box-shadow: 0px 1px 2px 0px #2f2b430a;
    border-radius: 12px;
    margin-bottom: 28px;
}
.seller-field-group {
    margin-bottom: 24px;
}
.seller-field-label {
    display: block;
    font-weight: 500;
    font-size: 13px;
    color: #2f2b43;
    margin-bottom: 6px;
}
.seller-field-required {
    color: #f5a623;
}
.seller-field-optional {
    font-weight: 400;
    color: #8b8fa3;
}
.seller-field-input {
    display: block;
    width: 100%;
    border: 1px solid #dcdae2;
    background-color: #f6f6f8;
    font-weight: 400;
    font-size: 14px;
    border-radius: 8px;
    padding: 12px 14px;
    color: #2f2b43;
}
.seller-field-input::placeholder {
    color: #a9adb7;
}
.seller-field-input:focus {
    outline: none;
    border-color: #0368a0;
    background-color: #ffffff;
}
.seller-field-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%235D6370' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}
.seller-field-helper {
    font-weight: 400;
    font-size: 12.5px;
    color: #8b8fa3;
    margin: 6px 0 0 0;
}

/* field validation */
.seller-field-error {
    display: none;
    font-weight: 400;
    font-size: 12.5px;
    color: #dc2626;
    margin: 6px 0 0 0;
}
.seller-field-group.has-error .seller-field-error {
    display: block;
}
.seller-field-group.has-error .seller-field-input {
    border-color: #dc2626;
}

/* phone code + number row */
.seller-phone-row {
    display: flex;
    gap: 10px;
}
.seller-phone-code {
    max-width: 97px;
    flex-shrink: 0;
}
.seller-phone-number {
    flex: 1 1 auto;
}

/* vehicle type tags */
.seller-tag-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.seller-tag {
    border: 1px solid #dcdae2;
    background-color: #f6f6f8;
    border-radius: 8px;
    padding: 12px 14px;
    font-size: 14px;
    font-weight: 500;
    color: #2f2b43;
    text-align: left;
}
.seller-tag.active {
    border-color: #0368a0;
    background-color: #eaf4fb;
    color: #0368a0;
}
@media (max-width: 575.98px) {
    .seller-tag-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* document upload */
.seller-upload-dropzone {
    border: 1.5px dashed #dcdae2;
    border-radius: 10px;
    background-color: #f6f6f8;
    padding: 32px 16px;
    text-align: center;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease;
}
.seller-upload-dropzone.dragover {
    border-color: #0368a0;
    background-color: #eaf4fb;
}
.seller-field-group.has-error .seller-upload-dropzone {
    border-color: #dc2626;
}
.seller-upload-icon {
    margin-bottom: 12px;
}
.seller-upload-text {
    font-weight: 500;
    font-size: 14px;
    color: #2f2b43;
    margin-bottom: 4px;
}
.seller-upload-or {
    font-weight: 400;
    font-size: 13px;
    color: #8b8fa3;
    margin-bottom: 8px;
}
.seller-upload-browse {
    background: none;
    border: none;
    padding: 0;
    font-weight: 600;
    font-size: 13px;
    color: #0368a0;
    text-decoration: underline;
    cursor: pointer;
}
.seller-upload-caption {
    font-weight: 600;
    font-size: 11px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #a9adb7;
    margin: 0;
}
.seller-upload-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #b7e4c7;
    background-color: #f0faf4;
    border-radius: 10px;
    padding: 14px 16px;
}
.seller-upload-preview-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background-color: #ffffff;
    color: #16a34a;
    font-size: 16px;
    flex-shrink: 0;
}
.seller-upload-preview-info {
    flex: 1 1 auto;
    min-width: 0;
}
.seller-upload-preview-name {
    font-weight: 600;
    font-size: 14px;
    color: #2f2b43;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.seller-upload-preview-meta {
    font-weight: 400;
    font-size: 12.5px;
    color: #16a34a;
    margin-top: 2px;
}
.seller-upload-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    padding: 0;
    font-weight: 500;
    font-size: 13px;
    color: #dc2626;
    flex-shrink: 0;
}

/* divider */
.seller-card-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 24px 0;
}

/* agreement checkbox */
.seller-checkbox-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.seller-checkbox-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: #0368a0;
    flex-shrink: 0;
}
.seller-field-group.has-error .seller-checkbox-input {
    border-color: #dc2626;
}
.seller-checkbox-label {
    font-weight: 400;
    font-size: 14px;
    color: #2f2b43;
    margin-bottom: 0;
}
.seller-inline-link {
    color: #0368a0;
    text-decoration: underline;
}

/* step transition */
.seller-step-section.seller-step-animate-in {
    animation: sellerStepFadeIn 0.35s ease;
}
@keyframes sellerStepFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* step nav (bottom bar) */
.seller-step-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    padding-bottom: 32px;
}
.seller-step-nav-info {
    font-weight: 400;
    font-size: 14px;
    color: #5d6370;
}
.seller-step-nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.seller-step-nav-note {
    text-align: right;
    font-weight: 400;
    font-size: 12.5px;
    color: #8b8fa3;
    margin: 4px 0 0 0;
}
.seller-btn-continue,
.seller-btn-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 999px;
    border: none;
}
.seller-btn-continue {
    background-color: #0368a0;
    color: #ffffff;
    line-height: 16px;
    margin: 0px;
}
.seller-btn-back {
    background-color: #ffffff;
    color: #2f2b43;
    border: 1px solid #dcdae2;
    line-height: 16px;
    margin: 0px;
}

/* application submitted */
.seller-success-page {
    display: flex;
    align-items: center;
    justify-content: center;
}
.seller-success-card {
    width: 100%;
    max-width: 480px;
    background-color: #ffffff;
    border: 1px solid #dcdae2;
    border-radius: 16px;
    box-shadow: 0px 1px 2px 0px #2f2b430a;
    padding: 32px;
}
.seller-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #16a34a;
    color: #16a34a;
    font-size: 16px;
    margin-bottom: 20px;
}
.seller-success-title {
    font-weight: 600;
    font-size: 26px;
    color: #2f2b43;
    margin-bottom: 12px;
}
.seller-success-text {
    font-weight: 400;
    font-size: 14px;
    color: #2f2b43;
    margin-bottom: 4px;
}
.seller-success-subtext {
    font-weight: 400;
    font-size: 14px;
    color: #5d6370;
    margin-bottom: 20px;
}
.seller-success-info {
    background-color: #f6f6f8;
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 24px;
}
.seller-success-info-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e5e7eb;
}
.seller-success-info-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}
.seller-success-info-row:first-child {
    padding-top: 0;
}
.seller-success-info-label {
    font-weight: 400;
    font-size: 14px;
    color: #5d6370;
}
.seller-success-info-value {
    font-weight: 700;
    font-size: 14px;
    color: #2f2b43;
}
.seller-success-badge {
    display: inline-flex;
    align-items: center;
    background-color: #fef3c7;
    color: #92400e;
    font-weight: 600;
    font-size: 12.5px;
    padding: 4px 12px;
    border-radius: 999px;
}
.seller-success-badge.approved {
    background-color: #d1fae5;
    color: #065f46;
}
.seller-success-badge.rejected {
    background-color: #fee2e2;
    color: #991b1b;
}

/* save & continue later modal */
.seller-modal-content {
    border: none;
    border-radius: 16px;
    padding: 32px;
}
.seller-modal-content .modal-body {
    padding: 0;
}
.seller-modal-title {
    font-weight: 600;
    font-size: 18px;
    color: #2f2b43;
    margin-bottom: 8px;
}
.seller-modal-text {
    font-weight: 400;
    font-size: 14px;
    color: #5d6370;
    margin-bottom: 20px;
}
.seller-modal-content .modal-footer {
    padding: 24px 0 0 0;
    margin: 0;
    border-top: none;
    gap: 12px;
}

/* responsive */
@media (max-width: 767.98px) {
    .seller-step-title {
        font-size: 24px;
    }
    .seller-card {
        padding: 20px;
    }
    .seller-success-card {
        padding: 24px;
    }
}

@media (max-width: 575.98px) {
    .btn--seller-save {
        width: 100%;
    }

    .seller-step-content {
        padding-bottom: 20px;
    }
    .seller-step-title {
        font-size: 22px;
    }
    .seller-card {
        padding: 16px;
    }

    .seller-stepper-line {
        margin: 0 8px;
    }
    .seller-stepper-circle {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    .seller-stepper-step.completed .seller-stepper-circle {
        font-size: 10px;
    }
    .seller-stepper-label {
        font-size: 13px;
    }
    .seller-stepper-step:not(.active) .seller-stepper-label {
        display: none;
    }

    .seller-phone-row {
        flex-wrap: wrap;
    }
    .seller-phone-code {
        max-width: 100%;
        flex: 1 1 100%;
    }
    .seller-phone-number {
        flex: 1 1 100%;
    }

    .seller-upload-dropzone {
        padding: 24px 12px;
    }

    .seller-step-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .seller-step-nav-info {
        text-align: center;
    }
    .seller-step-nav-actions {
        justify-content: center;
    }
    .seller-step-nav-actions .seller-btn-back,
    .seller-step-nav-actions .seller-btn-continue {
        flex: 1 1 0;
        justify-content: center;
    }
    .seller-step-nav-note {
        text-align: center;
    }

    .seller-modal-content {
        padding: 20px;
    }

    .seller-success-page {
        padding: 16px;
    }
    .seller-success-card {
        padding: 20px;
    }
    .seller-success-title {
        font-size: 22px;
    }
}
