* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background: #eef2f7;
    color: #2c3e50;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background 0.3s, color 0.3s;
}
.search-box {
            width: 100%;
            max-width: 400px; /* Limit the width of the search box */
            padding: 12px 16px; /* Add padding for better spacing */
            margin-bottom: 20px; /* Add margin below the search box */
            border: 2px solid #3498db; /* Add a border with a primary color */
            border-radius: 8px; /* Rounded corners */
            font-size: 14px; /* Set font size */
            outline: none; /* Remove the default outline */
            transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for focus effect */
            background-color: #f9f9f9; /* Light background color */
            color: #2c3e50; /* Text color */
        }

        /* Optional: Add a focus effect to enhance user experience */
        .search-box:focus {
            border-color: #2980b9; /* Darker border color on focus */
            box-shadow: 0 0 8px rgba(52, 152, 219, 0.5); /* Add a subtle shadow on focus */
        }
		.search-box:focus {
    border-color: #2980b9; /* Change border color on focus */
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3); /* Add a subtle shadow on focus */
    background-color: #fff; /* Change background color on focus */
}

/* Add this to your existing CSS */
.preview-actions {
    margin-top: 20px;
    text-align: center;
}

.preview-actions .btn {
    margin: 5px;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.preview-actions .download-btn {
    background-color: #27ae60;
    color: #fff;
}

.preview-actions .download-btn:hover {
    background-color: #219653;
}

.preview-actions .print-btn {
    background-color: #3498db;
    color: #fff;
}

.preview-actions .print-btn:hover {
    background-color: #2980b9;
}
.preview-actions .close-btn {
    background-color: #ff5400;
    color: #fff;
}

.preview-actions .close-btn:hover {
    background-color: #de1a00;
}
/* Add this to your existing CSS */
#notificationBell {
    position: relative;
    display: inline-block;
    margin-left: 20px;
}

#notificationBell i {
    font-size: 24px;
    color: #ecf0f1;
}

#notificationBell:hover i {
    color: #3498db;
}

.notification-count {
    background-color: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 6px;
    font-size: 12px;
    position: absolute;
    top: -5px;
    right: -5px;
}


/* Add this to your existing CSS */
.notification-container {
    position: relative;
    display: inline-block;
}

.notification-dropdown {
    display: none;
    position: absolute;
    top: 40px;
    right: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    z-index: 1000;
}

.notification-dropdown.show {
    display: block;
}

.notification-dropdown .ro-item {
    padding: 10px;
    border-bottom: 1px solid #ddd;
    cursor: pointer;
    transition: background-color 0.3s;
}

.notification-dropdown .ro-item:last-child {
    border-bottom: none;
}

.notification-dropdown .ro-item:hover {
    background-color: #f9f9f9;
}

.notification-dropdown .ro-item p {
    margin: 0;
    font-size: 14px;
    color: #2c3e50;
}

.notification-dropdown .ro-item p strong {
    color: #3498db;
}
/* Add this to your existing CSS */
@keyframes bell-animation {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(15deg); }
    50% { transform: rotate(-15deg); }
    75% { transform: rotate(15deg); }
    100% { transform: rotate(0deg); }
}

.animate-bell i {
    animation: bell-animation 1s infinite;
}

.bulk-actions {
    margin-bottom: 20px;
}

.bulk-actions .btn {
    margin-right: 10px;
}
.login-container, .register-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background: linear-gradient(135deg, #3498db, #8e44ad);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
}

.login-box, .register-box {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: transform 0.3s;
}

.login-box:hover, .register-box:hover {
    transform: translateY(-5px);
}

.login-box h2, .register-box h2 {
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.login-box input, .register-box input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s;
}

.login-box input:focus, .register-box input:focus {
    border-color: #3498db;
}

.login-box button, .register-box button {
    background: #3498db;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.login-box button:hover, .register-box button:hover {
    background: #2980b9;
}

