/* Seller application full-screen experience */

body.seller-application-modal-open {
    overflow: hidden;
}

.seller-application-launcher {
    display: grid;
    gap: 0.85rem;
    padding: 1rem;
    border: 1px solid #e5ddd6;
    border-radius: 18px;
    background:
        linear-gradient(
            145deg,
            #ffffff 0%,
            #faf7f3 100%
        );
    box-shadow:
        0 12px 28px
        rgba(68, 51, 39, 0.07);
}

.seller-application-launcher-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.seller-application-launcher-eyebrow {
    margin: 0 0 0.25rem;
    color: #9a7256;
    font-size: 0.67rem;
    font-weight: 800;
}

.seller-application-launcher h2 {
    margin: 0;
    color: #382b23;
    font-size: 1rem;
    font-weight: 900;
}

.seller-application-launcher-description {
    margin: 0;
    color: #76675d;
    font-size: 0.73rem;
    line-height: 1.85;
}

.seller-application-launcher-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: #fff2db;
    color: #84591f;
    font-size: 0.67rem;
    font-weight: 900;
    white-space: nowrap;
}

.seller-application-launcher-badge.is-approved {
    background: #e9f7ee;
    color: #27633c;
}

.seller-application-launcher-badge.is-rejected {
    background: #fff0ee;
    color: #a13d32;
}

.seller-application-launcher-summary {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
}

.seller-application-launcher-summary article {
    min-width: 0;
    padding: 0.65rem;
    border: 1px solid #ede6df;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.82);
}

.seller-application-launcher-summary span {
    display: block;
    margin-bottom: 0.2rem;
    color: #918177;
    font-size: 0.61rem;
}

.seller-application-launcher-summary strong {
    display: block;
    overflow: hidden;
    color: #44362d;
    font-size: 0.7rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.seller-application-launcher-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 44px;
    padding: 0.65rem 0.85rem;
    border: 0;
    border-radius: 13px;
    background: #436a37;
    color: #fff;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 900;
    cursor: pointer;
}

.seller-application-launcher-button:hover {
    background: #365a2c;
}

.seller-application-experience-overlay {
    position: fixed;
    z-index: 20000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(24, 20, 17, 0.68);
    backdrop-filter: blur(5px);
}

.seller-application-experience-overlay[hidden] {
    display: none;
}

.seller-application-experience-dialog {
    direction: rtl;
    display: grid;
    grid-template-rows:
        auto minmax(0, 1fr);
    width:
        min(
            1180px,
            calc(100vw - 2rem)
        );
    height:
        min(
            920px,
            calc(100dvh - 2rem)
        );
    overflow: hidden;
    border: 1px solid rgba(107, 79, 57, 0.18);
    border-radius: 26px;
    background: #f7f4f1;
    box-shadow:
        0 34px 100px
        rgba(22, 17, 14, 0.38);
}

.seller-application-experience-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.9rem 1.15rem;
    border-bottom: 1px solid #e6ddd5;
    background: #fff;
}

.seller-application-experience-topbar-copy {
    min-width: 0;
}

.seller-application-experience-topbar p {
    margin: 0 0 0.18rem;
    color: #947157;
    font-size: 0.65rem;
    font-weight: 800;
}

.seller-application-experience-topbar h2 {
    margin: 0;
    color: #382c24;
    font-size: 1rem;
    font-weight: 900;
}

.seller-application-experience-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 auto;
    border: 0;
    border-radius: 50%;
    background: #f2efec;
    color: #52463e;
    font-family: inherit;
    font-size: 1.25rem;
    cursor: pointer;
}

