/* General Header Styles */
header.site-header {
    height: 64px;
    color: var(--primary-text);
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    width: 100%;
}

/* Enhanced Profile photo styling - Blue circle with white text - HIGH PRIORITY */
.profile-photo,
#profile-initial,
#dropdown-profile-initial,
.avatar-dropdown-toggle .profile-photo {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(29, 78, 216, 0.5)) !important;
    background-color: rgba(37, 99, 235, 0.5) !important;
    color: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-weight: 700 !important;
    font-size: 16px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3) !important;
    transition: all 0.3s ease !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    position: relative !important;
    z-index: 1 !important;
    min-width: 36px !important;
    min-height: 36px !important;
    cursor: pointer !important;
    margin-right: 0 !important;
    /* CRITICAL: Make visible! */
    opacity: 1 !important;
    visibility: visible !important;
}

/* Override ALL hover states for profile photo */
.profile-photo:hover,
#profile-initial:hover,
#dropdown-profile-initial:hover,
.avatar-dropdown-toggle:hover .profile-photo,
.avatar-dropdown-toggle .profile-photo:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(37, 99, 235, 0.5)) !important;
    background-color: rgba(59, 130, 246, 0.5) !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Default user icon when no initial is available */
.profile-photo:empty::before {
    content: "👤";
    font-size: 18px;
    opacity: 0.8;
}

/* Alternative fallback with FontAwesome icon */
.profile-photo.no-initial::before {
    content: "\f007"; /* FontAwesome user icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 16px;
}

/* Ensure the toggle button is visible at all screen sizes */
.sidebar-toggle {
    font-size: 24px;
    color: var(--primary-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    color: var(--primary-color);
}

/* Remove padding since header is now static */
body {
    padding-top: 0 !important;
}

@media (max-width: 576px) {
    .profile-photo {
        width: 32px;
        height: 32px;
        font-size: 14px;
        border-width: 1px;
        box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    }
    
    .profile-photo:hover {
        transform: scale(1.05);
        box-shadow: 0 4px 12px rgba(37, 99, 235, 0.4);
    }
    
    header.site-header {
        padding: 0 10px;
    }
}

/* CRITICAL OVERRIDE: Force profile photo visibility - MUST BE LAST */
body .profile-photo,
body #profile-initial,
body #dropdown-profile-initial,
body .avatar-dropdown-toggle .profile-photo {
    opacity: 1 !important;
    visibility: visible !important;
    background-color: rgba(37, 99, 235, 0.5) !important;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.5), rgba(29, 78, 216, 0.5)) !important;
    color: #ffffff !important;
    display: flex !important;
}

/* Force hover state to work */
body .avatar-dropdown-toggle:hover .profile-photo {
    background-color: rgba(59, 130, 246, 0.5) !important;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(37, 99, 235, 0.5)) !important;
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    opacity: 1 !important;
}

/* Header Search Bar - Enhanced Design */
.header-search-container {
    flex: 1;
    max-width: 800px; /* Increased width */
    margin: 0 40px; /* More margin for better spacing */
    position: relative;
    display: flex;
    justify-content: center; /* Center the search bar */
}

.search-input-wrapper {
    position: relative;
    width: 100%;
}

.header-search-input {
    width: 100%;
    height: 60px; /* Increased height from 52px to 60px */
    padding: 18px 52px 18px 24px; /* Increased padding */
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px; /* Adjusted radius for new height */
    background: rgba(26, 31, 44, 0.8); /* More prominent background */
    color: var(--primary-text);
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
    outline: none;
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.header-search-input:focus {
    border-color: var(--primary-color);
    background: rgba(26, 31, 44, 0.8);
    box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.1);
}

.header-search-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

.search-icon {
    position: absolute;
    right: 20px; /* Adjusted for new padding */
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 18px; /* Slightly larger */
    pointer-events: none;
    transition: color 0.3s ease;
}