.login-box a, .register-box a {
    color: #3498db;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

.login-box a:hover, .register-box a:hover {
    color: #2980b9;
}

.header {
    background: linear-gradient(90deg, #2c3e50, #34495e);
    color: #fff;
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
    transition: background 0.3s;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px; /* space between logo and menu */
}

.header .logo-container {
    display: flex;
    align-items: center;
}

.header .logo-img {
    height: 40px;
    width: auto;
    margin-right: 10px;
    transition: filter 0.3s;
    cursor: pointer;
}

.header .logo {
    font-size: 24px;
    font-weight: 600;
}

.header .menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header .menu a {
    color: #ecf0f1;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: color 0.3s;
}

.header .menu a:hover {
    color: #3498db;
}

.header .menu-btn {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

#weather {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    color: #fff;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px; /* keep weather near the toggle button */
}

#weatherIcon {
    font-size: 1.5rem;
}

#weatherTemp {
    font-weight: bold;
}

.main-container {
    display: flex;
    margin-top: 70px;
}
.sidebar.collapsed {
    transform: translateX(-100%); /* Hide sidebar on desktop */
}
.sidebar-toggle-btn {
    background: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s, transform 0.3s;
    margin-right: 10px;
}

.sidebar-toggle-btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}
.sidebar {
    width: 220px;
    background: #fff;
    padding: 20px;
    height: calc(100vh - 70px);
    position: fixed;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: transform 0.3s ease-in-out; /* Smooth transition */
    z-index: 999;
}

.sidebar a {
    display: block;
    padding: 10px 10px;
    color: #2c3e50;
    text-decoration: none;
    margin: 8px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s;
}

.sidebar a:hover, .sidebar a.active {
    background: #3498db;
    color: #fff;
    box-shadow: 0 2px 10px rgba(52, 152, 219, 0.3);
}

/* User Profile Section Styles */
.user-profile-section {
    display: flex;
    align-items: center;
    padding: 15px 10px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #3498db, #2980b9);
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
    transition: all 0.3s ease;
}

.user-profile-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
}

.profile-picture {
    margin-right: 12px;
    position: relative;
}

.profile-picture img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
    transition: all 0.3s ease;
}

.profile-picture img:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.6);
}

.profile-info {
    flex: 1;
    min-width: 0;
}

.profile-name {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.profile-role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive styles for user profile section */
@media (max-width: 768px) {
    .user-profile-section {
        padding: 12px 8px;
        margin-bottom: 15px;
    }
    
    .profile-picture img {
        width: 40px;
        height: 40px;
    }
    
    .profile-name {
        font-size: 14px;
    }
    
    .profile-role {
        font-size: 11px;
    }
}

.content {
    margin-left: 240px; /* Default margin for desktop */
    padding: 25px;
    width: calc(100% - 240px);
    min-height: calc(100vh - 70px);
    background: #f7f9fc;
    transition: margin-left 0.3s ease-in-out, width 0.3s ease-in-out; /* Smooth transition */
}

.content.expanded {
    margin-left: 0; /* No margin when sidebar is hidden */
    width: 100%; /* Full width when sidebar is hidden */
}
/* Overlay for mobile view */
.overlay {
    display: none; /* Hidden by default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 998; /* Below sidebar but above content */
}

.sidebar.active + .overlay {
    display: block; /* Show overlay when sidebar is active */
}
.preview-panel {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: background 0.3s;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    row-gap: 5px;
    column-gap: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    outline: none;
    font-size: 14px;
    transition: border 0.3s, box-shadow 0.3s, background 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.btn {
    background: #3498db;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.3s, transform 0.3s;
    margin-right: 10px;
}

.btn:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

.btn:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}

.btn-import {
    background: #27ae60;
}

.btn-import:hover {
    background: #219653;
}

.bulk-ro-container {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    transition: background 0.3s;
}

.bulk-ro-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-bottom: 10px;
    align-items: center;
}

.bulk-ro-row .form-group {
    margin-bottom: 0;
}

.bulk-ro-row .form-group label {
    font-size: 12px;
}

