/* ===== FlowMedi Auth — Design System ===== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #f9fafb;
    color: #1a1a1a;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ── Page Container ── */
.page-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

/* ── Card ── */
.card {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    width: 100%;
    max-width: 400px;
    padding: 40px 36px 32px;
    text-align: center;
}

/* ── Card Icon ── */
.card-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.card-icon img {
    width: 48px;
    height: 48px;
}

.card-icon.icon-glow img {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.12));
}

/* ── Typography ── */
.card-title {
    margin: 0 0 12px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
    color: #1a1a1a;
}

.card-subtitle {
    margin: 0 0 24px;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

/* ── User Badge ── */
.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    margin-bottom: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    color: #374151;
}

.user-badge-icon {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #6b7280;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.1s ease;
    text-decoration: none;
    border: none;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: #1a1a1a;
    color: #ffffff;
}

.btn-primary:hover {
    opacity: 0.9;
}

.btn-secondary {
    background: transparent;
    border: 1px solid #d1d5db;
    color: #1a1a1a;
}

.btn-secondary:hover {
    background: #f3f4f6;
}

.button-group {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.button-group .btn {
    flex: 1;
}

/* ── Footer ── */
.card-footer {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
    font-size: 12px;
    color: #9ca3af;
}

.card-footer a {
    color: #9ca3af;
    text-decoration: none;
}

.card-footer a:hover {
    color: #6b7280;
    text-decoration: underline;
}

.card-footer .separator {
    margin: 0 8px;
}

/* ── Responsive ── */
@media (max-width: 480px) {
    .card {
        padding: 32px 24px 24px;
    }

    .card-title {
        font-size: 20px;
    }
}
