/* =====================================================
   ePotter — Auth Page (Login / Verify)
   ===================================================== */

.ep-auth-page {
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 16px;
    background: var(--ep-bg-alt);
}

.ep-auth-card {
    background: #fff;
    border: 1px solid var(--ep-border);
    border-radius: var(--ep-radius);
    padding: 40px 36px;
    width: 100%;
    max-width: 420px;
    box-shadow: var(--ep-shadow-md);
}

.ep-auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 22px;
    font-weight: 700;
    color: var(--ep-text);
    margin-bottom: 24px;
}
.ep-auth-logo i {
    font-size: 28px;
    color: var(--ep-primary);
}

.ep-auth-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.ep-auth-sub {
    font-size: 13.5px;
    color: var(--ep-text-muted);
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.7;
}

.ep-auth-form { display: flex; flex-direction: column; gap: 20px; }

.ep-form-group { display: flex; flex-direction: column; }

.ep-input-lg {
    padding: 12px 16px;
    font-size: 16px;
    letter-spacing: 0.5px;
}

/* OTP input */
.ep-otp-input {
    text-align: center;
    letter-spacing: 8px;
    font-size: 22px;
    font-weight: 700;
    padding: 14px 16px;
}

/* Timer */
.ep-otp-timer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    color: var(--ep-text-muted);
    text-align: center;
    margin-top: -8px;
}
.ep-otp-timer i { color: var(--ep-warning); }

/* Resend */
.ep-auth-resend {
    text-align: center;
    font-size: 13px;
    color: var(--ep-text-muted);
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ep-resend-link {
    color: var(--ep-primary);
    font-weight: 500;
    cursor: pointer;
}
.ep-resend-disabled {
    color: var(--ep-text-muted);
    pointer-events: none;
    cursor: default;
}
.ep-resend-link:not(.ep-resend-disabled):hover {
    text-decoration: underline;
}

/* Back link */
.ep-auth-back {
    text-align: center;
    margin-top: 20px;
    font-size: 13px;
}
.ep-auth-back a {
    color: var(--ep-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.ep-auth-back a:hover { color: var(--ep-primary); }

@media (max-width: 460px) {
    .ep-auth-card { padding: 28px 20px; }
}
