* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #f5f6f8;
    color: #222;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card {
    width: 100%;
    max-width: 430px;
    background: #fff;
    padding: 25px 20px;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.logo {
    text-align: center;
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

h1 {
    text-align: center;
    margin: 5px 0;
}

.subtitle {
    text-align: center;
    color: #777;
    margin-bottom: 25px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin: 15px 0 7px;
}

input {
    width: 100%;
    height: 50px;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 0 14px;
    font-size: 16px;
    outline: none;
}

input:focus {
    border-color: #d71920;
}

.btn {
    display: block;
    width: 100%;
    height: 50px;
    margin-top: 22px;
    border: none;
    border-radius: 10px;
    background: #d71920;
    color: white;
    font-size: 16px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    line-height: 50px;
    cursor: pointer;
}

.alert {
    padding: 13px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.error {
    background: #ffe5e5;
    color: #b00000;
}

.success {
    background: #e5f8ea;
    color: #08752c;
}

.login-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
}

.login-link a {
    color: #d71920;
    font-weight: 700;
    text-decoration: none;
}

@media (min-width: 768px) {

    .auth-card {
        padding: 35px;
    }

}