/* Custom CSS for the control panel dashboard */
body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background: #f4f4f4;
}

.red-button {
    background-color: #A51E25;
    color: white;
    border: none;
    padding: 7px 10px;
    text-align: center;
    text-decoration: none;
    margin: 4px 2px;
    cursor: pointer;
    width: auto;
    display: inline-block;
    font-size: 14px;
    border-radius: 7px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.red-button.delete-disabled {
    background-color: pink;
    color: white;
    cursor: not-allowed;
}

.label-completed {
    font-size: 10px;
    background-color: #A51E25;
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
}

.admin-dashboard {
    display: grid;
    grid-template-columns: 200px 1fr;
    height: 100vh;
    overflow: hidden;
}

/* Sidebar Styling */
.admin-sidebar {
    background-color: #A51E25;
    color: white;
    padding: 10px;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    transition: transform 0.3s ease-in-out;
    position: relative;
    z-index: 1000;
}

/* Sidebar Header */
.admin-sidebar h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

/* Sidebar Links */
.admin-sidebar a {
    display: block;
    color: white;
    padding: 6px;
    margin-bottom: 6px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-size: 15px;
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.admin-sidebar a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Content Area Styling */
.admin-content {
    background-color: #f4f4f4;
    padding: 20px;
    overflow-y: auto;
}

/* Responsive Design for Smaller Screens */
@media only screen and (max-width: 768px) {
    .admin-dashboard {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: -200px;
        width: 200px;
        height: 100vh;
        transform: translateX(-200px);
    }

    .admin-sidebar:target {
        transform: translateX(0);
    }

    .admin-content {
        grid-column: span 1;
    }

    .hamburger {
        display: block;
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1100;
        background: #A51E25;
        color: white;
        border: none;
        padding: 10px;
        font-size: 20px;
        cursor: pointer;
        border-radius: 5px;
    }
}

/* Remaining styles unchanged */
.control-panel {
    background-color: #A51E25;
    color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.control-panel h1 {
    font-size: 24px;
}

.filter-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 20px;
}

select, input[type="date"], button {
    padding: 10px;
    border: none;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

button {
    background-color: #A51E25;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #8A181C;
}

.container {
    width: 100%;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.container-fluid {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 20px;
    padding-right: 20px;
  }

.custom-notes {
    width: 10% !important;
    max-width: 10% !important;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.custom-actions button {
    display: inline-block !important;
    white-space: nowrap !important;
}

#data-table th {
    font-size: 13px !important;
    padding: 4px 8px;
}

#data-table td {
    font-size: 12px !important;
    white-space: normal !important;
}

#data-table td.notes-data {
    white-space: normal !important;
}

.custom-btn {
    box-sizing: border-box;
    background-color: #707070;
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    border: none;
    margin: 5px 0;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
}

.custom-btn:hover {
    background-color: #8A181C;
}