.seller-application-experience-body {
    min-height: 0;
    padding: 1rem;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

.seller-v2-dialog-content {
    width: min(100%, 1050px);
    margin: 0 auto;
    padding: 0;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.seller-v2-dialog-content >
.seller-v2-heading {
    padding: 1rem 1.1rem;
    border: 1px solid #e5ddd6;
    border-radius: 18px;
    background: #fff;
}

.seller-application-experience-tabs {
    position: sticky;
    z-index: 20;
    top: -1rem;
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 0.45rem;
    margin: 0.8rem 0 1rem;
    padding: 0.45rem;
    border: 1px solid #e7ded6;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow:
        0 8px 20px
        rgba(57, 43, 33, 0.06);
    backdrop-filter: blur(8px);
}

.seller-application-experience-tab {
    min-height: 42px;
    padding: 0.55rem 0.75rem;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: #75665c;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 800;
    cursor: pointer;
}

.seller-application-experience-tab.is-active {
    background: #40372f;
    color: #fff;
}

.seller-application-experience-pane[hidden] {
    display: none;
}

.seller-application-experience-pane {
    display: grid;
    gap: 0.9rem;
}

.seller-application-wizard {
    display: grid;
    gap: 0.85rem;
}

.seller-application-wizard-steps {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem 0 0.35rem;
    overflow-x: auto;
    scrollbar-width: thin;
}

.seller-application-wizard-step {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-width: max-content;
    min-height: 38px;
    padding: 0.45rem 0.7rem;
    border: 1px solid #e2d9d1;
    border-radius: 999px;
    background: #fff;
    color: #77675d;
    font-family: inherit;
    font-size: 0.68rem;
    font-weight: 800;
    cursor: pointer;
}

.seller-application-wizard-step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #eee8e3;
    color: #68584d;
    font-size: 0.65rem;
}

.seller-application-wizard-step.is-active {
    border-color: #537446;
    background: #edf5e9;
    color: #31572a;
}

.seller-application-wizard-step.is-active span {
    background: #4e713f;
    color: #fff;
}

.seller-application-wizard-step.is-complete {
    border-color: #bad1b1;
    color: #35612d;
}

.seller-application-wizard-step.is-complete span {
    background: #dcebd6;
    color: #315d29;
}

.seller-application-form >
.seller-v2-section[hidden] {
    display: none !important;
}

.seller-application-form >
.seller-v2-section {
    min-height: 360px;
    padding: 1.1rem;
    border: 1px solid #e4dbd3;
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 10px 30px
        rgba(63, 47, 36, 0.045);
}

.seller-application-wizard-actions {
    position: sticky;
    z-index: 15;
    bottom: -1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-top: 0.8rem;
    padding: 0.85rem;
    border: 1px solid #e4dbd3;
    border-radius: 17px 17px 0 0;
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 -10px 24px
        rgba(52, 39, 30, 0.07);
    backdrop-filter: blur(8px);
}

.seller-application-wizard-actions-group {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.seller-application-wizard-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.6rem 0.95rem;
    border: 0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 0.74rem;
    font-weight: 900;
    cursor: pointer;
}

.seller-application-wizard-button:disabled {
    cursor: not-allowed;
    opacity: 0.45;
}

.seller-application-wizard-button.is-secondary {
    background: #eeeae6;
    color: #51463f;
}

.seller-application-wizard-button.is-primary {
    background: #4a6f3d;
    color: #fff;
}

.seller-application-wizard-button.is-submit {
    background: #315f42;
    color: #fff;
}

.seller-v2-original-submit {
    display: none !important;
}

.seller-application-step-counter {
    color: #817166;
    font-size: 0.7rem;
    font-weight: 700;
}

.seller-application-experience-pane
.seller-v2-notifications,
.seller-application-experience-pane
.seller-v2-sms-settings {
    margin: 0;
    padding: 1.1rem;
    border-radius: 19px;
    box-shadow:
        0 10px 30px
        rgba(63, 47, 36, 0.045);
}

.seller-v2-progress {
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
}

@media (max-width: 760px) {
    .seller-application-experience-overlay {
        padding: 0;
    }

    .seller-application-experience-dialog {
        width: 100vw;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .seller-application-experience-body {
        padding: 0.75rem;
    }

    .seller-application-experience-tabs {
        top: -0.75rem;
    }

    .seller-application-experience-tab {
        padding-inline: 0.35rem;
        font-size: 0.66rem;
    }

    .seller-application-launcher-summary {
        grid-template-columns: 1fr;
    }

    .seller-v2-progress {
        grid-template-columns: 1fr;
    }

    .seller-application-form >
    .seller-v2-section {
        min-height: auto;
        padding: 0.85rem;
    }

    .seller-application-wizard-actions {
        bottom: -0.75rem;
        flex-direction: column;
        align-items: stretch;
    }

    .seller-application-wizard-actions-group {
        display: grid;
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .seller-application-wizard-button {
        width: 100%;
    }

    .seller-application-step-counter {
        text-align: center;
    }
}
