:root {
    --auth-primary: #c34738;
    --auth-primary-bright: #d65848;
    --auth-primary-dark: #8c271f;
    --auth-primary-deep: #671914;

    --auth-heading: #22252b;
    --auth-text: #616770;
    --auth-muted: #8b9097;

    --auth-white: #ffffff;
    --auth-page-background: #f8f7f6;
    --auth-border: #dedede;
    --auth-soft-border: #ebe8e6;

    --auth-error: #bd3d32;
    --auth-error-background: #fff5f3;

    --auth-transition: 200ms ease;
}


/* ==================================================
   RESET
================================================== */

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    margin: 0;
    overflow-x: hidden;

    font-family: "Inter", sans-serif;

    color: var(--auth-heading);
    background-color: var(--auth-page-background);

    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

button {
    border: 0;
}


/* ==================================================
   PAGE
================================================== */

.auth-page {
    position: relative;

    display: grid;

    min-height: 100vh;
    overflow: hidden;

    padding: 22px;

    place-items: center;

    background:
            radial-gradient(
                    circle at 8% 12%,
                    rgba(195, 71, 56, 0.055),
                    transparent 24%
            ),
            radial-gradient(
                    circle at 92% 88%,
                    rgba(195, 71, 56, 0.045),
                    transparent 25%
            ),
            var(--auth-page-background);
}

.auth-background-shape {
    position: absolute;

    border-radius: 50%;

    background-color: rgba(195, 71, 56, 0.025);

    pointer-events: none;
}

.auth-background-shape-one {
    top: -180px;
    left: -140px;

    width: 430px;
    height: 430px;
}

.auth-background-shape-two {
    right: -210px;
    bottom: -250px;

    width: 560px;
    height: 560px;
}


/* ==================================================
   SHELL
================================================== */

.auth-shell {
    position: relative;
    z-index: 2;

    display: grid;

    width: min(1080px, 100%);
    min-height: 610px;
    max-height: calc(100vh - 44px);
    overflow: hidden;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(390px, 0.92fr);

    border: 1px solid rgba(34, 37, 43, 0.065);
    border-radius: 22px;

    background-color: var(--auth-white);

    box-shadow:
            0 24px 65px rgba(47, 30, 26, 0.11);
}


/* ==================================================
   FORM PANEL
================================================== */

.auth-form-panel {
    display: flex;

    min-width: 0;
    overflow-y: auto;

    padding: 28px 54px 30px;

    flex-direction: column;

    background:
            radial-gradient(
                    circle at 94% 5%,
                    rgba(195, 71, 56, 0.025),
                    transparent 27%
            ),
            var(--auth-white);
}


/* ==================================================
   LOGO
================================================== */

.auth-logo-link {
    display: flex;

    width: 164px;
    height: 48px;

    align-items: center;

    margin-bottom: 27px;
}

.auth-logo {
    display: block;

    width: 164px;
    height: 55px;

    object-fit: contain;
    object-position: left center;
}


/* ==================================================
   FORM CONTENT
================================================== */

.auth-form-content {
    width: 100%;
    max-width: 445px;
}


/* ==================================================
   HEADING
================================================== */

.auth-heading {
    margin-bottom: 21px;
}