.header-search-input:focus + .search-icon {
    color: var(--primary-color);
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(26, 31, 44, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    margin-top: 8px;
    max-height: 400px;
    overflow-y: auto;
    z-index: 1000;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Auth Navigation - Rounded Button Design */
.auth-nav {
    display: flex;
    align-items: center;
    gap: 12px;
}

.auth-nav-link {
    height: 40px;
    padding: 0 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    min-width: 80px;
    box-sizing: border-box;
}

.auth-nav-link.login-link {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-text);
    border-color: rgba(255, 255, 255, 0.2);
}

.auth-nav-link.login-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--primary-text);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.auth-nav-link.signup-link {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #121212;
    border-color: transparent;
    font-weight: 600;
}

.auth-nav-link.signup-link:hover {
    background: linear-gradient(135deg, var(--accent-color), var(--primary-color));
    color: #121212;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0, 255, 163, 0.3);
}

/* User Dropdown Toggle - Rounded Button Design */
.avatar-dropdown-toggle {
    height: 40px;
    padding: 0 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--primary-text);
    font-weight: 500;
    outline: none;
}

.avatar-dropdown-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.avatar-dropdown-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.2);
}

/* Header Layout Structure - Enhanced Flexbox */
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    gap: 16px;
}

/* Logo section */
.logo-container {
    display: flex;
    align-items: center;
    gap: 8px;
    /* padding: 8px 16px; */
    transition: all 0.3s ease;
    height: 40px;
    min-width: 80px;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-link {
    text-decoration: none;
    color: inherit;
}


/* Left section (logo + search) */
.header-inner > div:first-child {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 24px;
    min-width: 0;
}

/* Right section (auth/user info) */
#user-info,
.auth-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 12px;
}

/* Bot status indicator */
.bot-status-indicator {
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    height: 40px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-status-content {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bot-status-icon {
    color: var(--primary-color);
    font-size: 16px;
}

.bot-status-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-size: 12px;
}

.bot-status-label {
    font-weight: 600;
    color: var(--primary-text);
}

.bot-status-active {
    font-weight: 400;
    color: var(--primary-color);
}

/* Dropdown Menu - Rounded Design with Increased Spacing */
.dropdown-menu {
    background: rgba(26, 31, 44, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 12px 0;
    margin-top: 8px;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-width: 200px;
}

.dropdown-header {
    padding: 16px 20px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 8px;
}

.dropdown-item {
    padding: 12px 20px;
    color: var(--primary-text);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 12px;
    margin: 2px 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-text);
    transform: translateX(4px);
}

.dropdown-item.text-danger:hover {
    background: rgba(255, 55, 55, 0.1);
    color: var(--error-color);
}

.dropdown-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 8px 12px;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    header.site-header {
        padding: 12px 16px;
        height: 56px;
    }
    
    .header-search-container {
        margin: 0 16px;
        max-width: none;
        flex: 1;
    }
    
    /* Search input styling removed - using default styles only */
    
    .auth-nav-link,
    .avatar-dropdown-toggle {
        height: 36px;
        padding: 0 16px;
        font-size: 13px;
    }
    
    .logo-container {
        height: 36px;
        /* padding: 6px 12px; */
        min-width: 60px;
    }
    
    .header-inner {
        gap: 12px;
    }
    
    .header-inner > div:first-child {
        gap: 16px;
    }
    
    body {
        padding-top: 0 !important; /* No padding needed for static header */
    }
}

@media (max-width: 480px) {
    .header-search-container {
        margin: 0 8px;
    }
    
    .auth-nav {
        gap: 8px;
    }
    
    .auth-nav-link {
        min-width: 60px;
        padding: 0 12px;
    }
    
    .dropdown-menu {
        min-width: 180px;
        margin-top: 4px;
    }
}

/* Enhanced Focus States for Accessibility */
.header-search-input:focus,
.auth-nav-link:focus,
.avatar-dropdown-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 255, 163, 0.2);
}

/* Animation for smooth transitions */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-menu.show {
    animation: fadeInDown 0.2s ease-out;
}

/* Modern scrollbar for dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Hide any legacy main navigation that might appear - ULTRA AGGRESSIVE REMOVAL */
.main-nav,
nav.main-nav,
.nav-link,
a.nav-link,
.nav-text,
.nav-icon,
*[href="/dashboard"],
*[href="/bot/controller"],
a[href*="dashboard"]:not(.dropdown-item),
a[href*="controller"]:not(.dropdown-item),
a[href*="bot"]:not(.dropdown-item) {
    display: none !important;
    visibility: hidden !important;
    position: absolute !important;
    left: -9999px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: none !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-indent: -9999px !important;
    color: transparent !important;
}

