.user-otp-auth-page {
    --oe-accent: #046F5E;
    --oe-accent-dark: #035f50;
    --oe-green: #0e9f88;
    --oe-ink: #111827;
    --oe-muted: #64748b;
    --oe-line: rgba(17, 24, 39, 0.1);
    --oe-card: rgba(255, 255, 255, 0.78);
    --oe-glass: rgba(255, 255, 255, 0.62);
    --oe-shadow: 0 30px 80px rgba(15, 23, 42, 0.14);
    background: #fff;
}

.event-qr-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    margin-top: 14px;
    background: #fff;
    border: 1px solid rgba(5, 132, 111, 0.18);
    border-radius: 8px;
    width: min(100%, 220px);
    max-width: 100%;
    overflow: hidden;
}

.event-qr-box img,
.event-qr-box canvas {
    display: block;
    width: min(180px, 100%);
    height: auto;
    max-width: 100%;
}

.user-auth,
.user-dashboard {
    min-height: 100vh;
    color: var(--oe-ink);
    background:
        radial-gradient(circle at 16% 14%, rgba(4, 111, 94, 0.12), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(14, 159, 136, 0.16), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #f8fbff 48%, #ffffff 100%);
}

.user-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
    min-height: 100vh;
}

.user-auth-visual,
.user-auth-stage {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(28px, 5vw, 76px);
    overflow: hidden;
}

.user-auth-visual::before {
    content: "";
    position: absolute;
    inset: 9%;
    border: 1px solid rgba(4, 111, 94, 0.12);
    border-radius: 8px;
    background-image:
        linear-gradient(rgba(17, 24, 39, 0.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, 0.045) 1px, transparent 1px);
    background-size: 42px 42px;
    mask-image: radial-gradient(circle at center, #000 0%, transparent 72%);
}

.auth-gradient {
    position: absolute;
    width: 42%;
    aspect-ratio: 1;
    border-radius: 8px;
    filter: blur(22px);
    opacity: 0.72;
    animation: userFloat 10s ease-in-out infinite alternate;
}

.auth-gradient-one {
    left: 12%;
    top: 18%;
    background: rgba(4, 111, 94, 0.3);
}

.auth-gradient-two {
    right: 11%;
    bottom: 14%;
    background: rgba(93, 216, 158, 0.34);
    animation-delay: -3s;
}

.auth-preview-card,
.user-auth-card,
.dashboard-sidebar,
.dashboard-welcome,
.dashboard-card {
    border: 1px solid rgba(255, 255, 255, 0.82);
    border-radius: 8px;
    background: var(--oe-card);
    box-shadow: var(--oe-shadow);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
}

.auth-preview-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 34px;
    animation: userEnter 0.7s ease both;
}

.auth-preview-line,
.auth-preview-grid span {
    display: block;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: inset 0 0 0 1px rgba(17, 24, 39, 0.06);
}

.auth-preview-line {
    height: 16px;
    width: 72%;
    margin-bottom: 28px;
}

.auth-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 26px;
}

.auth-preview-grid span {
    height: 76px;
}

.auth-preview-chart {
    display: flex;
    align-items: end;
    gap: 13px;
    height: 170px;
    padding: 18px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.6);
}

.auth-preview-chart span {
    flex: 1;
    border-radius: 999px 999px 8px 8px;
    background: linear-gradient(180deg, var(--oe-accent), var(--oe-green));
    box-shadow: 0 12px 28px rgba(4, 111, 94, 0.2);
}

.user-auth-card {
    width: min(100%, 440px);
    padding: clamp(30px, 4vw, 46px);
    animation: userEnter 0.64s ease 0.08s both;
}