.auth-eyebrow {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--auth-primary);

    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.auth-heading h1 {
    margin: 0 0 8px;

    color: var(--auth-heading);

    font-size: clamp(29px, 2.55vw, 36px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
}

.auth-heading p {
    max-width: 390px;
    margin: 0;

    color: var(--auth-text);

    font-size: 12.5px;
    line-height: 1.65;
}


/* ==================================================
   ALERT
================================================== */

.auth-alert {
    display: none;

    margin-bottom: 14px;
    padding: 9px 11px;

    align-items: flex-start;
    gap: 8px;

    border: 1px solid rgba(189, 61, 50, 0.2);
    border-radius: 8px;

    color: var(--auth-error);
    background-color: var(--auth-error-background);

    font-size: 10px;
    line-height: 1.45;
}

.auth-alert.visible {
    display: flex;
}

.auth-alert i {
    flex: 0 0 auto;

    margin-top: 1px;

    font-size: 12px;
}


/* ==================================================
   FORM
================================================== */

.auth-form {
    display: grid;

    gap: 14px;
}

.auth-field {
    display: grid;

    gap: 6px;
}

.auth-label {
    color: var(--auth-heading);

    font-size: 10.5px;
    font-weight: 600;
}


/* ==================================================
   INPUTS
================================================== */

.auth-input-wrapper {
    position: relative;

    display: flex;

    align-items: center;
}

.auth-input-icon {
    position: absolute;
    left: 13px;
    z-index: 2;

    color: #8d9299;

    font-size: 13px;

    pointer-events: none;

    transition: color var(--auth-transition);
}

.auth-input {
    width: 100%;
    height: 43px;

    padding: 0 43px 0 37px;

    border: 1px solid var(--auth-border);
    border-radius: 8px;
    outline: none;

    color: var(--auth-heading);
    background-color: var(--auth-white);

    font-size: 11.5px;

    transition:
            border-color var(--auth-transition),
            box-shadow var(--auth-transition),
            background-color var(--auth-transition);
}

.auth-input::placeholder {
    color: #9da1a7;
}

.auth-input:hover {
    border-color: #c9c9c9;
}

.auth-input:focus {
    border-color: var(--auth-primary);

    box-shadow:
            0 0 0 3px rgba(195, 71, 56, 0.075);
}

.auth-input-wrapper:focus-within .auth-input-icon {
    color: var(--auth-primary);
}

.auth-field.has-error .auth-input {
    border-color: var(--auth-error);

    background-color: #fffdfd;

    box-shadow:
            0 0 0 3px rgba(189, 61, 50, 0.05);
}

.auth-field.has-error .auth-input-icon {
    color: var(--auth-error);
}


/* ==================================================
   PASSWORD TOGGLE
================================================== */

.password-toggle {
    position: absolute;
    right: 6px;
    z-index: 3;

    display: grid;

    width: 32px;
    height: 32px;

    padding: 0;

    place-items: center;

    border-radius: 6px;

    color: #676c73;
    background-color: transparent;

    font-size: 13px;

    cursor: pointer;

    transition:
            color var(--auth-transition),
            background-color var(--auth-transition);
}

.password-toggle:hover {
    color: var(--auth-primary);
    background-color: rgba(195, 71, 56, 0.055);
}

.password-toggle:focus-visible {
    outline: 2px solid rgba(195, 71, 56, 0.28);
}


/* ==================================================
   FIELD ERRORS
================================================== */

.auth-error-message {
    display: none;

    margin: 0;

    color: var(--auth-error);

    font-size: 9.5px;
    font-weight: 500;
    line-height: 1.4;
}

.auth-field.has-error .auth-error-message {
    display: block;
}

.auth-text-button {
    display: block;
    min-height: 44px;
    margin: 8px auto 0;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    color: var(--auth-primary);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.auth-text-button:hover,
.auth-text-button:focus-visible {
    text-decoration: underline;
}

.auth-change-email-form {
    margin-top: 12px;
}


/* ==================================================
   OPTIONS
================================================== */

.auth-options {
    display: flex;

    margin-top: 1px;

    align-items: center;
    justify-content: space-between;

    gap: 18px;
}

.auth-checkbox {
    position: relative;

    display: inline-flex;

    align-items: center;
    gap: 8px;

    color: #50555d;

    font-size: 10.5px;

    cursor: pointer;
}

.auth-checkbox input {
    position: absolute;

    width: 1px;
    height: 1px;

    opacity: 0;

    pointer-events: none;
}

.auth-checkbox-control {
    display: grid;

    width: 15px;
    height: 15px;

    place-items: center;

    border: 1px solid #b8bbc0;
    border-radius: 3px;

    color: var(--auth-white);
    background-color: var(--auth-white);

    font-size: 11px;

    transition:
            border-color var(--auth-transition),
            background-color var(--auth-transition),
            box-shadow var(--auth-transition);
}

.auth-checkbox-control i {
    opacity: 0;

    transform: scale(0.55);

    transition:
            opacity var(--auth-transition),
            transform var(--auth-transition);
}

.auth-checkbox input:checked + .auth-checkbox-control {
    border-color: var(--auth-primary);
    background-color: var(--auth-primary);
}

.auth-checkbox input:checked + .auth-checkbox-control i {
    opacity: 1;

    transform: scale(1);
}

.auth-forgot-link {
    color: var(--auth-primary);

    font-size: 10.5px;
    font-weight: 500;

    transition: color var(--auth-transition);
}

.auth-forgot-link:hover {
    color: var(--auth-primary-dark);
}


/* ==================================================
   PRIMARY BUTTON
================================================== */

.auth-primary-button {
    position: relative;

    display: flex;

    width: 100%;
    height: 44px;
    overflow: hidden;

    margin-top: 1px;
    padding: 0 20px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--auth-primary);
    border-radius: 8px;

    color: var(--auth-white);

    background:
            linear-gradient(
                    135deg,
                    var(--auth-primary-bright),
                    var(--auth-primary-dark)
            );

    box-shadow:
            0 11px 23px rgba(195, 71, 56, 0.18);

    font-size: 11.5px;
    font-weight: 600;

    cursor: pointer;

    transition:
            transform var(--auth-transition),
            box-shadow var(--auth-transition);
}

.auth-primary-button::before {
    position: absolute;
    top: 0;
    left: -120%;

    width: 55%;
    height: 100%;

    content: "";

    background:
            linear-gradient(
                    90deg,
                    transparent,
                    rgba(255, 255, 255, 0.21),
                    transparent
            );

    transform: skewX(-18deg);

    transition: left 520ms ease;
}

.auth-primary-button:hover {
    transform: translateY(-2px);

    box-shadow:
            0 15px 29px rgba(195, 71, 56, 0.25);
}

.auth-primary-button:hover::before {
    left: 155%;
}

.auth-primary-button.loading {
    pointer-events: none;
}

.auth-button-loader {
    display: none;

    width: 16px;
    height: 16px;

    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: var(--auth-white);
    border-radius: 50%;

    animation:
            authLoaderSpin
            700ms
            linear
            infinite;
}

.auth-primary-button.loading .auth-button-text {
    display: none;
}

.auth-primary-button.loading .auth-button-loader {
    display: block;
}


/* ==================================================
   DIVIDER
================================================== */

.auth-divider {
    display: grid;

    margin: 20px 0 15px;

    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 11px;
}

.auth-divider span {
    height: 1px;

    background-color: var(--auth-soft-border);
}

.auth-divider p {
    margin: 0;

    color: var(--auth-muted);

    font-size: 9.5px;
}


/* ==================================================
   SOCIAL LOGIN
================================================== */

.social-login-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 8px;
}

