/* General Body Styles */
body, html {
    height: 100%;
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f0f2f5; /* A softer, more modern background color */
}

/* Main container for centering content */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* The main card for the form */
.auth-card {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    border: 1px solid #e0e0e0;
}

/* Header section with logo and title */
.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header img {
    max-height: 50px;
    margin-bottom: 1rem;
}

.auth-header h2 {
    font-weight: 700;
    color: #333;
    font-size: 1.8rem;
}

/* Form styles */
.auth-form .form-label {
    font-weight: 600;
    color: #555;
}

.auth-form .form-control {
    border-radius: 8px;
    padding: 0.9rem 1rem;
    border: 1px solid #ced4da;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Button styles */
.btn-primary {
    background-color: #0d6efd;
    border-color: #0d6efd;
    border-radius: 8px;
    padding: 0.9rem 1rem;
    font-weight: 600;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background-color: #0b5ed7;
}

/* Footer link for registration/login */
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.auth-footer p {
    margin-bottom: 0;
    color: #666;
}

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

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

/* Responsive adjustments */
@media (max-width: 576px) {
    .auth-card {
        padding: 25px;
    }

    .auth-header h2 {
        font-size: 1.5rem;
    }
}
