* {
    box-sizing: border-box;
}

:root {
    --white: #ffffff;
    --primary-blue: #101c36;
    --brand-blue: #1c70fc;
    --dark-blue: #101c36;
    --light-gray: #f1f5f9;
    --error-red: #dc3545;
}

main {
    width: 100%;
    display: flex;
    justify-content: center;
}

body {
    background-color: var(--light-gray);
    background-image: url('/assets/img/bg-auth.jpg');
    background-size: cover;
    background-position: center;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: #0f172a;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.auth-container {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(16, 28, 54, 0.1);
    width: 400px;
    max-width: 100%;
    border: 1px solid rgba(28, 112, 252, 0.1);
}

@media (max-width: 480px) {
    .auth-container {
        padding: 1.5rem;
    }
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h1 {
    color: var(--dark-blue);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: #6c757d;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dark-blue);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #cbd5e1;
    background-color: #ffffff;
    color: var(--dark-blue);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(28, 112, 252, 0.15);
}

.btn {
    width: 100%;
    padding: 0.75rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--brand-blue);
    color: var(--white);
    border: 1.5px solid var(--brand-blue);
}

.btn-primary:hover {
    background-color: #ffffff;
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(28, 112, 252, 0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: #6c757d;
}

.auth-footer a {
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Alert styles */
.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
}

.alert-danger {
    background-color: #fce8e8;
    color: #a71d1d;
    border: 1px solid #f5c2c2;
}

.alert-success {
    background-color: #e6fffa;
    color: #234e52;
    border: 1px solid #b2f5ea;
}

.brand-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.brand-logo img {
    display: block;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
}

.brand-logo svg {
    width: 48px;
    height: 48px;
    fill: var(--primary-blue);
}