/* New Layout Styles */
/* New Layout Styles */
html.dark-mode body,
html.dark-mode .bg-light.min-vh-100 {
    background-color: #000000 !important; /* Very dark background for the entire page in dark mode */
    color: #f0f0f0; /* Light text color */
}

html.dark-mode .bg-light {
    background-color: #000000 !important; /* Ensure bg-light elements also turn very dark */
}

.main-content-wrapper {
    border: 1px solid #333; /* Subtle border */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Soft shadow */
    padding: 20px;
    margin-top: 20px;
    background-color: #1a1a1a; /* Dark background for the content area */
    border-radius: 8px;
}

.card {
    background-color: #1a1a1a; /* Dark background for cards in dark mode */
    border: 1px solid #333;
}

.card-header {
    background-color: #2d2d2d; /* Darker header for cards in dark mode */
    color: #fff;
    border-bottom: 1px solid #333;
}

.card-body {
    color: #ccc; /* Light text for card body in dark mode */
}

label {
    color: #fff; /* White labels in dark mode */
}

.form-control {
    background-color: #333; /* Dark background for form controls in dark mode */
    color: #fff; /* White text in form controls in dark mode */
    border: 1px solid #555;
}

.form-control::placeholder {
    color: #bbb; /* Lighter placeholder text in dark mode */
}

.page-content {
    overflow: hidden; /* Ensure content, especially floated images, stays within bounds */
}

.section-title {
    color: #fff;
    font-size: 28px;
    margin-bottom: 20px;
    border-bottom: 2px solid #c00; /* Red underline */
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Adjust icon size in login form */
.input-group-text .icon {
    width: 1rem; /* Adjust as needed */
    height: 1rem; /* Adjust as needed */
}

@media (max-width: 768px) {
    .main-content-wrapper {
        padding: 10px;
        margin-top: 10px;
    }

    .section-title {
        font-size: 22px;
        margin-bottom: 15px;
    }
}