/* Global Styles */
html, body {
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
    max-width: 100%;
}

/* Navbar Styles */
.navbar {
    background-color: #00bcd4;
    z-index: 1030;
}

.navbar .container-fluid {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}



.navbar .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 0;
}

.navbar .notification-icon {
    order: 2;
    margin-left: auto;
}

.navbar .navbar-brand {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 10px;
}

.h5, h5 {
    font-size: 0.8rem
}

/*.navbar .navbar-brand::after {*/
/*    content: '';*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: -10%;*/
/*    width: 120%;*/
/*    height: 3px;*/
/*    background-color: #ff0000;*/
/*}*/

/* Grid System */
.row {
    margin-bottom: -20px;
}

.col-md-6 {
    margin-bottom: 20px;
    display: flex;
}

/* Card Styles */
.category-card {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.category-header {
    background-color: #00bcd4;
    color: white;
    padding: 15px;
    text-align: center;
    flex: 0 0 auto;
}

.category-body {
    background-color: white;
    padding: 15px;
    text-align: center;
    flex: 1 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-body p {
    margin: 0;
}

/* Reports Table Styles */
.reports-table {
    margin-bottom: 0;
}

.reports-table th {
    border-bottom: 2px solid #dee2e6;
    padding: 1rem;
    font-weight: 600;
    color: #495057;
}

.reports-table td {
    padding: 1rem;
    vertical-align: middle;
    border-color: #dee2e6;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-badge.closed {
    background-color: #e8f5e9;
    color: #75c124;
}

.status-badge.opened {
    background-color: #ffebee;
    color: #c62828;
}

.status-badge.processing {
    background-color: #ffebee;
    color: #fb82c1;
}


.status-badge.emergency {
    background-color: #FF0000; /* Red */
    color: white; /* Text color */
}

.status-badge.high {
    background-color: #FFA500; /* Orange */
    color: white; /* Text color */
}

.status-badge.medium {
    background-color: #FFFF00; /* Yellow */
    color: black; /* Text color */
}

.status-badge.low {
    background-color: #008000; /* Green */
    color: white; /* Text color */
}

.details-link {
    color: #00bcd4;
    text-decoration: none;
    font-weight: 500;
}

.details-link:hover {
    color: #0097a7;
    text-decoration: underline;
}

/* New Report Page Styles */
.upload-box {
    width: 120px;
    height: 120px;
    border: 2px dashed #ccc;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #666;
}

.upload-box:hover {
    border-color: #00bcd4;
    color: #00bcd4;
}

.privacy-notice {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border-left: 4px solid #00bcd4;
}

.form-check {
    margin-bottom: 10px;
}

.form-check-input:checked {
    background-color: #00bcd4;
    border-color: #00bcd4;
}

/* Report Details Styles */
.report-details .detail-row {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    padding: 1rem 0;
}

.report-details .detail-row:last-child {
    border-bottom: none;
}

.report-details .detail-label {
    width: 20%;
    color: #6c757d;
    font-weight: 500;
}

.report-details .detail-value {
    flex: 1;
    color: #212529;
}

.report-details .priority-medium {
    color: #f57c00;
}

.media-box {
    border: 2px solid #002855;
    border-radius: 10px;
    padding: 2rem;
    text-align: center;
    background-color: #002855;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.media-box:hover {
    opacity: 0.9;
}

.media-box i {
    display: block;
    margin-bottom: 0.5rem;
}

.employee-section {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 1rem;
}

.employee-header {
    margin-bottom: 1rem;
}

.employee-badge {
    float: inline-end;
    background-color: #00bcd4;
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    margin-right: 0.5rem;
}

.employee-name {
    font-weight: 500;
    color: #212529;
}

.employee-content {
    color: #495057;
    line-height: 1.6;
}

/* Notification Styles */
.notification-icon {
    position: relative;
    margin-right: 15px;
    cursor: pointer;
}

.notification-icon i {
    font-size: 1.2rem;
}

.notification-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: black;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

/* Sidebar Styles */
.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    top: 0;
    left: -250px;
    background: linear-gradient(180deg, #00bcd4 0%, #1565C0 100%);
    transition: 0.3s;
    z-index: 1040;
    box-shadow: 2px 0 5px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    color: white;
}

.sidebar.active {
    left: 0;
}

.sidebar .profile-section {
    padding: 40px 20px 20px;
    background: linear-gradient(180deg, #00bcd4 0%, transparent 100%);
    position: sticky;
    top: 0;
    z-index: 1;
}

.sidebar .profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.sidebar .profile-name {
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 5px;
}

.sidebar .menu-items-container {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 20px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) rgba(255, 255, 255, 0.1);
}

.sidebar .menu-items-container::-webkit-scrollbar {
    width: 6px;
}

.sidebar .menu-items-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.sidebar .menu-items-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.3);
    border-radius: 6px;
}

.sidebar .menu-items {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar .menu-items li {
    padding: 12px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.sidebar .menu-items li a {
    color: white;
    text-decoration: none;
    flex: 1;
}

.sidebar .menu-items li:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.sidebar .menu-items i {
    width: 24px;
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Overlay */
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    right: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1035;
}

.overlay.active {
    display: block;
}

/* Media Queries */
@media (min-width: 992px) {
    .sidebar {
        left: 0;
    }
    .main-content {
        margin-left: 250px;
        width: calc(100% - 250px);
    }
    .navbar {
        width: calc(100% - 250px);
        margin-left: 250px;
    }
}

/* Profile Page Styles */
.profile-page {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 20px auto;
}

.profile-header {
    background-color: #00bcd4;
    margin: -20px -20px 20px;
    padding: 15px 20px;
    color: white;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.profile-header h1 {
    margin: 0;
    font-size: 1.5rem;
}

.profile-header .close-btn {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.profile-header .back-btn {
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: #00bcd4;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-avatar i {
    font-size: 4rem;
    color: white;
}

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

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #666;
}

.form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group .password-input {
    position: relative;
}

.form-group .password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    cursor: pointer;
}

.update-btn {
    background-color: #e91e63;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    width: 100%;
    max-width: 200px;
    margin: 20px auto;
    display: block;
    transition: background-color 0.3s ease;
}

.update-btn:hover {
    background-color: #d81b60;
}

.profile-image-container {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
    cursor: pointer;
}

.profile-image-wrapper {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-image-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.profile-image-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.profile-image-wrapper i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #666;
    transition: color 0.3s ease;
}

.fas.fa-camera {
    font-size: 24px !important;
}

.profile-image-container:hover .profile-image-overlay {
    opacity: 1;
}

.profile-image-overlay i {
    font-size: 24px;
}

.profile-image-wrapper i {
    color: #666;
    transition: color 0.3s ease;
}

.profile-image-container:hover .profile-image-wrapper i {
    color: #333;
}

/* RTL Support */
[dir="rtl"] .profile-image-container {
    margin: 0 0 30px 0;
}
.circular-image
{
    height: 100px;
    border-radius: 10%;
    overflow: hidden;
    display: flex;
}
.div_img
{
    justify-content: center;
    display: flex;
    margin: 30px
}
.video_box
{
    display: block !important;
}
.upload-preview {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.upload-box {
    border: 2px dashed #ccc;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
//  cursor: pointer;
    transition: all 0.3s ease;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.upload-box:hover {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.upload-box i {
    font-size: 32px;
    margin-bottom: 10px;
}

.upload-box.file-selected {
    border-color: #007bff;
    background-color: #f8f9fa;
}

.upload-box.file-selected i {
    color: #007bff;
}

/* RTL Support */
[dir="rtl"] .upload-box {
    text-align: center;
}
