*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}



.log-pag-des-ahp-org-new {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #0f172a;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

/* Hidden state-machine inputs */
.des-ahp-log-pag-state-toggle {
    position: absolute;
    width: 0;
    height: 0;
    opacity: 0;
    pointer-events: none;
}

/* ════════ TOP BAR ════════ */
.des-ahp-log-pag-top {
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.des-ahp-log-pag-top__logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.des-ahp-log-pag-top__logo-mark {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
    letter-spacing: -.5px;
    box-shadow: 0 4px 12px -3px rgba(59, 130, 246, .4);
}

.des-ahp-log-pag-top__logo-name {
    font-size: 15px;
    font-weight: 700;
    color: #0a0e1a;
}

.des-ahp-log-pag-top__logo-name em {
    color: #ff5722;
    font-style: normal
}

.des-ahp-log-pag-top__back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    padding: 7px 12px;
    border-radius: 8px;
    transition: background .15s, color .15s;
}

.des-ahp-log-pag-top__back:hover {
    background: #f8fafc;
    color: #e64a19;
}

/* ════════ LAYOUT ════════ */
.des-ahp-log-pag-shell {
    min-height: calc(100vh - 60px);
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: #fff;
}

@media (max-width:960px) {
    .des-ahp-log-pag-shell {
        grid-template-columns: 1fr
    }
}

/* ════════ LEFT — FORM PANEL ════════ */
.des-ahp-log-pag-form-side {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 32px;
    position: relative;
    background:
        radial-gradient(60% 70% at 0% 0%, rgba(59, 130, 246, .06), transparent 55%),
        radial-gradient(50% 60% at 100% 100%, rgba(255, 87, 34, .04), transparent 55%),
        #fff;
}

.des-ahp-log-pag-form-side::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, .04) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent);
    -webkit-mask-image: radial-gradient(ellipse 50% 60% at 50% 50%, #000, transparent);
    pointer-events: none;
}

.des-ahp-log-pag-form-card {
    width: 100%;
    max-width: 440px;
    position: relative;
    z-index: 1;
}

.des-ahp-log-pag-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .10em;
    text-transform: uppercase;
    color: #e64a19;
    background: #fff5f1;
    border: 1px solid rgba(255, 87, 34, .2);
    padding: 5px 11px;
    border-radius: 100px;
    margin-bottom: 18px;
}

.des-ahp-log-pag-eyebrow::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, .5);
    animation: des-ahp-log-pag-pulse 2s ease-in-out infinite;
}

@keyframes des-ahp-log-pag-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(16, 185, 129, .5)
    }

    50% {
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0)
    }
}

/* ════════ STATE PANELS ════════ */
.des-ahp-log-pag-panel {
    display: none
}

/* Default state: login is shown */
#des-ahp-log-pag-st-login:checked~* .des-ahp-log-pag-panel--login,
body:not(:has(#des-ahp-log-pag-st-forgot:checked)):not(:has(#des-ahp-log-pag-st-sent:checked)) .des-ahp-log-pag-panel--login {
    display: block;
}

/* Forgot state */
#des-ahp-log-pag-st-forgot:checked~* .des-ahp-log-pag-panel--forgot {
    display: block
}

#des-ahp-log-pag-st-forgot:checked~* .des-ahp-log-pag-panel--login {
    display: none
}

/* Sent state */
#des-ahp-log-pag-st-sent:checked~* .des-ahp-log-pag-panel--sent {
    display: block
}

#des-ahp-log-pag-st-sent:checked~* .des-ahp-log-pag-panel--login {
    display: none
}

/* Fallback for browsers without :has support — show login by default */
@supports not selector(:has(*)) {
    .des-ahp-log-pag-panel--login {
        display: block
    }
}

.des-ahp-log-pag-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 34px;
    font-weight: 600;
    color: #0a0e1a;
    letter-spacing: -1px;
    line-height: 1.1;
    margin-bottom: 10px;
}

.des-ahp-log-pag-title em {
    font-style: italic;
    background: linear-gradient(135deg, #ff5722, #e64a19);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.des-ahp-log-pag-sub {
    font-size: 14.5px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 28px;
}

.des-ahp-log-pag-sub a {
    color: #e64a19;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1.5px solid rgba(230, 74, 25, .3);
    transition: border-color .15s;
}

.des-ahp-log-pag-sub a:hover {
    border-bottom-color: #ff5722
}

/* Form fields */
.des-ahp-log-pag-form {
    display: flex;
    flex-direction: column;
    gap: 14px
}

.des-ahp-log-pag-field {
    position: relative
}

.des-ahp-log-pag-field-label {
    position: absolute;
    top: -7px;
    left: 13px;
    background: #fff;
    padding: 0 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .04em;
    color: #64748b;
    text-transform: uppercase;
    pointer-events: none;
    z-index: 1;
}

.des-ahp-log-pag-field input {
    width: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14.5px;
    color: #0a0e1a;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-radius: 11px;
    padding: 14px 16px 14px 44px;
    transition: border-color .15s, box-shadow .15s;
}

.des-ahp-log-pag-field input::placeholder {
    color: #9ca6c2
}

.des-ahp-log-pag-field input:focus {
    outline: none;
    border-color: #ff5722;
    box-shadow: 0 0 0 3px rgba(255, 87, 34, .12);
}

.des-ahp-log-pag-field-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: #64748b;
    pointer-events: none;
}

