/* =========================================================
   AFFLEADHUB — PARTNER APPLICATION PAGE
   Premium Dark / Glass / Lime UI
========================================================= */


/* =========================================================
   01. ROOT VARIABLES
========================================================= */

:root {

    --app-bg: #050505;
    --app-bg-secondary: #090909;

    --app-card: rgba(18, 18, 18, 0.78);
    --app-card-solid: #111111;

    --app-border: rgba(255, 255, 255, 0.09);
    --app-border-hover: rgba(255, 255, 255, 0.18);

    --app-text: #f5f5f5;
    --app-text-secondary: #a5a5a5;
    --app-text-muted: #6f6f6f;

    --app-accent: #b7ff00;
    --app-accent-dark: #8dbf00;

    --app-accent-soft: rgba(183, 255, 0, 0.08);
    --app-accent-border: rgba(183, 255, 0, 0.25);

    --app-danger: #ff5757;

    --app-radius-large: 28px;
    --app-radius-medium: 16px;
    --app-radius-small: 10px;

    --app-transition:
        0.3s cubic-bezier(0.22, 1, 0.36, 1);

}


/* =========================================================
   02. RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    width: 100%;
    min-height: 100vh;

    background: var(--app-bg);

    color: var(--app-text);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;

    overflow-x: hidden;

}


button,
input,
textarea,
select {
    font: inherit;
}


button {
    border: 0;
}


a {
    color: inherit;
    text-decoration: none;
}


img {
    display: block;
    max-width: 100%;
}


/* =========================================================
   03. MAIN PAGE
========================================================= */

.partner-application-page {

    position: relative;

    min-height: 100vh;

    width: 100%;

    background:

        radial-gradient(
            circle at 50% -10%,
            rgba(183, 255, 0, 0.07),
            transparent 35%
        ),

        radial-gradient(
            circle at 0% 50%,
            rgba(183, 255, 0, 0.025),
            transparent 30%
        ),

        var(--app-bg);

    isolation: isolate;

}


/* =========================================================
   04. BACKGROUND
========================================================= */

.application-background {

    position: fixed;

    inset: 0;

    z-index: -1;

    pointer-events: none;

    overflow: hidden;

}


.application-grid {

    position: absolute;

    inset: 0;

    opacity: 0.25;

    background-image:

        linear-gradient(
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(255,255,255,0.025) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to bottom,
            black,
            transparent 80%
        );

}


.application-glow {

    position: absolute;

    width: 650px;
    height: 650px;

    border-radius: 50%;

    filter: blur(120px);

    opacity: 0.06;

    animation: applicationGlow 12s ease-in-out infinite alternate;

}


.application-glow-one {

    top: -300px;
    left: -250px;

    background: var(--app-accent);

}


.application-glow-two {

    right: -300px;
    top: 35%;

    background: #8dff00;

    animation-delay: -5s;

}


@keyframes applicationGlow {

    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }

    100% {
        transform: translate3d(80px, 60px, 0) scale(1.12);
    }

}


/* =========================================================
   05. MAIN WRAPPER
========================================================= */

.application-wrapper {

    position: relative;

    width: min(1180px, calc(100% - 40px));

    margin: 0 auto;

    padding: 45px 0 80px;

}


/* =========================================================
   06. HEADER
========================================================= */

.application-header {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;

    padding: 30px 0 70px;

}


.application-logo {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    width: 190px;

    margin-bottom: 45px;

    transition:
        transform var(--app-transition),
        opacity var(--app-transition);

}


.application-logo:hover {

    transform: translateY(-3px);

    opacity: 0.85;

}


.application-logo img {

    width: 100%;

    height: auto;

    object-fit: contain;

}


.application-header-content {

    max-width: 850px;

}


.application-eyebrow {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    padding: 8px 14px;

    border: 1px solid var(--app-accent-border);

    border-radius: 100px;

    background: var(--app-accent-soft);

    color: var(--app-accent);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.18em;

}