.social-login-button {
    display: flex;

    min-width: 0;
    height: 39px;

    padding: 0 8px;

    align-items: center;
    justify-content: center;

    gap: 7px;

    border: 1px solid var(--auth-border);
    border-radius: 7px;

    color: #34383d;
    background-color: var(--auth-white);

    font-size: 9.5px;
    font-weight: 500;

    cursor: pointer;

    transition:
            transform var(--auth-transition),
            border-color var(--auth-transition),
            box-shadow var(--auth-transition),
            background-color var(--auth-transition);
}

.social-login-button:hover {
    border-color: #c6c6c6;

    background-color: #fdfdfd;

    box-shadow:
            0 7px 17px rgba(34, 37, 43, 0.055);

    transform: translateY(-2px);
}

.social-login-button i {
    flex: 0 0 auto;

    font-size: 13px;
}

.social-icon-google {
    color: #4285f4;
}

.social-icon-microsoft {
    color: #52575d;
}

.social-icon-linkedin {
    color: #0a66c2;
}


/* ==================================================
   BOTTOM LINK
================================================== */

.auth-bottom-text {
    margin: 19px 0 0;

    color: #656a72;

    text-align: center;

    font-size: 10.5px;
}

.auth-bottom-text a {
    margin-left: 3px;

    color: var(--auth-primary);

    font-weight: 600;
}

