/* General Body Styles */
body {
    font-family: Arial, sans-serif;
    background-color: #f8f9fa; /* Equivalent to Bootstrap's .bg-light */
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container for Centering */
.container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 15px; /* Add some padding for smaller screens */
}

/* Row and Column for Layout */
.row {
    display: flex;
    justify-content: center; /* Center the column within the row */
    width: 100%;
}

.col {
    flex: 0 0 auto; /* Prevent column from growing or shrinking */
    width: 100%;
    max-width: 400px; /* Equivalent to Bootstrap's col-md-6 col-lg-4 on larger screens */
}

/* Card Styles */
.card {
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.125); /* Light border */
    border-radius: 0.25rem; /* Slightly rounded corners */
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15); /* Equivalent to Bootstrap's .shadow */
    padding: 20px;
    box-sizing: border-box; /* Include padding in element's total width and height */
    width: 100%; /* Ensure card takes full width of its column */
}

.card-body {
    padding: 1.25rem; /* Standard Bootstrap card-body padding */
}

.card-title {
    text-align: center;
    margin-bottom: 1.5rem; /* Spacing below the title */
    font-size: 1.5rem; /* Larger font for title */
    color: #333;
}

/* Form Group Styles */
.form-group {
    margin-bottom: 1rem; /* Spacing between form groups */
}

.form-group label {
    display: block; /* Make labels stack above inputs */
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #555;
}

.form-group input[type="email"],
.form-group input[type="password"] {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem; /* Standard input padding */
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da; /* Standard input border color */
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    box-sizing: border-box; /* Include padding and border in element's total width and height */
}

.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus {
    border-color: #80bdff; /* Focus border color */
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25); /* Focus shadow */
}

/* Checkbox Group Styles */
.form-check-group {
    display: flex;
    justify-content: space-between; /* Space out "Remember me" and potential forgotten password link */
    align-items: center;
    margin-bottom: 1rem;
}

.form-check-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

.form-check-label {
    cursor: pointer;
    color: #666;
}

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 400;
    color: #212529;
    text-align: center;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: 1px solid transparent;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    width: 100%; /* Equivalent to Bootstrap's w-100 */
    box-sizing: border-box;
}

.btn-primary {
    color: #fff;
    background-color: #007bff; /* Primary blue color */
    border-color: #007bff;
}

.btn-primary:hover {
    color: #fff;
    background-color: #0056b3; /* Darker blue on hover */
    border-color: #004085;
}

/* Alert Styles (for validation errors) */
.alert {
    position: relative;
    padding: 0.75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.alert ul {
    margin-bottom: 0;
    padding-left: 20px; /* Indent list items */
}