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


body {
    font-family: Arial, sans-serif;
    background: #f4f7fb;
    color: #222;
}


/* =========================
   AUTH
========================= */

.auth-container {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
}


.auth-card {
    width: 100%;
    max-width: 430px;

    background: #ffffff;

    padding: 40px;

    border-radius: 15px;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
}


.auth-card h1 {
    text-align: center;

    margin-bottom: 10px;

    font-size: 30px;
}


.subtitle {
    text-align: center;

    color: #777;

    margin-bottom: 30px;
}


/* =========================
   FORM
========================= */

.form-group {
    margin-bottom: 20px;
}


.form-group label {
    display: block;

    margin-bottom: 8px;

    font-weight: bold;
}


.form-group input {
    width: 100%;

    padding: 13px 15px;

    border: 1px solid #ddd;

    border-radius: 8px;

    font-size: 15px;

    outline: none;

    transition: 0.2s;
}


.form-group input:focus {
    border-color: #4f46e5;

    box-shadow:
        0 0 0 3px rgba(79, 70, 229, 0.1);
}


/* =========================
   BUTTON
========================= */

.btn {
    display: block;

    width: 100%;

    padding: 13px;

    border: none;

    border-radius: 8px;

    background: #4f46e5;

    color: white;

    font-size: 16px;

    font-weight: bold;

    text-align: center;

    text-decoration: none;

    cursor: pointer;

    transition: 0.2s;
}


.btn:hover {
    background: #4338ca;
}


/* =========================
   LINKS
========================= */

.bottom-text {
    text-align: center;

    margin-top: 25px;

    color: #666;
}


.bottom-text a {
    color: #4f46e5;

    text-decoration: none;

    font-weight: bold;
}


/* =========================
   ALERTS
========================= */

.alert {
    padding: 12px 15px;

    border-radius: 8px;

    margin-bottom: 20px;

    font-size: 14px;
}


.alert p {
    margin: 4px 0;
}


.alert.error {
    background: #fee2e2;

    color: #991b1b;
}


.alert.success {
    background: #dcfce7;

    color: #166534;
}


/* =========================
   DASHBOARD
========================= */

.dashboard-container {
    min-height: 100vh;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 20px;
}


.dashboard-card {
    width: 100%;

    max-width: 600px;

    background: white;

    padding: 50px;

    border-radius: 15px;

    text-align: center;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08);
}


.dashboard-card h1 {
    margin-bottom: 10px;
}


.dashboard-email {
    color: #777;

    margin-bottom: 25px;
}


.logout-btn {
    margin-top: 30px;
}


/* =========================
   MOBILE
========================= */

@media (max-width: 500px) {

    .auth-card {
        padding: 25px;
    }

    .dashboard-card {
        padding: 30px 20px;
    }

}