.user-auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 210px;
    height: 62px;
    margin: 0 auto 34px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.user-auth-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.mobile-field-row {
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.user-field {
    position: relative;
    margin-bottom: 16px;
}

.user-field.with-icon i {
    position: absolute;
    left: 18px;
    top: 50%;
    color: var(--oe-muted);
    transform: translateY(-50%);
}

.user-field input,
.mobile-field-row select {
    width: 100%;
    height: 58px;
    border: 1px solid var(--oe-line);
    border-radius: 8px;
    background: var(--oe-glass);
    color: var(--oe-ink);
    font-weight: 700;
    outline: none;
    padding: 0 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
    transition: 0.22s ease;
}

.user-field.with-icon input {
    padding-left: 54px;
}

.user-field input:focus,
.mobile-field-row select:focus,
.otp-boxes input:focus {
    border-color: rgba(4, 111, 94, 0.64);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 16px 36px rgba(4, 111, 94, 0.1), 0 0 0 4px rgba(4, 111, 94, 0.12);
    transform: translateY(-1px);
}

.user-primary-btn,
.user-ghost-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 58px;
    border-radius: 8px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.22s ease;
}

.user-primary-btn {
    border: 0;
    background: linear-gradient(135deg, var(--oe-accent), var(--oe-accent-dark));
    color: #fff;
    box-shadow: 0 18px 36px rgba(4, 111, 94, 0.24);
}

.user-ghost-btn {
    margin-top: 12px;
    border: 1px solid var(--oe-line);
    background: var(--oe-glass);
    color: var(--oe-accent);
}

.user-primary-btn:hover:not(:disabled),
.user-ghost-btn:hover:not(:disabled) {
    transform: translateY(-2px);
}

.user-primary-btn:disabled,
.user-ghost-btn:disabled {
    cursor: not-allowed;
    opacity: 0.62;
}

.is-loading {
    color: transparent !important;
    position: relative;
}

.is-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.42);
    border-top-color: #fff;
    border-radius: 999px;
    animation: userSpin 0.75s linear infinite;
}

.otp-boxes {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.otp-boxes input {
    width: 100%;
    height: 58px;
    border: 1px solid var(--oe-line);
    border-radius: 8px;
    background: var(--oe-glass);
    color: var(--oe-ink);
    font-size: 1.2rem;
    font-weight: 900;
    text-align: center;
    outline: none;
}

.user-auth-alert {
    margin-bottom: 16px;
    padding: 13px 15px;
    border-radius: 8px;
    background: rgba(0, 201, 81, 0.1);
    color: #047857;
    border: 1px solid rgba(0, 201, 81, 0.18);
    font-weight: 800;
}

.user-auth-alert.error {
    background: rgba(251, 44, 54, 0.1);
    color: #b42318;
    border-color: rgba(251, 44, 54, 0.18);
}

.user-dashboard {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 24px;
    padding: 24px;
}

.dashboard-sidebar {
    position: sticky;
    top: 24px;
    height: calc(100vh - 48px);
    padding: 24px 18px;
    background: #046F5E;
}

.dashboard-logo {
    width: min(210px, 100%);
    height: auto;
    margin-bottom: 28px;
}

.dashboard-logo img {
    width: 100%;
    height: auto;
    max-height: 58px;
    object-fit: contain;
    object-position: left center;
}

.dashboard-sidebar nav {
    display: grid;
    gap: 10px;
}

.dashboard-sidebar a,
.dashboard-sidebar button {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 50px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 800;
    padding: 0 14px;
    text-align: left;
    text-decoration: none;
}

.dashboard-sidebar .active,
.dashboard-sidebar a:hover,
.dashboard-sidebar button:hover {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: 0 18px 36px rgba(3, 95, 80, 0.22);
}

.dashboard-content {
    display: grid;
    gap: 24px;
}

.dashboard-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: clamp(24px, 4vw, 34px);
}

