/* Base styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f7f6;
    color: #333;
    font-family:poppins;
}

 .fa-hamburger{
        display:none;
    }
    
/* Dashboard Container */
.dashboard {
    display: flex;
    flex-direction: row;
    min-height: 100vh;
    background-color: #fff;
}

/* Sidebar */
.menu-body {
    width: 20%;
    background-color: #2c3e50; /* Dark grey */
    color: #ecf0f1; /* Light grey */
    transition: 0.3s;
    padding: 20px;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
}

.menu-body h6 {
    font-size: 24px;
    margin-bottom: 20px;
}

.menu-body ul {
    list-style: none;
    padding: 0;
}

.menu-body ul li {
    margin-bottom: 15px;
}

.menu-body ul li a {
    color: #ecf0f1; /* Light grey text color */
    text-decoration: none;
    font-size: 16px;
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 5px; /* Rounded corners for hover effect */
    transition: background-color 0.3s, color 0.3s;
}

.menu-body ul li a:hover {
    background-color: #34495e; /* Slightly lighter dark grey */
}

.menu-body .logo-container hr {
    border: 1px solid #ecf0f1; /* Light grey */
    width: 100%;
    margin: 10px 0;
}

/* Main content */
.board {
    width: 80%;
    padding: 20px;
    overflow: auto;
}

a{
    cursor: pointer !important;
}

/* Header & Menu */
.menu-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #34495e; /* Dark grey */
    color: #ecf0f1; /* Light grey */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.menu-container h6 {
    font-size: 18px;
    margin: 0;
}

.menu-board {
    display: flex;
    align-items: center;
    gap: 15px;
}

.menu input[type="search"] {
    padding: 10px;
    border-radius: 25px;
    border: none;
    outline: none;
    width: 200px;
    font-size: 14px;
    background-color: #2c3e50; /* Dark grey */
    color: #ecf0f1; /* Light grey text color */
}

.menu input[type="search"]::placeholder {
    color: #bdc3c7; /* Placeholder color */
}

.menu .fa-bars, .menu .fa-bell, .menu .fa-comments {
    color: #ecf0f1; /* Light grey icons */
    padding: 10px;
    border-radius: 50%;
    background-color: #2c3e50; /* Dark grey */
    cursor: pointer;
    transition: background-color 0.3s;
}

.menu .fa-bars:hover, .menu .fa-bell:hover, .menu .fa-comments:hover {
    background-color: #34495e; /* Slightly lighter dark grey */
}

/* Manage Section */
.manage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    background-color: #ecf0f1; /* Light grey */
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.manage h6 {
    font-size: 16px;
    margin: 0;
    font-weight:bold !important;
}

.add-delete {
    display: flex;
    gap: 15px;
}

.add-delete a {
    color: #fff; /* White text color */
    text-decoration: none;
    font-size: 14px;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.add-delete .add_report {
    background-color: #27ae60; /* Green */
}

.add-delete .add_report:hover {
    background-color: #2ecc71; /* Lighter green */
}

.add-delete .remove_report {
    background-color: #e74c3c; /* Red */
}

.add-delete .remove_report:hover {
    background-color: #c0392b; /* Darker red */
}

/* Table Styles */
.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

table thead {
    background-color: #34495e; /* Dark grey */
    color: #ecf0f1; /* Light grey */
}

table thead th {
    padding: 15px;
    font-size: 14px;
    text-align: left;
}

table tbody tr {
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

table tbody td {
    padding: 15px;
    font-size: 14px;
}

table tbody td img {
    border-radius: 5px;
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.pagination-container p {
    font-size: 14px;
}

.pagination {
    display: flex;
    gap: 10px;
}

.pagination a {
    text-decoration: none;
    color: #34495e; /* Dark grey text color */
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 5px;
    border: 1px solid #ddd;
    transition: background-color 0.3s, color 0.3s;
}

.pagination a:hover {
    background-color: #3498db; /* Blue */
    color: #fff; /* White text color */
}

.pagination .active {
    background-color: #3498db; /* Blue */
    color: #fff; /* White text color */
    border: none;
}

/* Responsive Styles */
@media only screen and (max-width: 768px) {
     .menu-body {
        width: 100%;
        position: fixed;
        height: 100%;
        top: 0;
        left:-80%;
        z-index:99;
        transition: left 0.3s;
    }
    
    .fa-hamburger{
        display:block;
    }
    
    .active-menu{
       left:-100%; 
    }

    .menu-body.active {
        left: 0;
    }

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

    .menu-board {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu input[type="search"] {
        width: 100%;
        margin: 10px 0;
    }

    .add-delete {
        flex-direction: column;
        align-items: flex-start;
    }

    .pagination-container {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Additional Styles */
textarea {
    font-size: 14px;
    padding: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
    background-color: #fff;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.form-input {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.form-input label {
    font-weight: bold;
    color: #333;
    font-size: 14px;
    margin-top: 15px;
    display: block;
}

.arrow-right, .arrow-left {
    padding: 8px 15px;
    background-color: #7e7d7d;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
}

.arrow-right:hover, .arrow-left:hover {
    background-color: #555555;
    transform: scale(1.05);
}

.arrow-right a, .arrow-left a {
    color: #fff;
    text-decoration: none;
}

/* File upload styling */
.file-container {
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 20px;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.file-upload {
    color: #fff;
    background-color: #2c3e50; /* Dark grey */
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    transition: background-color 0.3s, transform 0.3s;
}

.file-upload:hover {
    background-color: #34495e; /* Slightly lighter dark grey */
    transform: scale(1.05);
}

input[type="file"] {
    font-size: 14px;
    display: none;
}

.fw-bold{
    font-weight:bold !important;
}

.col-md-3 {
    font-size: 14px !important;
    text-transform:capitalize;
    
}

#preview-container {
    margin-top: 10px;
}
#preview-video {
    max-width: 100%;
    max-height: 150px;
    display: none; /* Initially hidden */
}

#image-preview {
    display: none;
    max-width: 100%;
    height:150px;
    margin-top: 10px;
}