/* Navigation Styles */
@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700&family=General+Sans:wght@400;500;600;700&display=swap');

:root {
    --primary-color: #e30614;
    --secondary-color: #242424;
    --text-color: #242424;
    --light-gray: #f5f5f5;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --error-color: #dc3545;
    --warning-color: #ffc107;
}

* {
    box-sizing: border-box;
}

body {
    font-family: "General Sans", sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Sora", sans-serif;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: var(--secondary-color);
}

.elp-navigation {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #1a1a1a;
    border-right: 2px solid #e30614;
    z-index: 1000;
    overflow-y: auto;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Logo Section */
.elp-nav-header {
    padding: 30px 20px;
    border-bottom: 1px solid #333;
    background: linear-gradient(135deg, #1a1a1a 0%, #242424 100%);
}

.elp-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.elp-logo-text {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #e30614;
    text-shadow: 0 0 10px rgba(227, 6, 20, 0.3);
    letter-spacing: 1px;
}

.elp-logo-trademark {
    position: absolute;
    top: -5px;
    right: -15px;
    font-size: 10px;
    color: #fff;
    font-weight: 400;
}

/* Navigation Menu */
.elp-nav-menu {
    padding: 20px 0;
    height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.elp-nav-section {
    margin-bottom: 30px;
    padding: 0 20px;
}

.elp-nav-section-title {
    color: #666;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #333;
    font-family: 'General Sans', sans-serif;
}

/* Navigation Items */
.elp-nav-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #ccc;
    text-decoration: none;
    border-radius: 0;
    margin-bottom: 5px;
    transition: all 0.3s ease;
    position: relative;
    font-family: 'General Sans', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.elp-nav-item:hover {
    background: rgba(227, 6, 20, 0.1);
    color: #fff;
    transform: translateX(5px);
}

.elp-nav-item.elp-nav-active {
    background: rgba(227, 6, 20, 0.2);
    color: #ffffff;
    border-left: 3px solid #e30614;
    padding-left: 12px;
}

.elp-nav-item.elp-nav-active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #e30614;
    box-shadow: 0 0 10px rgba(227, 6, 20, 0.5);
    animation: pulse 2s infinite;
}

.elp-nav-icon {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.elp-nav-text {
    font-weight: 500;
    transition: all 0.3s ease;
}

/* User Information Section */
.elp-nav-section-user {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 20px;
    border-top: 1px solid #333;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-left: 20px;
    margin-right: 20px;
}

.elp-nav-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.elp-nav-user-avatar {
    width: 40px;
    height: 40px;
    background: #e30614;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    font-family: 'Sora', sans-serif;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(227, 6, 20, 0.3);
}

.elp-nav-user-details {
    flex: 1;
    min-width: 0;
}

.elp-nav-user-name {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: 'General Sans', sans-serif;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.elp-nav-user-email {
    color: #999;
    font-size: 12px;
    font-family: 'General Sans', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Logout Section */
.elp-nav-section-bottom {
   
   
    margin-bottom: 20px;
    
}

.elp-nav-logout {
    color: #ff6b6b !important;
}

.elp-nav-logout:hover {
    background: rgba(255, 107, 107, 0.1) !important;
    color: #ff6b6b !important;
}

/* Scrollbar Styles */
.elp-navigation::-webkit-scrollbar {
    width: 6px;
}

.elp-navigation::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.elp-navigation::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 3px;
}

.elp-navigation::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Main Content Area */
.elp-main-content {
   
    min-height: 100vh;
    background: #fff;
    transition: margin-left 0.3s ease;
    width: 100%;
    font-family: 'General Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Top Header */
.elp-top-header {
    background: #fff;
    padding: 15px 30px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.elp-search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.elp-search-input {
    padding: 10px 15px 10px 40px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    width: 300px;
    background: #f8f9fa;
    transition: all 0.3s ease;
}

.elp-search-input:focus {
    outline: none;
    border-color: #e30614;
    box-shadow: 0 0 0 3px rgba(227, 6, 20, 0.1);
    background: #fff;
}

.elp-search-icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    color: #666;
}

.elp-user-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.elp-header-icons {
    display: flex;
    gap: 15px;
}

.elp-header-icon {
    width: 20px;
    height: 20px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.elp-header-icon:hover {
    color: #e30614;
}

.elp-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
}

.elp-user-info:hover {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.elp-user-avatar {
    width: 32px;
    height: 32px;
    background: #e30614;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Sora', sans-serif;
}

.elp-user-details {
    display: flex;
    flex-direction: column;
}

.elp-user-name {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    font-family: 'General Sans', sans-serif;
}

.elp-user-email {
    color: #666;
    font-size: 12px;
    font-family: 'General Sans', sans-serif;
}

.elp-user-dropdown {
    width: 16px;
    height: 16px;
    color: #666;
    transition: transform 0.3s ease;
}

.elp-user-info:hover .elp-user-dropdown {
    transform: rotate(180deg);
}

/* Header Logout Button */
.elp-header-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.elp-header-logout:hover {
    background: #fff;
    color: #e30614;
    border-color: #e30614;
    box-shadow: 0 2px 8px rgba(227, 6, 20, 0.2);
    transform: scale(1.05);
}

.elp-header-logout-icon {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
}

/* Notification Styles */
.elp-notification-container {
    position: relative;
}

.elp-notification-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.elp-notification-icon:hover {
    background: #fff;
    color: #e30614;
    border-color: #e30614;
    box-shadow: 0 2px 8px rgba(227, 6, 20, 0.2);
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #e30614;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    font-family: 'General Sans', sans-serif;
    border: 2px solid #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.notification-badge:empty {
    display: none;
}

/* Notification Dropdown */
.elp-notification-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 350px;
    max-height: 400px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}

.elp-notification-dropdown.elp-notification-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.elp-notification-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}
.elp-top-header .elp-header{    
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
    border-bottom: 0 !important;
}
.elp-notification-header h4 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #333;
    font-family: 'Sora', sans-serif;
}

.elp-notification-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.elp-notification-close:hover {
    background: #e0e0e0;
    color: #333;
}

.elp-notification-list {
    max-height: 300px;
    overflow-y: auto;
    padding: 0;
}

.elp-notification-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.elp-notification-item:hover {
    background: #f8f9fa;
}

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

.elp-notification-icon {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    background: #e30614;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.elp-notification-icon svg {
    width: 16px;
    height: 16px;
}

.elp-notification-unread-dot {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #e30614;
    border-radius: 50%;
    border: 1px solid #fff;
}

.elp-notification-item.elp-notification-unread {
    background: rgba(227, 6, 20, 0.05);
    border-left: 3px solid #e30614;
    padding-left: 17px;
}

.elp-notification-item.elp-notification-unread .elp-notification-title {
    font-weight: 700;
    color: #e30614;
}

.elp-notification-item.elp-notification-unread .elp-notification-icon {
    position: relative;
}

.elp-notification-content {
    flex: 1;
    min-width: 0;
}

.elp-notification-title {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    margin-bottom: 4px;
    font-family: 'General Sans', sans-serif;
}

.elp-notification-message {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
    font-family: 'General Sans', sans-serif;
}

.elp-notification-time {
    font-size: 11px;
    color: #999;
    font-family: 'General Sans', sans-serif;
}

.elp-notification-empty {
    padding: 30px 20px;
    text-align: center;
    color: #666;
    font-size: 14px;
    font-family: 'General Sans', sans-serif;
}

.elp-notification-footer {
    padding: 15px 20px;
    border-top: 1px solid #e0e0e0;
    background: #f8f9fa;
    border-radius: 0 0 8px 8px;
    justify-content: space-between;
    align-items: center;
    display: flex;
}

.elp-notification-view-all {
    display: block;
    text-align: center;
    padding: 10px;
    background: #e30614;
    color: #fff;
    text-decoration: none;
    border-radius: 0px;
    font-weight: 600;
    font-size: 14px;
    font-family: 'General Sans', sans-serif;
    transition: all 0.3s ease;
}

.elp-notification-view-all:hover {
    background: #c40511;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(227, 6, 20, 0.3);
}

/* Content Wrapper */
.elp-content-wrapper {
    padding: 30px;
    min-height: calc(100vh - 80px);
}

/* Mobile Navigation Toggle */
.elp-nav-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1001;
    background: #e30614;
    border: none;
    color: #fff;
    padding: 10px;
    border-radius: 6px;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(227, 6, 20, 0.3);
}

.elp-nav-toggle:hover {
    background: #c40511;
    transform: scale(1.05);
}

.elp-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.elp-nav-overlay.elp-nav-open {
    opacity: 1;
    visibility: visible;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .elp-navigation {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .elp-navigation.elp-nav-open {
        transform: translateX(0);
    }
    
    .elp-main-content {
        margin-left: 0;
    }
    
    .elp-nav-toggle {
        display: block;
    }
    
    .elp-nav-overlay {
        display: block;
    }
    
    .elp-top-header {
        padding: 15px 20px;
    }
    
    .elp-search-input {
        width: 250px;
    }
    
    .elp-user-details {
        display: none;
    }
    
    .elp-notification-dropdown {
        width: 300px;
        right: -50px;
    }
}

@media (max-width: 768px) {
    .elp-navigation {
        width: 100%;
        max-width: 300px;
    }
    
    .elp-nav-header {
        padding: 20px 15px;
    }
    
    .elp-logo-text {
        font-size: 20px;
    }
    
    .elp-nav-section {
        padding: 0 15px;
    }
    
    .elp-nav-item {
        padding: 10px 12px;
    }
    
    .elp-nav-icon {
        width: 18px;
        height: 18px;
    }
    
    .elp-top-header {
        padding: 10px 15px;
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }
    
    .elp-search-container {
        order: 2;
    }
    
    .elp-user-section {
        order: 1;
        justify-content: space-between;
    }
    
    .elp-search-input {
        width: 100%;
    }
    
    .elp-header-icons {
        gap: 10px;
    }
    
    .elp-notification-dropdown {
        width: 280px;
        right: -30px;
    }
}

/* Active Navigation Item Icon */
.elp-nav-item.elp-nav-active .elp-nav-icon {
    color: #e30614;
}

/* Pulse Animation for Active Item */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Hover Effects for Navigation Icons */
.elp-nav-item:hover .elp-nav-icon {
    transform: scale(1.1);
    color: #e30614;
}

/* Focus States */
.elp-nav-item:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(227, 6, 20, 0.3);
}

/* Loading State for Navigation Items */
.elp-nav-item.elp-nav-loading {
    opacity: 0.6;
    pointer-events: none;
}

.elp-nav-item.elp-nav-loading::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    border: 2px solid #e30614;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: translateY(-50%) rotate(360deg);
    }
} 