.dashboard-welcome span {
    color: var(--oe-accent);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.dashboard-welcome h1 {
    margin: 8px 0;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.dashboard-welcome p {
    margin: 0;
    color: var(--oe-muted);
    font-weight: 700;
}

.dashboard-welcome > i {
    color: var(--oe-accent);
    font-size: 42px;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-stat-card {
    position: relative;
    min-height: 126px;
    overflow: hidden;
}

.dashboard-stat-card span {
    display: block;
    color: var(--oe-muted);
    font-weight: 900;
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.dashboard-stat-card strong {
    display: block;
    color: var(--oe-ink);
    font-weight: 900;
    font-size: clamp(1.8rem, 3vw, 2.45rem);
    line-height: 1;
}

.dashboard-stat-card i {
    position: absolute;
    right: 20px;
    bottom: 18px;
    color: var(--oe-accent);
    opacity: 0.16;
    font-size: 42px;
}

.dashboard-card {
    padding: 24px;
}

.dashboard-card h2 {
    margin: 0 0 18px;
    font-size: 1.08rem;
    font-weight: 900;
}

.dashboard-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 20px;
}

.dashboard-section-head span {
    display: block;
    color: var(--oe-accent);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.dashboard-section-head h2 {
    margin: 0;
}

.dashboard-inline-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 8px;
    border: 1px solid rgba(5, 132, 111, 0.16);
    background: rgba(5, 132, 111, 0.08);
    color: var(--oe-accent);
    text-decoration: none;
    font-weight: 900;
    transition: all 0.25s ease;
}

.dashboard-inline-btn:hover {
    color: #ffffff;
    background: linear-gradient(135deg, var(--oe-accent), var(--oe-accent-dark));
}

.dashboard-inline-btn:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.dashboard-events-section {
    display: grid;
    gap: 4px;
}

.dashboard-events-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.dashboard-event-card {
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 16px;
    padding: 14px;
    border: 1px solid var(--oe-line);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.05);
}

.dashboard-event-image {
    position: relative;
    min-height: 158px;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(4, 111, 94, 0.08);
}

.dashboard-event-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.dashboard-status {
    position: absolute;
    left: 10px;
    top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 5px 10px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 0.74rem;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.88);
}

.dashboard-status-applied {
    color: #b7791f;
}

.dashboard-status-confirmed {
    color: #05846f;
}

.dashboard-status-rejected {
    color: #c81e1e;
}

.dashboard-status-attended {
    color: #0b5d87;
}

.dashboard-event-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dashboard-event-body h3 {
    margin: 2px 0 0;
    color: var(--oe-ink);
    font-size: 1.05rem;
    font-weight: 900;
    line-height: 1.35;
}

.dashboard-event-meta {
    display: grid;
    gap: 8px;
}

.dashboard-event-meta span {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    color: var(--oe-muted);
    font-weight: 800;
    font-size: 0.86rem;
    line-height: 1.45;
}

.dashboard-event-meta i {
    color: var(--oe-accent);
    margin-top: 3px;
}

.dashboard-event-btn {
    width: max-content;
    margin-top: auto;
}

.dashboard-empty-state {
    display: grid;
    justify-items: center;
    text-align: center;
    gap: 10px;
    padding: 34px 18px;
    border: 1px dashed rgba(5, 132, 111, 0.24);
    border-radius: 14px;
    background: rgba(5, 132, 111, 0.05);
}

.dashboard-empty-state > i {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 12px;
    background: rgba(5, 132, 111, 0.12);
    color: var(--oe-accent);
    font-size: 24px;
}

.dashboard-empty-state strong {
    color: var(--oe-ink);
    font-size: 1.1rem;
    font-weight: 900;
}

.dashboard-empty-state p {
    max-width: 420px;
    color: var(--oe-muted);
    font-weight: 700;
    margin: 0;
}

.profile-summary {
    display: grid;
    gap: 8px;
}

.profile-avatar {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 8px;
    background: rgba(4, 111, 94, 0.12);
    color: var(--oe-accent);
    overflow: hidden;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-summary strong {
    font-size: 1.35rem;
}

.profile-summary span,
.profile-summary small,
.dashboard-row,
.activity-list li {
    color: var(--oe-muted);
    font-weight: 800;
}

.dashboard-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
}

.dashboard-row i {
    color: var(--oe-accent);
}

.activity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.activity-list li {
    padding: 13px 0;
    border-bottom: 1px solid var(--oe-line);
}

@keyframes userEnter {
    from {
        opacity: 0;
        transform: translateY(18px) scale(0.985);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes userFloat {
    from {
        transform: translate3d(0, 0, 0) scale(1);
    }
    to {
        transform: translate3d(18px, -16px, 0) scale(1.05);
    }
}

@keyframes userSpin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 991px) {
    .user-dashboard {
        grid-template-columns: 1fr;
    }

    .dashboard-sidebar {
        display: none;
    }
}

@media (max-width: 920px) {
    .user-auth-shell,
    .user-dashboard {
        grid-template-columns: 1fr;
    }

    .user-auth-visual {
        min-height: 30vh;
    }

    .dashboard-sidebar {
        position: static;
        height: auto;
    }

    .dashboard-sidebar nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .event-qr-box {
        align-self: center;
    }

    .dashboard-stats-grid,
    .dashboard-events-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .dashboard-event-card {
        grid-template-columns: 1fr;
    }

    .dashboard-event-image {
        aspect-ratio: 16 / 9;
        min-height: 0;
    }
}

@media (max-width: 620px) {
    body.user-otp-auth-page {
        overflow-x: hidden;
    }

    .user-auth-stage,
    .user-auth-visual,
    .user-dashboard {
        padding: 16px;
    }

    .dashboard-content {
        gap: 16px;
        min-width: 0;
    }

    .dashboard-card {
        padding: 18px;
    }

    .dashboard-welcome {
        align-items: flex-start;
        gap: 16px;
    }

    .dashboard-welcome > i {
        display: none;
    }

    .dashboard-sidebar {
        padding: 16px;
    }

    .dashboard-logo {
        width: 150px;
        margin-bottom: 16px;
    }

    .dashboard-sidebar a,
    .dashboard-sidebar button {
        min-height: 46px;
        font-size: 0.92rem;
    }

    .user-auth-visual {
        min-height: 24vh;
    }

    .mobile-field-row,
    .dashboard-grid,
    .dashboard-stats-grid,
    .dashboard-events-grid,
    .dashboard-sidebar nav {
        grid-template-columns: 1fr;
    }

    .dashboard-section-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .dashboard-event-body h3 {
        font-size: 1rem;
        line-height: 1.35;
    }

    .dashboard-event-meta span {
        overflow-wrap: anywhere;
    }

    .dashboard-inline-btn,
    .dashboard-event-btn {
        width: 100%;
    }

    .event-qr-box {
        display: flex;
        width: 100%;
        text-align: center;
    }

    .event-qr-box img,
    .event-qr-box canvas {
        width: min(180px, calc(100vw - 100px));
        height: auto;
        margin: 0 auto;
    }

    .otp-boxes {
        gap: 7px;
    }

    .otp-boxes input {
        height: 52px;
    }
}

@media (max-width: 380px) {
    .dashboard-card {
        padding: 14px;
    }

    .event-qr-box img,
    .event-qr-box canvas {
        width: min(150px, calc(100vw - 80px));
    }
}

body.otp-modal-open {
    overflow: hidden;
}

.otp-login-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: grid;
    place-items: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: 0.26s ease;
}

.otp-login-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.otp-login-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(11, 31, 43, 0.38);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.otp-login-dialog {
    position: relative;
    width: min(460px, 100%);
    max-height: calc(100vh - 40px);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.78);
    border-radius: 16px;
    background:
        radial-gradient(circle at 18% 8%, rgba(57, 167, 161, 0.18), transparent 30%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(248, 251, 255, 0.82));
    box-shadow: 0 34px 90px rgba(15, 23, 42, 0.28);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    transform: translateY(18px) scale(0.97);
    transition: 0.28s cubic-bezier(.2, .8, .2, 1);
}

