* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}
body {
    display: flex;
    background: #f4f4f4;
}
.sidebar {
    width: 250px;
    background: #2C3E50;
    padding: 20px;
    color: white;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    border-radius: 5px;
    transition: 0.3s;
    cursor: pointer;
}
.sidebar a:hover {
    background: #1ABC9C;
}
.submenu {
    display: none;
    padding-left: 20px;
}
.submenu a {
    font-size: 14px;
    padding: 8px 0;
}
.sidebar a.active + .submenu {
    display: flex;
    flex-direction: column;
}
.topbar {
    width: 100%;
    background: white;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0px 2px 5px rgba(0,0,0,0.1);
}
.search-bar {
    padding: 10px;
}
.search-bar input {
    padding: 8px;
    width: 250px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
.icons {
    display: flex;
    gap: 15px;
    align-items: center;
    position: relative;
}
.icons i {
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s;
}
.icons i:hover {
    color: #1ABC9C;
}
.quick-access {
    display: flex;
    gap: 10px;
    align-items: center;
}
.quick-access i {
    font-size: 18px;
    cursor: pointer;
    transition: 0.3s;
}
.quick-access i:hover {
    color: #1ABC9C;
}
.content {
    padding: 20px;
    width: 100%;
    background: white;
    min-height: 100vh;
}

/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.popup-content {
    background: white;
    padding: 20px;
    border-radius: 8px;
    width: 400px;
    max-width: 90%;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    animation: fadeIn 0.3s;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
.popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.popup-header h3 {
    margin: 0;
    color: #2C3E50;
}
.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #777;
}
.popup-body {
    margin-bottom: 20px;
}
.popup-footer {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}
.btn {
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 500;
}
/* .btn-primary {
    background: #1ABC9C;
    color: white;
} */
.btn-secondary {
    background: #eee;
    color: #333;
}

/* Notification and Message Dropdowns */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    background: white;
    min-width: 300px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1;
    max-height: 400px;
    overflow-y: auto;
}
.dropdown-content a {
    color: #333;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    border-bottom: 1px solid #eee;
}
.dropdown-content a:hover {
    background: #f5f5f5;
}
.dropdown-header {
    padding: 12px 16px;
    background: #2C3E50;
    color: white;
    font-weight: bold;
}
.show {
    display: block;
    animation: fadeIn 0.3s;
}
.notification-item, .message-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.notification-icon, .message-icon {
    font-size: 16px;
    color: #1ABC9C;
    margin-top: 2px;
}
.notification-text, .message-text {
    flex: 1;
}
.notification-time, .message-time {
    font-size: 12px;
    color: #777;
}
.view-all {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    color: #1ABC9C;
    font-weight: 500;
}

/* Custom Modal Styles */
.modal-content {
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}
.modal-header {
    background: #2C3E50;
    color: white;
    border-radius: 8px 8px 0 0;
}
.modal-header .btn-close {
    filter: invert(1);
}
.modal-footer {
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
}
/* .modal-primary-btn {
    background-color: #1ABC9C;
    border-color: #1ABC9C;
} */
/* .modal-primary-btn:hover {
    background-color: #16a085;
    border-color: #16a085;
} */

/* Page Header Styles */
.page-header {
    background: linear-gradient(135deg, #2C3E50 0%, #1ABC9C 100%);
    color: white;
    padding: 20px 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}
.page-header h2 {
    margin: 0;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}
.page-header h2 i {
    font-size: 1.6rem;
    opacity: 0.9;
}
.page-header p {
    margin: 8px 0 0 0;
    opacity: 0.9;
    font-size: 0.95rem;
}





