/* Set the background to a soft light gray */
body {
    background-color: #f7f9fc; /* Light and subtle background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333; /* Dark text for readability */
    margin: 0;
    padding: 0;
}

/* Center content both vertically and horizontally */
.d-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Styling for the card */
.card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Card title styling */
.card .h3 {
    font-size: 1.75rem;
    color: #333;
    margin-bottom: 1.25rem;
    text-align: center;
}

/* Input field styling */
.form-control {
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 1rem;
    padding: 1rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

/* Focus styling for inputs */
.form-control:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 8px rgba(0, 123, 255, 0.2);
}

/* Button styling */
.btn-primary {
    background-color: #007bff;
    border: none;
    color: white;
    padding: 1rem;
    width: 100%;
    font-weight: 500;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}

/* Text links styling */
a {
    color: #007bff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

a:hover {
    color: #0056b3;
}

/* Alert message styling */
.alert {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

/* Small text at the bottom */
.mb-0 {
    font-size: 0.875rem;
}

/* Align checkboxes to the left */
.form-check {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Aligns checkboxes to the left */
}

/* Align radio buttons next to each other */
.form-check-inline {
    display: inline-flex; /* Makes the radio buttons align horizontally */
    align-items: center;
    margin-right: 1rem; /* Adds some space between each radio button */
}


/* Responsive styling: Adjust padding and widths on smaller screens */
@media (max-width: 576px) {
    .card {
        padding: 1.5rem;
    }

    .h3 {
        font-size: 1.5rem;
    }

    .form-control {
        padding: 0.75rem;
    }

    .btn-primary {
        padding: 0.75rem;
    }
}