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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #eef0f5;
    color: #1a202c;
    min-height: 100vh;
}

.page-center {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.card {
    background: #fff;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
}

.card-title { font-size: 1.75rem; font-weight: 700; color: #1a202c; margin-bottom: .25rem; }
.card-subtitle { color: #718096; margin-bottom: 1.5rem; }

.alert { padding: .75rem 1rem; border-radius: 8px; margin-bottom: 1.25rem; font-size: .9rem; }
.alert-error { background: #fff5f5; color: #e53e3e; border: 1px solid #fed7d7; }
.alert-success { background: #f0fff4; color: #276749; border: 1px solid #c6f6d5; }

.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: .85rem; font-weight: 600; color: #4a5568; margin-bottom: .4rem; }
.form-group input {
    width: 100%;
    padding: .65rem .9rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    background: #f7f9fc;
    transition: border-color .2s;
}
.form-group input:focus { outline: none; border-color: #3b5bdb; background: #fff; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .7rem 1.5rem;
    border-radius: 8px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: opacity .2s;
    text-decoration: none;
}
.btn:hover { opacity: .88; }
.btn-primary { background: #3b5bdb; color: #fff; }
.btn-full { width: 100%; margin-top: .5rem; }

.form-footer { text-align: center; margin-top: 1.25rem; font-size: .9rem; color: #718096; }
.form-footer a { color: #3b5bdb; text-decoration: none; font-weight: 600; }

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.navbar-brand { font-size: 1.2rem; font-weight: 700; color: #1a202c; }
.navbar-right { display: flex; align-items: center; gap: 1rem; }
.navbar-email { color: #718096; font-size: .9rem; }
.btn-logout {
    background: #e53e3e;
    color: #fff;
    padding: .4rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 600;
}
.btn-logout:hover { opacity: .85; }

.dashboard-container { padding: 2rem; max-width: 900px; margin: 0 auto; }
.welcome-card { max-width: 100%; margin-bottom: 1.5rem; }
.welcome-card h2 { font-size: 1.5rem; margin-bottom: .5rem; }
.welcome-card p { color: #718096; }

.info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.info-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,.06);
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.info-label { font-size: .7rem; font-weight: 700; color: #a0aec0; letter-spacing: .08em; text-transform: uppercase; }
.info-value { font-size: 1rem; font-weight: 600; color: #2d3748; word-break: break-all; }