.auth-bottom-text a:hover {
    color: var(--auth-primary-dark);
}


/* ==================================================
   VISUAL PANEL
================================================== */

.auth-visual-panel {
    position: relative;

    min-width: 0;
    overflow: hidden;

    color: var(--auth-white);

    background:
            radial-gradient(
                    circle at 44% 56%,
                    rgba(255, 255, 255, 0.08),
                    transparent 27%
            ),
            linear-gradient(
                    145deg,
                    #c44b3c 0%,
                    #98291f 51%,
                    #681713 100%
            );
}

.auth-visual-pattern {
    position: absolute;
    inset: 0;

    opacity: 0.18;

    background-image:
            radial-gradient(
                    rgba(255, 255, 255, 0.65) 0.8px,
                    transparent 0.8px
            );

    background-size: 29px 29px;

    mask-image:
            linear-gradient(
                    to bottom,
                    transparent,
                    #000000 14%,
                    #000000 88%,
                    transparent
            );
}

.auth-visual-content {
    position: relative;
    z-index: 2;

    display: flex;

    width: 100%;
    height: 100%;

    padding: 52px 43px 25px;

    flex-direction: column;
}


/* ==================================================
   VISUAL COPY
================================================== */

.auth-visual-copy {
    max-width: 325px;
}

