/* Auth Page Layout */
.auth-page {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: linear-gradient(135deg, #1a202c, #2d3748);
    font-family: 'Roboto', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-wrapper {
    width: 100%;
    max-width: 420px;
    padding: 2rem 1rem;
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo img {
    max-width: 180px;
    height: auto;
}

/* Card */
.auth-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.auth-card-header {
    background: linear-gradient(60deg, #080f39, #1b2876);
    padding: 1.25rem 1.5rem;
    margin: -1px;
}

.auth-card-header h4 {
    color: #fff;
    font-weight: 500;
    font-size: 1.25rem;
    margin: 0;
    text-align: center;
}

.auth-card-body {
    padding: 1.5rem;
}

/* Messages */
.auth-messages {
    margin-bottom: 1rem;
}

.auth-messages .alert {
    font-size: 0.875rem;
    border-radius: 6px;
    padding: 0.625rem 1rem;
}

/* Form Controls */
.auth-card-body .form-group {
    margin-bottom: 1rem;
}

.auth-card-body label {
    font-weight: 500;
    color: #2d3748;
    font-size: 0.875rem;
    margin-bottom: 0.375rem;
    display: block;
}

.auth-card-body input[type="text"],
.auth-card-body input[type="email"],
.auth-card-body input[type="password"],
.auth-card-body input[type="url"],
.auth-card-body input[type="number"],
.auth-card-body select,
.auth-card-body textarea {
    width: 100%;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 0.9375rem;
    color: #2d3748;
    background: #fff;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
}

.auth-card-body input[type="text"]:focus,
.auth-card-body input[type="email"]:focus,
.auth-card-body input[type="password"]:focus,
.auth-card-body select:focus,
.auth-card-body textarea:focus {
    outline: none;
    border-color: #2c5282;
    box-shadow: 0 0 0 3px rgba(44, 82, 130, 0.1);
}

.auth-card-body .text-danger {
    color: #e53e3e !important;
    font-size: 0.8125rem;
    display: block;
    margin-top: 0.25rem;
}

/* Checkbox */
.auth-card-body .form-check {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.75rem 0;
}

.auth-card-body .form-check label {
    margin-bottom: 0;
    font-weight: 400;
    color: #4a5568;
    font-size: 0.875rem;
}

/* Buttons */
.auth-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1rem;
    background: #1b2876;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    font-family: 'Roboto', sans-serif;
    text-align: center;
    text-decoration: none;
    margin-top: 0.5rem;
}

.auth-btn:hover {
    background: #9c27b0;
    color: #fff;
}

.auth-btn-danger {
    background: #e53e3e;
}

.auth-btn-danger:hover {
    background: #c53030;
}

/* Links */
.auth-footer-links {
    text-align: center;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: #a0aec0;
}

.auth-footer-links a {
    color: #63b3ed;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer-links a:hover {
    text-decoration: underline;
    color: #90cdf4;
}

/* Info pages (no form) */
.auth-info {
    text-align: center;
    padding: 1rem 0;
}

.auth-info .material-icons {
    font-size: 3rem;
    color: #1b2876;
    margin-bottom: 1rem;
}

.auth-info p {
    color: #4a5568;
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.auth-info a {
    color: #2c5282;
    text-decoration: none;
    font-weight: 500;
}

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

/* Non-field errors */
.auth-card-body .alert-danger {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    border-radius: 6px;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 480px) {
    .auth-wrapper {
        padding: 1.5rem 0.75rem;
    }

    .auth-card-body {
        padding: 1.25rem;
    }
}