.bulk-ro-row .form-group input,
.bulk-ro-row .form-group select,
.bulk-ro-row .form-group textarea {
    padding: 8px;
    font-size: 12px;
}

.bulk-ro-row .btn-add {
    background: #27ae60;
    padding: 8px;
    font-size: 12px;
    width: 100px;
}

.bulk-ro-row .btn-add:hover {
    background: #219653;
}

.bulk-ro-row .btn-remove {
    background: #e74c3c;
    padding: 8px;
    font-size: 12px;
    width: 100px;
}

.bulk-ro-row .btn-remove:hover {
    background: #c0392b;
}

.ro-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
	margin-bottom: 20px;
}

.ro-table th, .ro-table td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e0e4e8;
    font-size: 12px;
    transition: border 0.3s;
}

.ro-table th {
    background: #2c3e50;
    color: #ecf0f1;
    font-weight: 600;
    transition: background 0.3s;
}

.ro-table tr.active {
    background: #65c76c;
}

.ro-table tr.cancelled {
    background: #e87283;
}

.ro-table tr:hover {
    background: #f1f5f9;
}

.ro-table .action-btn {
    padding: 6px 12px;
    margin-right: 5px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 12px;
    transition: background 0.3s;
}

.edit-btn {
    background: #3498db;
    color: #fff;
}

.edit-btn:hover {
    background: #2980b9;
}

.delete-btn {
    background: #e74c3c;
    color: #fff;
}

.delete-btn:hover {
    background: #c0392b;
}

.download-btn {
    background: #27ae60;
    color: #fff;
}

.download-btn:hover {
    background: #219653;
}

.restore-btn {
    background: #16a085;
    color: #fff;
}

.restore-btn:hover {
    background: #117864;
}

.cancel-btn {
    background: #f1c40f;
    color: #fff;
}

.cancel-btn:hover {
    background: #d4ac0d;
}

.uncancel-btn {
    background: #27ae60;
    color: #fff;
}

.uncancel-btn:hover {
    background: #219653;
}

.export-btn {
    background: #8e44ad;
    color: #fff;
    margin-top: 10px;
}

.export-btn:hover {
    background: #7d3c98;
}

.filter-section {
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    transition: background 0.3s;
}

.account-section {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: background 0.3s;
    max-width: 600px;
    margin: 0 auto;
}

.account-section h2 {
    color: #2c3e50;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    transition: color 0.3s;
}

.account-section h3 {
    color: #3498db;
    font-size: 18px;
    font-weight: 600;
    margin: 20px 0 10px;
    transition: color 0.3s;
}

.account-section .form-group {
    background: #f9fafc;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
}

.account-section .form-group label {
    font-size: 14px;
    margin-bottom: 8px;
}

.account-section .form-group input,
.account-section .form-group select {
    background: #fff;
    border: 1px solid #e0e4e8;
    padding: 10px;
    font-size: 14px;
    transition: border 0.3s, background 0.3s;
}

.account-section .form-group input:focus,
.account-section .form-group select:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.account-section .form-group .btn {
    margin-top: 10px;
    width: 100%;
    padding: 12px;
    font-size: 14px;
}

.account-section .profile-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    display: block;
    border: 3px solid #3498db;
    transition: border 0.3s;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.account-section .form-group input[type="file"] {
    padding: 5px;
    border: none;
    background: none;
}

.color-scheme-selector {
    margin-top: 20px;
}

.color-scheme-selector label {
    display: block;
    margin-bottom: 5px;
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
    transition: color 0.3s;
}

.color-scheme-selector select {
    width: 100%;
    padding: 8px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.3s, background 0.3s;
}