.otp-login-modal.is-open .otp-login-dialog {
    transform: translateY(0) scale(1);
}

.otp-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(216, 222, 230, 0.72);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #046F5E;
    cursor: pointer;
    transition: 0.22s ease;
}

.otp-modal-close:hover {
    transform: translateY(-1px);
    background: #ffffff;
}

.otp-modal-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(210px, calc(100% - 60px));
    height: 62px;
    margin: 30px auto 18px;
    border-radius: 0;
    background: transparent;
    color: #ffffff;
    box-shadow: none;
}

.otp-modal-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.otp-step-track {
    display: flex;
    width: 300%;
    transition: transform 0.42s cubic-bezier(.2, .8, .2, 1);
}

.otp-step-panel {
    width: 33.333%;
    flex: 0 0 33.333%;
    padding: 0 34px 34px;
}

.otp-eyebrow {
    display: block;
    color: #046F5E;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.otp-step-panel h2 {
    margin: 0 0 10px;
    color: #202833;
    font-size: 30px;
    line-height: 1.08;
    font-weight: 900;
}

.otp-step-panel p {
    margin: 0 0 22px;
    color: #66778d;
    font-size: 15px;
    line-height: 1.5;
    font-weight: 600;
}

.otp-mobile-row {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 12px;
}

.otp-field {
    position: relative;
    margin-bottom: 14px;
}