/* Exception: Allow dropdown items to show */
.dropdown-menu .dropdown-item[href="/dashboard"],
.dropdown-menu .dropdown-item[href="/bot/controller"],
.dropdown-menu .dropdown-item[href*="dashboard"],
.dropdown-menu .dropdown-item[href*="controller"] {
    display: flex !important;
    visibility: visible !important;
    position: relative !important;
    left: auto !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    margin: 2px 8px !important;
    padding: 12px 20px !important;
    font-size: 14px !important;
    line-height: normal !important;
    text-indent: 0 !important;
    color: var(--primary-text) !important;
}

/* Force hide with animation */
@keyframes forceHide {
    0% { opacity: 1; }
    100% { 
        opacity: 0 !important;
        display: none !important;
        visibility: hidden !important;
    }
}

/* Apply hiding animation to any nav elements */
.main-nav,
nav.main-nav,
.nav-link:not(.dropdown-item),
a.nav-link:not(.dropdown-item) {
    animation: forceHide 0.1s forwards !important;
}

/* Immediate hide for specific elements */
*:has(> .nav-link):not(.dropdown-menu),
*:has(> .main-nav),
*:has(> nav.main-nav) {
    display: none !important;
}

/* Hide any text content that matches navigation */
*:contains("Dashboard"):not(.dropdown-item):not(.dropdown-menu *),
*:contains("Bot Controller"):not(.dropdown-item):not(.dropdown-menu *) {
    display: none !important;
}

/* Ensure header inner only shows logo, search, and auth sections */
.header-inner > div:first-child {
    display: flex !important;
    align-items: center !important;
    gap: 24px !important;
}

/* Remove any navigation from the first div of header-inner */
.header-inner > div:first-child > nav,
.header-inner > div:first-child > .main-nav,
.header-inner > div:first-child nav {
    display: none !important;
    visibility: hidden !important;
}

/* Comprehensive User Widget for Logged-In State - FORCE VISIBLE */
.user-section {
    display: flex;
    align-items: center;
    gap: 16px; /* space between elements */
}

/* USER WIDGET AND NOTIFICATION STYLING */

.user-widget {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px; /* Increased padding for better visibility */
    border-radius: 24px; /* More pronounced pill shape */
    background: rgba(255, 255, 255, 0.08); /* Subtle but visible background */
    border: 1px solid rgba(255, 255, 255, 0.15); /* Subtle border */
    cursor: pointer;
    transition: all 0.3s ease;
    height: 44px; /* Slightly taller for better proportion */
    box-sizing: border-box;
    max-width: 280px; /* Limit width to prevent overflow */
    overflow: hidden; /* Hide any overflow */
    white-space: nowrap; /* Prevent text wrapping */
    backdrop-filter: blur(8px); /* Add subtle blur effect */
    -webkit-backdrop-filter: blur(8px); /* Safari support */
    color: inherit; /* Inherit text color */
    font-family: inherit; /* Inherit font */
}

/* Remove default button styling */
button.user-widget {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--primary-text);
}

/* Hide the default Bootstrap dropdown arrow */
.user-widget.dropdown-toggle::after {
    display: none;
}

.user-widget:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 255, 255, 0.15);
}

.user-info-text {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* right-aligned text */
    gap: 2px;
    min-width: 120px;
    max-width: 180px; /* Limit text width */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Add ellipsis for long text */
    flex-shrink: 1; /* Allow text to shrink */
}

