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

body {
    font-family: Arial;
    background: #f4f7fb;
}

body.dark {
    background: #07111f;
}

body.dark .auth-box {
    background: #111827;
    color: #edf4ff;
    box-shadow: 0 0 25px rgba(15, 23, 42, 0.45);
}

body.dark .auth-header h2,
body.dark .auth-header p,
body.dark .form-group label,
body.dark .auth-footer a {
    color: #edf4ff;
}

body.dark .auth-header p,
body.dark .form-group input {
    color: #cbd5e1;
}

body.dark .form-group input {
    background: #0f172a;
    border-color: #334155;
}

.auth-page {
    width: 100%;
    min-height: 100vh;

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

    padding: 20px;
}

.auth-box {
    width: 100%;
    max-width: 420px;

    background: white;

    padding: 35px;
    border-radius: 20px;

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

.auth-header {
    text-align: center;
    margin-bottom: 30px;
}

.auth-header h2 {
    font-size: 34px;
    color: #0E53B5;
    margin-bottom: 10px;
}

.auth-header p {
    color: gray;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
}

.form-group input {
    width: 100%;
    height: 50px;

    border: 1px solid #dcdcdc;
    border-radius: 12px;

    padding: 0 15px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #0E53B5;
}

.auth-btn {
    width: 100%;
    height: 52px;

    border: none;
    border-radius: 12px;

    background: #0E53B5;
    color: white;

    font-size: 17px;
    cursor: pointer;

    margin-top: 10px;

    transition: 0.3s;
}

.auth-btn:hover {
    background: #083b80;
}

.auth-footer {
    text-align: center;
    margin-top: 22px;
}

.auth-footer a {
    color: #0E53B5;
    text-decoration: none;
    font-weight: bold;
}

@media(max-width:500px) {

    .auth-box {
        padding: 25px;
    }

    .auth-header h2 {
        font-size: 28px;
    }

}