.des-ahp-log-pag-field input:focus~.des-ahp-log-pag-field-icon {
    color: #ff5722
}

/* Password visibility toggle */
.des-ahp-log-pag-field-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: none;
    border: none;
    cursor: pointer;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.des-ahp-log-pag-field-toggle:hover {
    background: #f8fafc;
    color: #e64a19;
}

.des-ahp-log-pag-field-toggle svg {
    width: 16px;
    height: 16px
}

/* Row: remember me + forgot */
.des-ahp-log-pag-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 2px;
}

.des-ahp-log-pag-remember {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #475569;
    cursor: pointer;
    user-select: none;
}

.des-ahp-log-pag-remember input {
    width: 16px;
    height: 16px;
    accent-color: #ff5722;
    cursor: pointer;
}

.des-ahp-log-pag-link {
    font-size: 13px;
    font-weight: 600;
    color: #e64a19;
    text-decoration: none;
    cursor: pointer;
    border: none;
    background: none;
    padding: 4px 6px;
    border-radius: 6px;
    font-family: inherit;
    transition: background .15s;
}

.des-ahp-log-pag-link:hover {
    background: #fff5f1
}

/* Submit button */
.des-ahp-log-pag-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: .04em;
    color: #fff;
    background: linear-gradient(135deg, #ff5722, #e64a19);
    border: none;
    border-radius: 11px;
    padding: 15px;
    cursor: pointer;
    margin-top: 8px;
    transition: transform .15s, box-shadow .2s;
    box-shadow: 0 8px 22px -6px rgba(255, 87, 34, .5);
    text-transform: uppercase;
}

.des-ahp-log-pag-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -6px rgba(255, 87, 34, .65);
}

.des-ahp-log-pag-submit svg {
    width: 14px;
    height: 14px
}

/* Divider with "or" */
.des-ahp-log-pag-or {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 22px 0 16px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    color: #64748b;
    text-transform: uppercase;
}

.des-ahp-log-pag-or::before,
.des-ahp-log-pag-or::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

/* Help links row */
.des-ahp-log-pag-help {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    margin-top: 8px;
    font-size: 13px;
}

.des-ahp-log-pag-help a {
    color: #475569;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: background .15s, color .15s;
}

.des-ahp-log-pag-help a:hover {
    background: #f8fafc;
    color: #e64a19;
}

.des-ahp-log-pag-help a svg {
    width: 13px;
    height: 13px
}

/* Trust microcopy */
.des-ahp-log-pag-trust {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    font-size: 11.5px;
    color: #64748b;
}

.des-ahp-log-pag-trust span {
    display: inline-flex;
    align-items: center;
    gap: 4px
}

.des-ahp-log-pag-trust svg {
    width: 12px;
    height: 12px;
    color: #10b981
}

/* ════════ FORGOT / SENT panel styles ════════ */

.des-ahp-log-pag-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    font-weight: 600;
    color: #64748b;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px 10px;
    margin-bottom: 14px;
    margin-left: -10px;
    border-radius: 6px;
    font-family: inherit;
    transition: background .15s, color .15s;
}

.des-ahp-log-pag-back-btn:hover {
    background: #f8fafc;
    color: #e64a19;
}

.des-ahp-log-pag-back-btn svg {
    width: 13px;
    height: 13px
}

/* Sent state — success card */
.des-ahp-log-pag-success {
    text-align: center;
    padding: 8px 0;
}

.des-ahp-log-pag-success__icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 12px 24px -6px rgba(16, 185, 129, .4);
    animation: des-ahp-log-pag-success-in .4s cubic-bezier(.34, 1.56, .64, 1);
}

@keyframes des-ahp-log-pag-success-in {
    from {
        transform: scale(0) rotate(-30deg);
        opacity: 0
    }

    to {
        transform: scale(1) rotate(0);
        opacity: 1
    }
}

.des-ahp-log-pag-success__icon svg {
    width: 32px;
    height: 32px
}

.des-ahp-log-pag-success__email {
    display: inline-block;
    margin: 8px 0 18px;
    font-family: 'JetBrains Mono', 'Plus Jakarta Sans', monospace;
    font-size: 13.5px;
    color: #e64a19;
    background: #fff5f1;
    border: 1px solid rgba(255, 87, 34, .18);
    padding: 6px 12px;
    border-radius: 8px;
    font-weight: 600;
}

.des-ahp-log-pag-success__hint {
    font-size: 13px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 22px;
}

.des-ahp-log-pag-success__hint strong {
    color: #0f172a;
    font-weight: 600
}