.application-header h1 {

    margin-bottom: 22px;

    color: #ffffff;

    font-size: clamp(42px, 6vw, 76px);

    font-weight: 700;

    line-height: 0.98;

    letter-spacing: -0.055em;

}


.application-header h1 span {

    display: block;

    color: var(--app-accent);

}


.application-header-content > p {

    max-width: 670px;

    margin: 0 auto;

    color: var(--app-text-secondary);

    font-size: 17px;

    line-height: 1.75;

}


/* =========================================================
   07. APPLICATION TYPE SECTION
========================================================= */

.application-type-section {

    margin-bottom: 55px;

}


.application-type-heading {

    margin-bottom: 25px;

}


.application-type-heading > span {

    display: block;

    margin-bottom: 10px;

    color: var(--app-accent);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: 0.16em;

}


.application-type-heading h2 {

    margin-bottom: 7px;

    font-size: 27px;

    font-weight: 600;

    letter-spacing: -0.025em;

}


.application-type-heading p {

    color: var(--app-text-secondary);

    font-size: 14px;

}


/* =========================================================
   08. TYPE SELECTOR
========================================================= */

.application-type-selector {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 14px;

}


.application-type-card {

    position: relative;

    display: block;

    cursor: pointer;

}


.application-type-card input {

    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;

}


.application-type-card-inner {

    position: relative;

    display: flex;

    align-items: center;

    gap: 16px;

    min-height: 112px;

    padding: 22px;

    border: 1px solid var(--app-border);

    border-radius: var(--app-radius-medium);

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );

    backdrop-filter: blur(18px);

    transition:
        border-color var(--app-transition),
        background var(--app-transition),
        transform var(--app-transition),
        box-shadow var(--app-transition);

}


.application-type-card:hover
.application-type-card-inner {

    border-color: var(--app-border-hover);

    transform: translateY(-3px);

}


.application-type-card input:checked
+ .application-type-card-inner {

    border-color: var(--app-accent);

    background:
        linear-gradient(
            145deg,
            rgba(183,255,0,0.10),
            rgba(183,255,0,0.025)
        );

    box-shadow:
        0 0 0 1px rgba(183,255,0,0.08),
        0 15px 50px rgba(183,255,0,0.05);

}


.application-type-icon {

    flex: 0 0 48px;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--app-border);

    border-radius: 14px;

    background: rgba(255,255,255,0.035);

    color: var(--app-text-secondary);

    font-size: 23px;

    transition: var(--app-transition);

}


.application-type-card input:checked
+ .application-type-card-inner
.application-type-icon {

    border-color: var(--app-accent-border);

    background: var(--app-accent-soft);

    color: var(--app-accent);

}


.application-type-content {

    min-width: 0;

    flex: 1;

}


.application-type-content strong {

    display: block;

    margin-bottom: 6px;

    color: #ffffff;

    font-size: 15px;

    font-weight: 600;

}


.application-type-content small {

    display: block;

    color: var(--app-text-muted);

    font-size: 12px;

    line-height: 1.5;

}


.application-type-check {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 23px;
    height: 23px;

    border: 1px solid rgba(255,255,255,0.12);

    border-radius: 50%;

    color: transparent;

    font-size: 12px;

    transition: var(--app-transition);

}


.application-type-card input:checked
+ .application-type-card-inner
.application-type-check {

    border-color: var(--app-accent);

    background: var(--app-accent);

    color: #000000;

}


/* =========================================================
   09. FORM SECTION
========================================================= */

.application-form-section {

    position: relative;

    margin-bottom: 50px;

    padding: 48px;

    border: 1px solid var(--app-border);

    border-radius: var(--app-radius-large);

    background:

        linear-gradient(
            145deg,
            rgba(255,255,255,0.045),
            rgba(255,255,255,0.015)
        );

    box-shadow:
        0 30px 100px rgba(0,0,0,0.35);

    backdrop-filter: blur(25px);

    animation: formAppear 0.45s ease both;

}


.application-form-section[hidden] {

    display: none;

}