.otp-field.with-icon i {
    position: absolute;
    left: 16px;
    top: 50%;
    color: #848d98;
    transform: translateY(-50%);
}

.otp-field input,
.otp-mobile-row select {
    width: 100%;
    height: 56px;
    border: 1px solid rgba(216, 222, 230, 0.9);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.72);
    color: #202833;
    font: inherit;
    font-weight: 700;
    outline: none;
    padding: 0 16px;
    transition: 0.22s ease;
}

.otp-field.with-icon input {
    padding-left: 48px;
}

.otp-field input:focus,
.otp-mobile-row select:focus,
.otp-input-grid input:focus {
    border-color: rgba(4, 111, 94, 0.62);
    box-shadow: 0 0 0 4px rgba(4, 111, 94, 0.12), 0 14px 30px rgba(15, 23, 42, 0.06);
}

.otp-primary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 10px;
    background: #046F5E;
    color: #ffffff;
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 18px 34px rgba(4, 111, 94, 0.22);
    transition: 0.25s ease;
}

.otp-primary-btn:hover:not(:disabled) {
    background: #035f50;
    transform: translateY(-2px);
}

.otp-primary-btn:disabled {
    cursor: not-allowed;
    opacity: 0.64;
}

.otp-input-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 9px;
    margin-bottom: 16px;
}

.otp-input-grid input {
    width: 100%;
    height: 56px;
    border: 1px solid rgba(216, 222, 230, 0.9);
    border-radius: 10px;
    background: #ffffff;
    color: #202833;
    font-size: 22px;
    font-weight: 900;
    text-align: center;
    outline: none;
}

.otp-secondary-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
}

.otp-secondary-actions button {
    border: 0;
    background: transparent;
    color: #046F5E;
    font: inherit;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
}

.otp-secondary-actions button:disabled {
    color: #848d98;
    cursor: not-allowed;
}

.otp-modal-alert {
    margin: 0 34px 16px;
    padding: 12px 14px;
    border-radius: 10px;
    background: rgba(251, 44, 54, 0.1);
    color: #b42318;
    border: 1px solid rgba(251, 44, 54, 0.16);
    font-weight: 800;
}

.otp-modal-alert.success {
    background: rgba(5, 132, 111, 0.1);
    color: #046F5E;
    border-color: rgba(5, 132, 111, 0.16);
}

.otp-success-check {
    position: absolute;
    top: 102px;
    left: 50%;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #046F5E;
    color: #ffffff;
    box-shadow: 0 18px 34px rgba(4, 111, 94, 0.26);
    opacity: 0;
    transform: translateX(-50%) scale(0.65);
    pointer-events: none;
}

.otp-success-check.is-visible {
    animation: otpCheckPop 0.7s ease both;
}

.otp-upload {
    margin-bottom: 14px;
}

.otp-upload label {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    padding: 10px;
    border: 1px dashed rgba(4, 111, 94, 0.32);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.58);
    color: #046F5E;
    cursor: pointer;
}

.otp-upload span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background: rgba(4, 111, 94, 0.1);
    overflow: hidden;
}

.otp-upload img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.otp-upload input {
    display: none;
}

@keyframes otpCheckPop {
    0% {
        opacity: 0;
        transform: translateX(-50%) scale(0.65);
    }
    45% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) scale(1);
    }
}

@media (max-width: 560px) {
    .otp-login-modal {
        padding: 12px;
    }

    .otp-login-dialog {
        border-radius: 14px;
    }

    .otp-step-panel {
        padding: 0 20px 24px;
    }

    .otp-step-panel h2 {
        font-size: 25px;
    }

    .otp-mobile-row {
        grid-template-columns: 78px 1fr;
    }

    .otp-input-grid {
        gap: 6px;
    }

    .otp-input-grid input {
        height: 48px;
        font-size: 19px;
    }

    .otp-secondary-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}