.auth-visual-copy > span {
    display: inline-block;

    margin-bottom: 9px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 9px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-visual-copy h2 {
    margin: 0 0 11px;

    color: var(--auth-white);

    font-size: clamp(25px, 2.25vw, 33px);
    font-weight: 700;
    line-height: 1.14;
    letter-spacing: -0.8px;
}

.auth-visual-copy p {
    max-width: 300px;
    margin: 0;

    color: rgba(255, 255, 255, 0.74);

    font-size: 10.5px;
    line-height: 1.65;
}


/* ==================================================
   ILLUSTRATION
================================================== */

.auth-illustration-wrapper {
    position: relative;

    display: flex;
    flex: 1;

    min-height: 260px;

    align-items: flex-end;
    justify-content: center;

    margin-top: 10px;
}

.auth-illustration-glow {
    position: absolute;
    right: 50%;
    bottom: 11%;

    width: 270px;
    height: 270px;

    border-radius: 50%;

    background:
            radial-gradient(
                    circle,
                    rgba(255, 255, 255, 0.13),
                    rgba(255, 255, 255, 0.035) 56%,
                    transparent 74%
            );

    transform: translateX(50%);
}

.auth-illustration {
    position: relative;
    z-index: 2;

    width: 100%;
    max-width: 395px;
    max-height: 355px;

    object-fit: contain;
    object-position: center bottom;

    filter:
            drop-shadow(
                    0 22px 28px rgba(48, 10, 7, 0.25)
            );

    animation:
            authIllustrationFloat
            6s
            ease-in-out
            infinite;
}


/* ==================================================
   ANIMATIONS
================================================== */

@keyframes authLoaderSpin {

    to {
        transform: rotate(360deg);
    }

}

@keyframes authIllustrationFloat {

    0%,
    100% {
        transform:
                translateY(0)
                scale(1);
    }

    50% {
        transform:
                translateY(-6px)
                scale(1.015);
    }

}


/* ==================================================
   REDUCED MOTION
================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
    }

}
/* ==================================================
   BIGGER AUTH LOGO + BIGGER SIDE ILLUSTRATION
================================================== */

/* Logo area stays in the same place */
.auth-logo-link {
    width: 205px;
    height: 62px;

    margin-bottom: 26px;

    overflow: visible;
}

/* Only the visible logo becomes larger */
.auth-logo {
    width: 220px;
    height: 76px;
    max-width: none;

    object-fit: contain;
    object-position: left center;

    transform: scale(1.08);
    transform-origin: left center;
}


/* ==================================================
   RIGHT PANEL ILLUSTRATION
================================================== */

.auth-illustration-wrapper {
    min-height: 320px;

    margin-top: 4px;

    align-items: flex-end;
    justify-content: center;
}

.auth-illustration-glow {
    right: 50%;
    bottom: 4%;

    width: 355px;
    height: 355px;
}

/* Make the uploaded illustration fill more of the panel */
.auth-illustration {
    width: 112%;
    max-width: 500px;
    max-height: 470px;

    object-fit: contain;
    object-position: center bottom;

    transform-origin: center bottom;
}
/* ==================================================
   AUTH BOX — SMALLER AND MORE CORPORATE
================================================== */

.auth-page {
    padding: 24px 34px;
}

.auth-shell {
    width: min(1120px, 100%);
    min-height: 560px;
    max-height: 680px;

    grid-template-columns:
        minmax(0, 1.06fr)
        minmax(390px, 0.94fr);

    border-radius: 20px;

    box-shadow:
            0 22px 58px rgba(47, 30, 26, 0.10);
}


/* ==================================================
   LEFT PANEL
================================================== */

.auth-form-panel {
    padding:
            25px
            50px
            27px;
}

.auth-logo-link {
    width: 190px;
    height: 54px;

    margin-bottom: 21px;
}

.auth-logo {
    width: 205px;
    height: 68px;

    transform: none;
}

.auth-heading {
    margin-bottom: 18px;
}

.auth-heading h1 {
    font-size: clamp(29px, 2.35vw, 35px);
}

.auth-heading p {
    font-size: 12px;
}

.auth-form {
    gap: 12px;
}

.auth-input {
    height: 41px;
}

.auth-primary-button {
    height: 42px;
}

.auth-divider {
    margin:
            17px
            0
            13px;
}

.social-login-button {
    height: 37px;
}

.auth-bottom-text {
    margin-top: 16px;
}


/* ==================================================
   RIGHT PANEL
================================================== */

.auth-visual-content {
    padding:
            38px
            39px
            18px;
}

.auth-visual-copy {
    max-width: 320px;
}

.auth-visual-copy h2 {
    font-size: clamp(24px, 2.05vw, 31px);
}

.auth-visual-copy p {
    font-size: 10px;
}

.auth-illustration-wrapper {
    min-height: 235px;

    margin-top: 3px;
}

.auth-illustration {
    width: 103%;
    max-width: 600px;
    max-height: 345px;
}

.auth-illustration-glow {
    width: 285px;
    height: 285px;
}
/* ==================================================
   CREATE ACCOUNT PAGE
================================================== */

.auth-shell-create {
    min-height: 650px;
    max-height: calc(100vh - 38px);

    grid-template-columns:
        minmax(0, 1.12fr)
        minmax(380px, 0.88fr);
}

.auth-create-panel {
    padding:
            23px
            48px
            25px;
}

.auth-create-panel .auth-logo-link {
    margin-bottom: 16px;
}

.auth-create-content {
    max-width: 520px;
}

.auth-create-heading {
    margin-bottom: 16px;
}

.auth-create-heading h1 {
    margin-bottom: 7px;

    font-size: clamp(27px, 2.2vw, 33px);
    line-height: 1.08;
}

.auth-create-heading p {
    max-width: 430px;

    font-size: 11.5px;
    line-height: 1.55;
}


/* ==================================================
   TWO-COLUMN FORM ROW
================================================== */

.auth-fields-row {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


/* ==================================================
   COMPACT CREATE FORM
================================================== */

.create-account-form {
    gap: 11px;
}

.auth-create-panel .auth-field {
    gap: 5px;
}

.auth-create-panel .auth-label {
    font-size: 9.5px;
}

.auth-create-panel .auth-input {
    height: 38px;

    padding-left: 35px;

    font-size: 10.5px;
}

.auth-create-panel .auth-input-icon {
    left: 12px;

    font-size: 12px;
}

.auth-create-panel .password-toggle {
    width: 30px;
    height: 30px;

    font-size: 12px;
}

.auth-create-panel .auth-error-message {
    font-size: 8.5px;
}


/* ==================================================
   USERNAME STATUS
================================================== */

.auth-input-with-status {
    padding-right: 42px;
}

.username-status {
    position: absolute;
    right: 13px;
    z-index: 3;

    display: none;

    color: #3c9a57;

    font-size: 13px;
}

.username-status.visible {
    display: inline-flex;
}

.username-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    color: var(--auth-muted);

    font-size: 8px;
    line-height: 1.4;
}

.username-meta strong {
    overflow: hidden;

    color: var(--auth-primary);

    font-size: 8px;
    font-weight: 600;

    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}


/* ==================================================
   TERMS
================================================== */

.terms-field {
    display: grid;

    gap: 5px;

    margin-top: 1px;
}

.auth-terms-checkbox {
    align-items: flex-start;

    font-size: 9px;
    line-height: 1.45;
}

.auth-terms-checkbox .auth-checkbox-control {
    flex: 0 0 auto;

    margin-top: 1px;
}

.auth-terms-checkbox a {
    color: var(--auth-primary);

    font-weight: 600;
}

.auth-terms-checkbox a:hover {
    color: var(--auth-primary-dark);
}

.terms-field.has-error .terms-error-message {
    display: block;
}

.terms-field.has-error .auth-checkbox-control {
    border-color: var(--auth-error);

    box-shadow:
            0 0 0 3px rgba(189, 61, 50, 0.05);
}


/* ==================================================
   CREATE BUTTON AND BOTTOM LINK
================================================== */

.auth-create-panel .auth-primary-button {
    height: 41px;

    font-size: 11px;
}

.create-account-bottom-text {
    margin-top: 14px;
}


/* ==================================================
   CREATE ACCOUNT VISUAL PANEL
================================================== */

.auth-shell-create .auth-visual-content {
    padding:
            36px
            38px
            16px;
}

.auth-shell-create .auth-visual-copy h2 {
    font-size: clamp(23px, 1.95vw, 29px);
}

.auth-shell-create .auth-illustration-wrapper {
    min-height: 260px;
}

.auth-shell-create .auth-illustration {
    width: 106%;
    max-width: 430px;
    max-height: 360px;
}
/* ==================================================
   FORGOT PASSWORD PAGE
================================================== */

.auth-shell-forgot,
.auth-shell-success {
    min-height: 540px;
    max-height: 640px;
}

.auth-forgot-panel,
.auth-success-panel {
    padding:
            28px
            52px
            31px;
}

.auth-forgot-content {
    max-width: 445px;
}

.auth-back-link {
    display: inline-flex;

    width: fit-content;

    margin-bottom: 28px;

    align-items: center;
    gap: 7px;

    color: var(--auth-text);

    font-size: 10.5px;
    font-weight: 500;

    transition:
            color var(--auth-transition),
            transform var(--auth-transition);
}

.auth-back-link i {
    font-size: 13px;
}

.auth-back-link:hover {
    color: var(--auth-primary);

    transform: translateX(-3px);
}

.auth-forgot-heading {
    margin-bottom: 25px;
}

.auth-forgot-heading h1 {
    font-size: clamp(29px, 2.4vw, 35px);
}

.auth-forgot-heading p {
    max-width: 415px;
}

.forgot-password-form {
    gap: 18px;
}

.auth-forgot-bottom-text {
    margin-top: 22px;
}


/* ==================================================
   RESET SUCCESS PAGE
================================================== */

.auth-success-panel {
    justify-content: flex-start;
}

.auth-success-content {
    display: flex;

    width: 100%;
    max-width: 430px;

    margin-top: 54px;

    align-items: center;
    flex-direction: column;

    text-align: center;
}

.auth-success-icon {
    display: grid;

    width: 68px;
    height: 68px;

    margin-bottom: 22px;

    place-items: center;

    border: 1px solid rgba(59, 154, 87, 0.3);
    border-radius: 50%;

    color: #3b9a57;
    background-color: rgba(59, 154, 87, 0.07);

    font-size: 30px;

    box-shadow:
            0 12px 30px rgba(59, 154, 87, 0.1);

    animation:
            successIconPulse
            3.8s
            ease-in-out
            infinite;
}

.auth-success-content .auth-eyebrow {
    margin-bottom: 8px;
}

.auth-success-content h1 {
    margin: 0 0 11px;

    color: var(--auth-heading);

    font-size: clamp(29px, 2.4vw, 35px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.9px;
}

.auth-success-content > p {
    max-width: 365px;
    margin: 0;

    color: var(--auth-text);

    font-size: 12px;
    line-height: 1.65;
}

.auth-success-content p strong {
    color: var(--auth-heading);

    font-weight: 600;
}

.auth-success-note {
    margin-top: 11px !important;

    color: var(--auth-muted) !important;

    font-size: 10px !important;
}

.auth-secondary-button {
    display: flex;

    width: 100%;
    height: 43px;

    margin-top: 25px;

    align-items: center;
    justify-content: center;

    border: 1px solid var(--auth-primary);
    border-radius: 8px;

    color: var(--auth-primary);
    background-color: var(--auth-white);

    font-size: 11px;
    font-weight: 600;

    transition:
            color var(--auth-transition),
            background-color var(--auth-transition),
            box-shadow var(--auth-transition),
            transform var(--auth-transition);
}

.auth-secondary-button:hover {
    color: var(--auth-white);
    background-color: var(--auth-primary);

    box-shadow:
            0 12px 25px rgba(195, 71, 56, 0.18);

    transform: translateY(-2px);
}

.auth-resend-button {
    margin-top: 17px;
    padding: 4px;

    color: var(--auth-primary);
    background-color: transparent;

    font-size: 10px;
    font-weight: 500;

    cursor: pointer;
}

.auth-resend-button:hover {
    color: var(--auth-primary-dark);
}

.auth-resend-message {
    display: none;

    margin-top: 8px !important;

    color: #3b9a57 !important;

    font-size: 9.5px !important;
    font-weight: 500;
}

.auth-resend-message.visible {
    display: block;
}


/* ==================================================
   SUCCESS ANIMATION
================================================== */

@keyframes successIconPulse {

    0%,
    100% {
        transform: scale(1);

        box-shadow:
                0 12px 30px rgba(59, 154, 87, 0.1),
                0 0 0 0 rgba(59, 154, 87, 0.1);
    }

    50% {
        transform: scale(1.04);

        box-shadow:
                0 12px 30px rgba(59, 154, 87, 0.1),
                0 0 0 12px rgba(59, 154, 87, 0);
    }

}
/* ==================================================
   RESET SUCCESS PAGE
================================================== */

.auth-shell-success {
    min-height: 540px;
    max-height: 640px;
}

.auth-success-panel {
    padding:
            27px
            52px
            31px;
}

.auth-success-panel .auth-logo-link {
    margin-bottom: 18px;
}


/* ==================================================
   SUCCESS CONTENT
================================================== */

.auth-success-content {
    display: flex;

    width: 100%;
    max-width: 425px;

    margin: 34px auto 0;

    align-items: center;
    flex-direction: column;

    text-align: center;
}

.auth-success-icon {
    position: relative;

    display: grid;

    width: 66px;
    height: 66px;

    margin-bottom: 18px;

    place-items: center;

    border: 1px solid rgba(195, 71, 56, 0.2);
    border-radius: 50%;

    color: var(--auth-primary);
    background:
            linear-gradient(
                    145deg,
                    rgba(195, 71, 56, 0.09),
                    rgba(195, 71, 56, 0.035)
            );

    font-size: 27px;

    box-shadow:
            0 13px 30px rgba(126, 39, 30, 0.1);

    animation:
            authSuccessPulse
            4s
            ease-in-out
            infinite;
}

.auth-success-icon::before {
    position: absolute;
    inset: -8px;

    content: "";

    border: 1px dashed rgba(195, 71, 56, 0.16);
    border-radius: 50%;

    animation:
            authSuccessRingRotate
            18s
            linear
            infinite;
}

.auth-success-content .auth-eyebrow {
    margin-bottom: 8px;
}

.auth-success-content h1 {
    margin: 0 0 11px;

    color: var(--auth-heading);

    font-size: clamp(29px, 2.4vw, 35px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.9px;
}

.auth-success-description {
    max-width: 375px;
    margin: 0;

    color: var(--auth-text);

    font-size: 12px;
    line-height: 1.7;
}

.auth-success-description strong {
    color: var(--auth-heading);

    font-weight: 650;

    overflow-wrap: anywhere;
}

.auth-success-note {
    max-width: 350px;
    margin: 10px 0 0;

    color: var(--auth-muted);

    font-size: 9.5px;
    line-height: 1.55;
}


/* ==================================================
   BACK TO SIGN IN BUTTON
================================================== */

.auth-success-primary-button {
    display: inline-flex;

    width: 100%;
    height: 43px;

    margin-top: 23px;

    align-items: center;
    justify-content: center;

    gap: 8px;

    border: 1px solid var(--auth-primary);
    border-radius: 8px;

    color: var(--auth-white);

    background:
            linear-gradient(
                    135deg,
                    var(--auth-primary-bright),
                    var(--auth-primary-dark)
            );

    box-shadow:
            0 11px 23px rgba(195, 71, 56, 0.18);

    font-size: 11px;
    font-weight: 600;

    transition:
            transform var(--auth-transition),
            box-shadow var(--auth-transition);
}

.auth-success-primary-button:hover {
    color: var(--auth-white);

    transform: translateY(-2px);

    box-shadow:
            0 15px 29px rgba(195, 71, 56, 0.25);
}

.auth-success-primary-button i {
    font-size: 13px;
}


/* ==================================================
   RESEND LINK
================================================== */

.auth-resend-button {
    margin-top: 15px;
    padding: 4px 7px;

    border: 0;

    color: var(--auth-primary);
    background-color: transparent;

    font-size: 9.5px;
    font-weight: 550;

    cursor: pointer;

    transition:
            color var(--auth-transition),
            opacity var(--auth-transition);
}

.auth-resend-button:hover {
    color: var(--auth-primary-dark);
}

.auth-resend-button:disabled {
    opacity: 0.55;

    cursor: not-allowed;
}


/* ==================================================
   RESEND STATUS
================================================== */

.auth-resend-status {
    display: flex;

    max-height: 0;
    overflow: hidden;

    margin-top: 0;

    align-items: center;
    gap: 6px;

    opacity: 0;

    color: #3b8f55;

    font-size: 9px;
    font-weight: 500;

    transform: translateY(-4px);

    transition:
            max-height 240ms ease,
            margin-top 240ms ease,
            opacity 240ms ease,
            transform 240ms ease;
}

.auth-resend-status.visible {
    max-height: 30px;

    margin-top: 8px;

    opacity: 1;

    transform: translateY(0);
}

.auth-resend-status i {
    flex: 0 0 auto;

    font-size: 11px;
}


/* ==================================================
   SUCCESS ANIMATIONS
================================================== */

@keyframes authSuccessPulse {

    0%,
    100% {
        transform: scale(1);

        box-shadow:
                0 13px 30px rgba(126, 39, 30, 0.1),
                0 0 0 0 rgba(195, 71, 56, 0.11);
    }

    50% {
        transform: scale(1.035);

        box-shadow:
                0 13px 30px rgba(126, 39, 30, 0.1),
                0 0 0 12px rgba(195, 71, 56, 0);
    }

}

@keyframes authSuccessRingRotate {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }

}