.username {
    font-weight: 500;
    font-size: 14px;
    color: var(--primary-text);
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.user-stats {
    display: flex;
    gap: 12px;
    font-size: 12px;
    opacity: 0.8;
    color: var(--secondary-text);
    line-height: 1.2;
    overflow: hidden;
    white-space: nowrap;
    max-width: 100%;
}

.user-stat-item {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0; /* Prevent stats from shrinking */
    white-space: nowrap;
}

.user-stat-value {
    font-weight: 500;
    color: var(--primary-color);
}

/* Notification/Alert Icon */
.notification-icon {
    position: relative;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px; /* Smaller size */
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-icon:hover {
    transform: scale(1.1);
}

.notification-icon i {
    color: var(--primary-text);
    font-size: 18px; /* Slightly larger for better visibility */
    opacity: 0.9; /* Ensure good visibility */
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    background: #ff3737; /* Solid red for visibility */
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 4px;
    box-shadow: 0 2px 6px rgba(255, 55, 55, 0.4);
    border: 2px solid var(--secondary-background); /* Border for contrast */
}

/* Notification badge within dropdown menu */
.dropdown-item .notification-badge {
    position: static;
    margin-left: auto;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.dropdown-item#notification-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Header Layout for Logged-In State */
.header-logged-in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}

.right-section {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0; /* Prevent right section from shrinking */
    max-width: 400px; /* Limit maximum width */
    overflow: hidden; /* Hide any overflow */
}

/* Update existing user-info styling to use new widget */
#user-info {
    margin-right: 0 !important; /* Remove old margin */
}

/* Profile photo within user widget */
.user-widget .profile-photo {
    width: 32px !important;
    height: 32px !important;
    font-size: 14px !important;
    flex-shrink: 0;
}

/* Responsive adjustments for user widget */
@media (max-width: 768px) {
    .user-widget {
        padding: 8px 12px;
        gap: 8px;
        height: 40px; /* Maintain visible height */
        max-width: 220px; /* Smaller on mobile */
        border-radius: 20px; /* Slightly smaller radius */
    }
    
    .user-info-text {
        min-width: 80px;
        max-width: 140px; /* Smaller text area on mobile */
    }
    
    .username {
        font-size: 13px;
    }
    
    .user-stats {
        font-size: 11px;
        gap: 8px;
    }
    
    .notification-icon {
        width: 40px; /* Maintain visible size */
        height: 40px;
        padding: 8px;
    }
    
    .notification-icon i {
        font-size: 16px; /* Keep reasonably sized */
    }
    
    .right-section {
        gap: 12px; /* Smaller gap on mobile */
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .right-section {
        gap: 8px; /* Even smaller gap on tiny screens */
        max-width: 200px;
    }
    
    .user-widget {
        max-width: 160px; /* Much smaller on tiny screens */
        padding: 4px 8px;
    }
    
    .user-stats {
        display: none; /* Hide stats on very small screens */
    }
    
    .user-info-text {
        min-width: 60px;
        max-width: 100px;
    }
    
    .username {
        font-size: 12px;
    }
}

/* Notification Panel Styles */
.notification-panel {
  position: fixed;
  width: 350px;
  max-height: 500px;
  background: rgba(20, 24, 30, 0.98);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 10000;
  display: none;
  overflow: hidden;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notification-header h4 {
  margin: 0;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
}

.notification-header .btn-link {
  color: rgba(0, 255, 163, 0.8);
  text-decoration: none;
  font-size: 12px;
  padding: 0;
  border: none;
  background: none;
}

.notification-header .btn-link:hover {
  color: #00ffa3;
}

.notification-list {
  max-height: 400px;
  overflow-y: auto;
  padding: 8px 0;
}

.notification-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 20px;
  cursor: pointer;
  position: relative;
  transition: background-color 0.2s ease;
  border-left: 3px solid transparent;
}

.notification-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.notification-item.unread {
  background: rgba(0, 255, 163, 0.05);
  border-left-color: #00ffa3;
}

.notification-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.notification-icon.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.notification-icon.warning {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.notification-icon.error {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.notification-icon.info {
  background: rgba(59, 130, 246, 0.2);
  color: #3b82f6;
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 4px;
  line-height: 1.3;
}

.notification-message {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.notification-time {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.unread-indicator {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 8px;
  height: 8px;
  background: #00ffa3;
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(0, 255, 163, 0.5);
}

.no-notifications {
  text-align: center;
  padding: 40px 20px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .notification-panel {
    width: calc(100vw - 20px);
    right: 10px !important;
    left: 10px !important;
  }
}