.footer {
    position: fixed;
    bottom: 0;
    width: 100%; /* Ensure the footer spans the full width */
    left: 0; /* Force edge-to-edge, ignoring parent padding */
    right: 0; /* Force edge-to-edge, ignoring parent padding */
    background: linear-gradient(90deg, #2c3e50, #34495e);
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #ffffff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
    transition: background 0.3s, color 0.3s;

}

@media (max-width: 768px) {
    .sidebar {
        width: 220px; /* Sidebar width for mobile */
        transform: translateX(-100%); /* Hide sidebar by default on mobile */
        transition: transform 0.3s ease-in-out; /* Smooth transition */
    }

    .sidebar.active {
        transform: translateX(0); /* Show sidebar when active */
    }

    .content {
        margin-left: 0; /* No margin for content on mobile */
        width: 100%; /* Full width for content on mobile */
    }

    .sidebar-toggle-btn {
        display: block; /* Show toggle button on mobile */
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1001; /* Ensure it's above other elements */
        background: #3498db;
        color: #fff;
        padding: 10px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

    .header .menu {
        display: none; /* Hide the menu on mobile */
    }

    .header .menu-btn {
        display: block; /* Show the menu button on mobile */
    }

    .footer {
        width: 100%;
        margin-left: 0;
    }

    .account-section {
        max-width: 100%;
    }
	#weather, #notificationBell {
        display: none;
    }

	
/* Pagination Styles */
#pagination button {
    background: #3498db;
    color: #fff;
    padding: 8px 12px;
    margin: 0 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

#pagination button:hover {
    background: #2980b9;
}

#pagination button.active {
    background: #2c3e50;
    font-weight: bold;
}

#pagination button:disabled {
    background: #bdc3c7;
    cursor: not-allowed;
}
}
#pagination a {
    padding: 8px 16px;
    text-decoration: none;
    color: black;
}

#pagination a.active {
    background-color: #4CAF50;
    color: white;
}

#pagination a.disabled {
    color: grey;
    pointer-events: none;
}
#pagination {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.pagination-wrapper {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    padding: 8px;
    border-radius: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
	display: flex;
	justify-content: center;
	margin-top:20px;
	margin-bottom:50px;
}

.pagination-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: 0 4px;
    text-decoration: none;
    color: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
    font-size: 14px;
    font-family: Arial, sans-serif;
}

.pagination-btn:hover:not(.disabled):not(.active) {
    background: #e9ecef;
    transform: scale(1.1);
}

.pagination-btn.active {
    background: #007bff;
    color: white;
    font-weight: bold;
    cursor: default;
    transform: scale(1.1);
}

.pagination-btn.disabled {
    color: #ccc;
    cursor: not-allowed;
    pointer-events: none;
}
/* Add this at the end of styles.css */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 600px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover,
.close:focus {
    color: #000;
    text-decoration: none;
}

#roPreviewContent {
    font-family: 'Helvetica', sans-serif;
    color: #2c3e50;
}

#roPreviewContent h1 {
    font-size: 28px;
    text-align: center;
    color: #000;
    margin-bottom: 20px;
}

#roPreviewContent p {
    font-size: 14px;
    margin: 5px 0;
}

#roPreviewContent .visible-section {
    margin: 15px 0;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 5px;
}

#roPreviewContent .visible-section h3 {
    font-size: 14px;
    margin-bottom: 10px;
    background: #e0e0e0;
    padding: 5px;
    border-radius: 3px;
}

#roPreviewContent img {
    max-width: 100px;
    margin-bottom: 10px;
}
.preview-btn {
    background: #f39c12;
	color: #fff;
}
/* No significant changes needed beyond ensuring section display control, but here’s a recap of dashboard styles for clarity */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.dashboard-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s;
}

.month-selector {
    display: flex;
    align-items: center;
    gap: 10px;
}

.month-selector label {
    font-size: 14px;
    font-weight: 600;
    color: #2c3e50;
    transition: color 0.3s;
}

.month-selector input[type="month"] {
    padding: 10px;
    border: 1px solid #e0e4e8;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: border 0.3s, box-shadow 0.3s, background 0.3s;
}

.month-selector input[type="month"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: #fff;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
}

.stat-card h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-card p {
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    margin: 0;
}