@keyframes formAppear {

    from {

        opacity: 0;

        transform:
            translateY(15px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }

}


/* =========================================================
   10. FORM SECTION HEADING
========================================================= */

.form-section-heading {

    padding-bottom: 38px;

    margin-bottom: 40px;

    border-bottom: 1px solid var(--app-border);

}


.form-step {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 15px;

    padding: 7px 11px;

    border-radius: 7px;

    background: var(--app-accent-soft);

    color: var(--app-accent);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.15em;

}


.form-section-heading h2 {

    margin-bottom: 12px;

    color: #ffffff;

    font-size: clamp(28px, 4vw, 42px);

    font-weight: 600;

    letter-spacing: -0.04em;

}


.form-section-heading p {

    max-width: 650px;

    color: var(--app-text-secondary);

    font-size: 14px;

    line-height: 1.7;

}


/* =========================================================
   11. FORM BLOCK
========================================================= */

.form-block {

    padding: 35px 0;

    border-bottom: 1px solid var(--app-border);

}


.form-block:first-of-type {

    padding-top: 0;

}


.form-block:last-of-type {

    border-bottom: 0;

}


.form-block-heading {

    display: flex;

    align-items: flex-start;

    gap: 17px;

    margin-bottom: 28px;

}


.form-block-number {

    flex: 0 0 auto;

    display: flex;

    align-items: center;

    justify-content: center;

    width: 36px;
    height: 36px;

    border: 1px solid var(--app-accent-border);

    border-radius: 10px;

    background: var(--app-accent-soft);

    color: var(--app-accent);

    font-size: 11px;

    font-weight: 700;

}


.form-block-heading h3 {

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 17px;

    font-weight: 600;

}


.form-block-heading p {

    color: var(--app-text-muted);

    font-size: 12px;

    line-height: 1.5;

}


/* =========================================================
   12. FORM GRID
========================================================= */

.form-grid {

    display: grid;

    grid-template-columns: repeat(2, minmax(0, 1fr));

    gap: 22px 20px;

}


.form-field {

    min-width: 0;

}


.form-field-full {

    grid-column: 1 / -1;

}


/* =========================================================
   13. LABELS
========================================================= */

.form-field label {

    display: block;

    margin-bottom: 9px;

    color: #d6d6d6;

    font-size: 12px;

    font-weight: 600;

}


.form-field label span {

    margin-left: 2px;

    color: var(--app-accent);

}


/* =========================================================
   14. INPUTS
========================================================= */

.form-field input,
.form-field textarea,
.form-field select {

    width: 100%;

    border: 1px solid rgba(255,255,255,0.09);

    border-radius: 11px;

    outline: none;

    background:
        rgba(0,0,0,0.28);

    color: #ffffff;

    transition:
        border-color var(--app-transition),
        background var(--app-transition),
        box-shadow var(--app-transition);

}


.form-field input,
.form-field select {

    height: 54px;

    padding: 0 16px;

}


.form-field textarea {

    min-height: 130px;

    padding: 16px;

    resize: vertical;

    line-height: 1.6;

}


.form-field input::placeholder,
.form-field textarea::placeholder {

    color: #555555;

}


.form-field select {

    cursor: pointer;

    appearance: none;

    background-image:

        linear-gradient(45deg, transparent 50%, #777 50%),
        linear-gradient(135deg, #777 50%, transparent 50%);

    background-position:

        calc(100% - 19px) 23px,
        calc(100% - 14px) 23px;

    background-size:
        5px 5px,
        5px 5px;

    background-repeat: no-repeat;

}


.form-field select option {

    background: #111111;

    color: #ffffff;

}


/* =========================================================
   15. INPUT FOCUS
========================================================= */

.form-field input:hover,
.form-field textarea:hover,
.form-field select:hover {

    border-color: rgba(255,255,255,0.18);

}


.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {

    border-color: var(--app-accent);

    background:
        rgba(183,255,0,0.025);

    box-shadow:
        0 0 0 3px rgba(183,255,0,0.07);

}


/* =========================================================
   16. VALIDATION
========================================================= */

.form-field input:required:invalid:not(:placeholder-shown),
.form-field textarea:required:invalid:not(:placeholder-shown),
.form-field select:required:invalid {

    border-color:
        rgba(255,87,87,0.5);

}


.form-field input:required:valid,
.form-field textarea:required:valid,
.form-field select:required:valid {

    border-color:
        rgba(183,255,0,0.18);

}


/* =========================================================
   17. RADIO GROUP
========================================================= */

.radio-group {

    display: flex;

    flex-wrap: wrap;

    gap: 12px;

}


.radio-option {

    position: relative;

    display: flex;

    align-items: center;

    gap: 10px;

    min-width: 130px;

    padding: 13px 17px;

    border: 1px solid var(--app-border);

    border-radius: 10px;

    background: rgba(255,255,255,0.02);

    cursor: pointer;

    transition: var(--app-transition);

}


.radio-option:hover {

    border-color: var(--app-border-hover);

}


.radio-option input {

    appearance: none;

    width: 17px;
    height: 17px;

    padding: 0;

    border: 1px solid #555;

    border-radius: 50%;

    background: transparent;

    cursor: pointer;

}


.radio-option input:checked {

    border-color: var(--app-accent);

    background:

        radial-gradient(
            circle,
            var(--app-accent) 0 4px,
            transparent 5px
        );

}


.radio-option span {

    color: var(--app-text-secondary);

    font-size: 13px;

}


/* =========================================================
   18. CONSENT
========================================================= */

.application-consent {

    display: flex;

    align-items: flex-start;

    gap: 13px;

    margin-top: 35px;

    padding: 18px;

    border: 1px solid var(--app-border);

    border-radius: 12px;

    background: rgba(255,255,255,0.018);

    cursor: pointer;

}


.application-consent input {

    flex: 0 0 auto;

    appearance: none;

    width: 19px;
    height: 19px;

    margin-top: 1px;

    border: 1px solid #555;

    border-radius: 5px;

    background: #080808;

    cursor: pointer;

    transition: var(--app-transition);

}


.application-consent input:checked {

    border-color: var(--app-accent);

    background: var(--app-accent);

}


.application-consent input:checked::after {

    content: "✓";

    display: flex;

    align-items: center;

    justify-content: center;

    width: 100%;
    height: 100%;

    color: #000000;

    font-size: 12px;

    font-weight: 900;

}


.application-consent span {

    color: var(--app-text-muted);

    font-size: 12px;

    line-height: 1.65;

}


/* =========================================================
   19. SUBMIT BUTTON
========================================================= */

.application-submit-button {

    position: relative;

    display: flex;

    align-items: center;

    justify-content: space-between;

    width: 100%;

    min-height: 70px;

    margin-top: 20px;

    padding: 8px 9px 8px 25px;

    border-radius: 100px;

    background: var(--app-accent);

    color: #050505;

    cursor: pointer;

    overflow: hidden;

    font-size: 14px;

    font-weight: 700;

    transition:
        transform var(--app-transition),
        box-shadow var(--app-transition),
        background var(--app-transition);

}


.application-submit-button::before {

    content: "";

    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            110deg,
            transparent 25%,
            rgba(255,255,255,0.35),
            transparent 75%
        );

    transform: translateX(-120%);

    transition:
        transform 0.7s ease;

}


.application-submit-button:hover::before {

    transform: translateX(120%);

}


.application-submit-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 15px 45px rgba(183,255,0,0.16);

}


.application-submit-button:active {

    transform: translateY(0);

}


.application-submit-button span {

    position: relative;

    z-index: 1;

}


.application-submit-button strong {

    position: relative;

    z-index: 1;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 54px;
    height: 54px;

    border-radius: 50%;

    background: #050505;

    color: var(--app-accent);

    font-size: 21px;

    transition:
        transform var(--app-transition);

}


.application-submit-button:hover strong {

    transform: translateX(3px);

}


/* =========================================================
   20. FORM NOTE
========================================================= */

.application-form-note {

    margin-top: 14px;

    text-align: center;

    color: #555555;

    font-size: 11px;

    line-height: 1.6;

}


/* =========================================================
   21. BOTTOM TRUST MESSAGE
========================================================= */

.application-footer-note {

    display: flex;

    align-items: center;

    justify-content: center;

    gap: 15px;

    max-width: 650px;

    margin: 20px auto 0;

    padding: 22px;

    border-top: 1px solid var(--app-border);

    text-align: left;

}


.trust-icon {

    flex: 0 0 auto;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 35px;
    height: 35px;

    border-radius: 50%;

    background: var(--app-accent-soft);

    color: var(--app-accent);

    font-size: 14px;

}


.application-footer-note strong {

    display: block;

    margin-bottom: 3px;

    color: #bdbdbd;

    font-size: 12px;

}


.application-footer-note p {

    color: #555555;

    font-size: 11px;

    line-height: 1.5;

}


/* =========================================================
   22. SCROLLBAR
========================================================= */

::-webkit-scrollbar {

    width: 7px;

}


::-webkit-scrollbar-track {

    background: #050505;

}


::-webkit-scrollbar-thumb {

    border-radius: 10px;

    background: #292929;

}


::-webkit-scrollbar-thumb:hover {

    background: #444444;

}


/* =========================================================
   23. SELECTION
========================================================= */

::selection {

    background: var(--app-accent);

    color: #000000;

}


/* =========================================================
   24. RESPONSIVE — TABLET
========================================================= */

@media (max-width: 900px) {

    .application-wrapper {

        width:
            min(
                100% - 30px,
                760px
            );

        padding-top: 30px;

    }


    .application-header {

        padding-bottom: 50px;

    }


    .application-type-selector {

        grid-template-columns: 1fr;

    }


    .application-type-card-inner {

        min-height: 95px;

    }


    .application-form-section {

        padding: 35px;

    }

}


/* =========================================================
   25. RESPONSIVE — MOBILE
========================================================= */

@media (max-width: 600px) {

    .application-wrapper {

        width: calc(100% - 24px);

        padding:
            18px 0
            50px;

    }


    .application-header {

        padding:
            20px 0
            40px;

    }


    .application-logo {

        width: 155px;

        margin-bottom: 35px;

    }


    .application-eyebrow {

        font-size: 9px;

        letter-spacing: 0.13em;

    }


    .application-header h1 {

        font-size: 43px;

        letter-spacing: -0.05em;

    }


    .application-header-content > p {

        font-size: 14px;

        line-height: 1.65;

    }


    .application-type-heading h2 {

        font-size: 23px;

    }


    .application-type-card-inner {

        padding: 17px;

    }


    .application-type-icon {

        width: 42px;
        height: 42px;

        flex-basis: 42px;

    }


    .application-type-content strong {

        font-size: 14px;

    }


    .application-type-content small {

        font-size: 11px;

    }


    .application-form-section {

        padding:
            27px 18px;

        border-radius: 20px;

    }


    .form-section-heading {

        padding-bottom: 30px;

        margin-bottom: 30px;

    }


    .form-section-heading h2 {

        font-size: 29px;

    }


    .form-section-heading p {

        font-size: 13px;

    }


    .form-grid {

        grid-template-columns: 1fr;

        gap: 19px;

    }


    .form-field-full {

        grid-column: auto;

    }


    .form-block {

        padding: 28px 0;

    }


    .form-block-heading {

        gap: 12px;

    }


    .form-block-number {

        width: 32px;
        height: 32px;

        border-radius: 8px;

        font-size: 10px;

    }


    .form-block-heading h3 {

        font-size: 15px;

    }


    .form-field input,
    .form-field select {

        height: 52px;

    }


    .form-field textarea {

        min-height: 120px;

    }


    .radio-group {

        flex-direction: column;

    }


    .radio-option {

        width: 100%;

    }


    .application-consent {

        padding: 15px;

    }


    .application-submit-button {

        min-height: 62px;

        padding-left: 20px;

        font-size: 12px;

    }


    .application-submit-button strong {

        width: 48px;
        height: 48px;

    }


    .application-footer-note {

        align-items: flex-start;

        margin-top: 5px;

        padding:
            20px 5px;

    }

}


/* =========================================================
   26. VERY SMALL MOBILE
========================================================= */

@media (max-width: 380px) {

    .application-header h1 {

        font-size: 37px;

    }


    .application-form-section {

        padding:
            24px 15px;

    }


    .application-type-card-inner {

        gap: 11px;

        padding: 14px;

    }


    .application-type-check {

        display: none;

    }


    .application-submit-button {

        font-size: 11px;

    }

}


/* =========================================================
   27. REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior: auto;

    }


    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;

    }

}


/* =========================================================
   FORM VALIDATION ERROR
========================================================= */

.application-field-error {

    border-color:
        rgba(255, 87, 87, 0.65) !important;

    box-shadow:
        0 0 0 3px rgba(255, 87, 87, 0.06) !important;

}

/* =========================================================
   APPLICATION SUCCESS MODAL
========================================================= */

.application-success-modal {

    position: fixed;

    inset: 0;

    z-index: 9999;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 24px;

    visibility: hidden;

    opacity: 0;

    pointer-events: none;

    transition:
        opacity 0.35s ease,
        visibility 0.35s ease;

}


.application-success-modal.is-visible {

    visibility: visible;

    opacity: 1;

    pointer-events: auto;

}


/* =========================================================
   BACKDROP
========================================================= */

.application-success-backdrop {

    position: absolute;

    inset: 0;

    background:
        rgba(0, 0, 0, 0.82);

    backdrop-filter:
        blur(16px);

}


/* =========================================================
   SUCCESS CARD
========================================================= */

.application-success-card {

    position: relative;

    width: min(540px, 100%);

    padding: 48px 42px 30px;

    border: 1px solid
        rgba(183, 255, 0, 0.16);

    border-radius: 28px;

    background:

        radial-gradient(
            circle at 50% 0%,
            rgba(183, 255, 0, 0.08),
            transparent 45%
        ),

        linear-gradient(
            145deg,
            rgba(25, 25, 25, 0.98),
            rgba(10, 10, 10, 0.98)
        );

    box-shadow:

        0 40px 120px
        rgba(0, 0, 0, 0.7),

        0 0 80px
        rgba(183, 255, 0, 0.04);

    transform:
        translateY(25px)
        scale(0.97);

    transition:
        transform 0.45s
        cubic-bezier(0.22, 1, 0.36, 1);

}


.application-success-modal.is-visible
.application-success-card {

    transform:
        translateY(0)
        scale(1);

}


/* =========================================================
   SUCCESS ICON
========================================================= */

.success-icon-wrapper {

    display: flex;

    justify-content: center;

    margin-bottom: 28px;

}


.success-icon {

    position: relative;

    display: flex;

    align-items: center;
    justify-content: center;

    width: 76px;
    height: 76px;

    border: 1px solid
        rgba(183, 255, 0, 0.3);

    border-radius: 50%;

    background:
        rgba(183, 255, 0, 0.08);

    box-shadow:
        0 0 0 10px
        rgba(183, 255, 0, 0.025),

        0 0 50px
        rgba(183, 255, 0, 0.08);

    animation:
        successIconAppear 0.6s
        cubic-bezier(0.22, 1, 0.36, 1);

}


.success-icon::before {

    content: "";

    position: absolute;

    inset: -9px;

    border: 1px solid
        rgba(183, 255, 0, 0.06);

    border-radius: 50%;

}


.success-icon span {

    color:
        var(--app-accent);

    font-size: 30px;

    font-weight: 700;

}


@keyframes successIconAppear {

    0% {

        opacity: 0;

        transform:
            scale(0.5)
            rotate(-15deg);

    }

    70% {

        transform:
            scale(1.08)
            rotate(2deg);

    }

    100% {

        opacity: 1;

        transform:
            scale(1)
            rotate(0);

    }

}


/* =========================================================
   MODAL CONTENT
========================================================= */

.success-modal-content {

    text-align: center;

}


.success-modal-eyebrow {

    display: inline-block;

    margin-bottom: 16px;

    color:
        var(--app-accent);

    font-size: 10px;

    font-weight: 700;

    letter-spacing: 0.18em;

}


.success-modal-content h2 {

    margin-bottom: 18px;

    color: #ffffff;

    font-size: clamp(32px, 5vw, 46px);

    font-weight: 600;

    line-height: 1.05;

    letter-spacing: -0.045em;

}


.success-modal-content h2 span {

    display: block;

    color:
        var(--app-accent);

}


.success-modal-content > p {

    max-width: 430px;

    margin: 0 auto;

    color:
        var(--app-text-secondary);

    font-size: 14px;

    line-height: 1.75;

}


.success-modal-content
.success-modal-subtext {

    margin-top: 12px;

    color:
        #666666;

    font-size: 12px;

}


/* =========================================================
   ACTIONS
========================================================= */

.success-modal-actions {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-top: 34px;

}


.success-back-button,
.success-trackier-button {

    display: flex;

    align-items: center;
    justify-content: center;

    min-height: 56px;

    padding: 0 18px;

    border-radius: 12px;

    font-size: 12px;

    font-weight: 700;

    transition:
        transform var(--app-transition),
        border-color var(--app-transition),
        background var(--app-transition),
        box-shadow var(--app-transition);

}


/* BACK */

.success-back-button {

    border: 1px solid
        rgba(255, 255, 255, 0.1);

    background:
        rgba(255, 255, 255, 0.025);

    color:
        #cfcfcf;

    gap: 8px;

}


.success-back-button:hover {

    border-color:
        rgba(255, 255, 255, 0.2);

    background:
        rgba(255, 255, 255, 0.05);

    transform:
        translateY(-2px);

}


/* TRACKIER */

.success-trackier-button {

    border: 1px solid
        var(--app-accent);

    background:
        var(--app-accent);

    color:
        #050505;

    gap: 10px;

}


.success-trackier-button span {

    font-size: 17px;

}


.success-trackier-button:hover {

    transform:
        translateY(-2px);

    box-shadow:
        0 12px 35px
        rgba(183, 255, 0, 0.14);

}


/* =========================================================
   MODAL FOOTER
========================================================= */

.success-modal-footer {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    margin-top: 25px;

    padding-top: 20px;

    border-top: 1px solid
        rgba(255, 255, 255, 0.06);

    color:
        #444444;

    font-size: 8px;

    font-weight: 700;

    letter-spacing: 0.14em;

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .application-success-modal {

        padding: 15px;

    }


    .application-success-card {

        padding:
            38px 22px 24px;

        border-radius: 22px;

    }


    .success-icon {

        width: 68px;
        height: 68px;

    }


    .success-icon span {

        font-size: 26px;

    }


    .success-modal-content h2 {

        font-size: 34px;

    }


    .success-modal-content > p {

        font-size: 13px;

    }


    .success-modal-actions {

        grid-template-columns: 1fr;

    }


    .success-back-button,
    .success-trackier-button {

        min-height: 54px;

    }

}

/* =========================================================
   SUCCESS MODAL CLOSE BUTTON
========================================================= */

.success-modal-close {

    position: absolute;

    top: 18px;
    right: 18px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 1px solid rgba(255, 255, 255, 0.10);

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.035);

    color: #888;

    font-family: inherit;

    font-size: 25px;

    font-weight: 300;

    line-height: 1;

    cursor: pointer;

    transition:
        color 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}


.success-modal-close:hover {

    color: #ffffff;

    background: rgba(183, 255, 0, 0.10);

    border-color: rgba(183, 255, 0, 0.35);

    transform: rotate(90deg);
}


.success-modal-close:focus-visible {

    outline: 2px solid var(--app-accent);

    outline-offset: 3px;
}


@media (max-width: 600px) {

    .success-modal-close {

        top: 14px;
        right: 14px;

        width: 34px;
        height: 34px;

        font-size: 22px;

    }

}