.des-ahp-log-pag-success__resend {
    font-size: 12.5px;
    color: #64748b;
}

.des-ahp-log-pag-success__resend button {
    background: none;
    border: none;
    color: #e64a19;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ════════ RIGHT — VISUAL/MARKETING SIDE ════════ */
.des-ahp-log-pag-marketing {
    position: relative;
    background: linear-gradient(135deg, #0a0e1a 0%, #111827 100%);
    color: #fff;
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    isolation: isolate;
}

.des-ahp-log-pag-marketing::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 87, 34, .18), transparent 60%);
    pointer-events: none;
}

.des-ahp-log-pag-marketing::after {
    content: '';
    position: absolute;
    bottom: -120px;
    left: -80px;
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(59, 130, 246, .14), transparent 60%);
    pointer-events: none;
}

.des-ahp-log-pag-mk-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #ff5722;
    background: rgba(255, 87, 34, .12);
    border: 1px solid rgba(255, 87, 34, .25);
    padding: 5px 11px;
    border-radius: 100px;
    margin-bottom: 20px;
    position: relative;
    align-self: flex-start;
}

.des-ahp-log-pag-mk-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 38px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 12px;
    position: relative;
    max-width: 480px;
}

.des-ahp-log-pag-mk-title em {
    font-style: italic;
    color: #ff5722;
}

.des-ahp-log-pag-mk-sub {
    font-size: 15px;
    color: rgba(255, 255, 255, .7);
    line-height: 1.6;
    margin-bottom: 36px;
    max-width: 440px;
    position: relative;
}

/* Feature list */
.des-ahp-log-pag-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    margin-bottom: 36px;
}

.des-ahp-log-pag-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    transition: background .2s, border-color .2s, transform .2s;
}

.des-ahp-log-pag-feature:hover {
    background: rgba(255, 255, 255, .06);
    border-color: rgba(255, 87, 34, .25);
    transform: translateX(4px);
}

.des-ahp-log-pag-feature__icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: linear-gradient(135deg, rgba(255, 87, 34, .14), rgba(255, 87, 34, .06));
    border: 1px solid rgba(255, 87, 34, .22);
    color: #ff5722;
    display: flex;
    align-items: center;
    justify-content: center;
}

.des-ahp-log-pag-feature__icon svg {
    width: 20px;
    height: 20px
}

.des-ahp-log-pag-feature__txt {
    flex: 1;
    min-width: 0
}

.des-ahp-log-pag-feature__title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    line-height: 1.25;
    margin-bottom: 3px;
}

.des-ahp-log-pag-feature__sub {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .6);
    line-height: 1.5;
}

/* Stats footer */
.des-ahp-log-pag-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 20px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 14px;
    position: relative;
}

.des-ahp-log-pag-stat {
    text-align: center;
    position: relative;
}

.des-ahp-log-pag-stat:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 6px;
    bottom: 6px;
    width: 1px;
    background: rgba(255, 255, 255, .08);
}

.des-ahp-log-pag-stat__num {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    letter-spacing: -.5px;
    line-height: 1;
}

.des-ahp-log-pag-stat__num em {
    font-style: italic;
    color: #ff5722;
}

.des-ahp-log-pag-stat__lbl {
    font-size: 11px;
    color: rgba(255, 255, 255, .55);
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    margin-top: 6px;
}

/* ════════ RESPONSIVE ════════ */
@media (max-width:960px) {
    .des-ahp-log-pag-marketing {
        padding: 48px 32px;
        order: -1;
    }

    .des-ahp-log-pag-mk-title {
        font-size: 30px
    }

    .des-ahp-log-pag-form-side {
        padding: 32px 24px
    }
}

@media (max-width:600px) {
    .des-ahp-log-pag-top {
        padding: 12px 16px
    }

    .des-ahp-log-pag-top__back span {
        display: none
    }

    .des-ahp-log-pag-marketing {
        padding: 36px 24px
    }

    .des-ahp-log-pag-mk-title {
        font-size: 26px
    }

    .des-ahp-log-pag-mk-sub {
        font-size: 14px;
        margin-bottom: 24px
    }

    .des-ahp-log-pag-feature {
        padding: 12px
    }

    .des-ahp-log-pag-feature__icon {
        width: 36px;
        height: 36px;
        border-radius: 9px
    }

    .des-ahp-log-pag-feature__icon svg {
        width: 18px;
        height: 18px
    }

    .des-ahp-log-pag-stats {
        padding: 16px
    }

    .des-ahp-log-pag-stat__num {
        font-size: 20px
    }

    .des-ahp-log-pag-form-side {
        padding: 32px 20px
    }

    .des-ahp-log-pag-title {
        font-size: 28px
    }
}

/* The red border style */
.input-error {
    border: 2px solid #ff4d4d !important;
    outline: none;
    /* Prevents default browser focus ring */
}

/* The shake animation */
.shake-animation {
    animation: shake 0.4s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    20%,
    60% {
        transform: translateX(-6px);
    }

    40%,
    80% {
        transform: translateX(6px);
    }
}