.confirm-ro {
    background: linear-gradient(135deg, #27ae60, #2ecc71);
}

.total-ro {
    background: linear-gradient(135deg, #f39c12, #f1c40f);
}

.total-space {
    background: linear-gradient(135deg, #3498db, #2980b9);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(30deg);
    transition: all 0.5s;
}

.stat-card:hover::before {
    top: -30%;
    left: -30%;
}

.dashboard-graph {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    margin-top: 20px;
	margin-bottom: 50px;
}

.dashboard-graph h3 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
}

/* Ensure sections are hidden by default */
.section {
    display: none;
}
.visible-section {
    display: block; /* Ensures these sections are visible */
}

h1 {
    background-color: black; /* Black background */
    color: white; /* White text */
    padding: 10px 20px; /* Vertical and horizontal padding */
    border-radius: 10px; /* Rounded corners */
    display: block; /* Keeps the rectangle tight to the text */
    text-align: center; /* Centers the text */
}


/* Dark theme adjustments remain unchanged */
@media (prefers-color-scheme: dark) {
    .stat-card {
        background: #34495e;
    }
    .confirm-ro {
        background: linear-gradient(135deg, #1a3c34, #2e5e52);
    }
    .total-ro {
        background: linear-gradient(135deg, #4a3c2e, #5e4b2e);
    }
    .total-space {
        background: linear-gradient(135deg, #2c3e50, #34495e);
    }
    .month-selector input[type="month"] {
        background: #34495e;
        color: #ecf0f1;
    }
    .dashboard-graph {
        background: #2e2e2e;
    }
	.login-box, .forgotPasswordBox {
    background: #fff;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    width: 100%;
    max-width: 400px;
    text-align: center;
    transition: transform 0.3s;
}

.login-box:hover, .forgotPasswordBox:hover {
    transform: translateY(-5px);
}

.login-box input, .forgotPasswordBox input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: border 0.3s;
}

.login-box input:focus, .forgotPasswordBox input:focus {
    border-color: #3498db;
}

.login-box button, .forgotPasswordBox button {
    background: #3498db;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 8px;
    width: 100%;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.login-box button:hover, .forgotPasswordBox button:hover {
    background: #2980b9;
}

.login-box a, .forgotPasswordBox a {
    color: #3498db;
    text-decoration: none;
    display: block;
    margin-top: 10px;
    font-size: 14px;
}

.login-box a:hover, .forgotPasswordBox a:hover {
    color: #2980b9;
}
/* Style for the search box */
.search-box {
    width: 100%;
    max-width: 400px; /* Limit the width of the search box */
    padding: 12px 16px; /* Add padding for better spacing */
    margin-bottom: 20px; /* Add margin below the search box */
    border: 2px solid #3498db; /* Add a border with a primary color */
    border-radius: 8px; /* Rounded corners */
    font-size: 14px; /* Set font size */
    outline: none; /* Remove the default outline */
    transition: border-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transition for focus effect */
    background-color: #f9f9f9; /* Light background color */
    color: #2c3e50; /* Text color */
}

/* Style for the search box when focused */
.search-box:focus {
    border-color: #2980b9; /* Change border color on focus */
    box-shadow: 0 0 8px rgba(52, 152, 219, 0.3); /* Add a subtle shadow on focus */
    background-color: #fff; /* Change background color on focus */
}

/* Add margin to the sections for better spacing */
.section {
    margin: 20px 0; /* Add margin to the top and bottom of each section */
    padding: 20px; /* Add padding inside the section */
    background-color: #fff; /* White background */
    border-radius: 10px; /* Rounded corners */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}
#currentDateTime {
    font-size: 24px; /* Big font size */
    font-weight: bold; /* Bold text */
    color: #2c3e50; /* Dark color for better visibility */
    margin-bottom: 20px; /* Space below the date and time */
    text-align: center; /* Center the text */
    font-family: 'Courier New', Courier, monospace; /* Monospace font */
    width: 300px; /* Fixed width to prevent layout shift */
    margin-left: auto; /* Center the container */
    margin-right: auto; /* Center the container */
    white-space: nowrap; /* Prevent text from wrapping */
}
input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}
}