/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 100%);
    background-attachment: fixed;
    min-height: 100vh;
    color: #e2e8f0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

body.dark-theme {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 25%, #2d2d2d 50%, #1e1e1e 100%);
    color: #f8fafc;
}

body.dark-theme::before {
    background: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

/* Glass Morphism Utility */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.dark-theme .glass {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Header Styles */
.office-header {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(120, 119, 198, 0.2);
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-section i {
    font-size: 2.5rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
}

.logo-section h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.025em;
}

.header-controls {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.clock-display {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 500;
    background: rgba(96, 165, 250, 0.1);
    padding: 0.75rem 1.25rem;
    border-radius: 15px;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.clock-display i {
    color: #60a5fa;
    font-size: 1.1rem;
}

/* Toggle Switch */
.office-hours-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 3px;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

input:checked + .slider {
    background: rgba(96, 165, 250, 0.3);
    border-color: rgba(96, 165, 250, 0.5);
}

input:checked + .slider:before {
    transform: translateX(30px);
    background: linear-gradient(135deg, #34d399, #60a5fa);
}

.theme-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #60a5fa;
    font-size: 1.2rem;
    position: relative;
    overflow: hidden;
}

.theme-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.theme-btn:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
}

.theme-btn:hover::before {
    left: 100%;
}

/* Main Office Container */
.virtual-office {
    max-width: 1600px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* Quick Access Toolbar */
.quick-access-toolbar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.toolbar-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    justify-content: center;
}

.toolbar-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s;
}

.toolbar-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(96, 165, 250, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(96, 165, 250, 0.3);
}

.toolbar-item:hover::before {
    left: 100%;
}

.toolbar-item i {
    font-size: 2rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 10px rgba(96, 165, 250, 0.3));
    transition: all 0.3s ease;
}

.toolbar-item:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.5));
}

.toolbar-item span {
    font-weight: 600;
    font-size: 0.95rem;
    color: #e2e8f0;
    letter-spacing: 0.025em;
}

.toolbar-item:hover span {
    color: #f8fafc;
}

/* Office Desk Area */
.office-desk {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* Ensure desktop layout for larger screens */
@media (min-width: 769px) {
    .office-desk {
        grid-template-columns: 1fr 1.5fr !important;
    }
    
    .desk-items {
        grid-template-columns: repeat(3, 1fr) !important;
        grid-template-rows: repeat(2, 1fr);
        gap: 1rem;
    }
}

.desk-left-column,
.desk-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Virtual Window */
.virtual-window {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 0;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.window-frame {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #87CEEB 0%, #98FB98 50%, #FFB6C1 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.window-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255, 255, 255, 0.2) 0%, transparent 40%);
    pointer-events: none;
}

.weather-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #2c3e50;
    z-index: 2;
    position: relative;
}

.weather-display i {
    font-size: 3.5rem;
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.weather-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.temperature {
    font-size: 1.5rem;
    font-weight: 700;
}

.location {
    font-size: 0.9rem;
    opacity: 0.8;
}

.window-blinds {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 20px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.1) 0px,
        rgba(255, 255, 255, 0.1) 2px,
        transparent 2px,
        transparent 8px
    );
}

/* Quick Stats Dashboard */
.quick-stats {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
}

.quick-stats h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #60a5fa;
    font-size: 1.1rem;
    font-weight: 600;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.stat-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.85rem;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.stat-change {
    font-size: 0.75rem;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    display: inline-block;
}

.stat-change.positive {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.stat-change.neutral {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

/* Enhanced Weather Widget */
.weather-widget {
    width: 100%;
    height: 100%;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    color: #1e293b;
    font-size: 0.9rem;
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.location-info i {
    color: #ef4444;
    font-size: 0.9rem;
}

.weather-time {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

.current-weather {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.weather-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.weather-icon-large {
    font-size: 3rem;
    color: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    animation: float 3s ease-in-out infinite;
}

.weather-temp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

#current-temp {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.temp-unit {
    display: flex;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    padding: 0.2rem;
    gap: 0.2rem;
}

.unit-btn {
    background: none;
    border: none;
    padding: 0.3rem 0.6rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    transition: all 0.3s ease;
}

.unit-btn.active {
    background: white;
    color: #1e293b;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.weather-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.weather-condition {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

#weather-status {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
}

#weather-description {
    font-size: 0.9rem;
    color: #64748b;
}

.weather-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    text-align: center;
}

.stat-item i {
    color: #3b82f6;
    font-size: 1rem;
}

.stat-item span:nth-child(2) {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-item span:nth-child(3) {
    font-weight: 600;
    color: #1e293b;
}

.weather-forecast {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    overflow: hidden;
}

.forecast-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.2);
    font-weight: 600;
    color: #1e293b;
}

.forecast-toggle {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.forecast-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #1e293b;
}

.forecast-toggle.expanded i {
    transform: rotate(180deg);
}

.forecast-list {
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.forecast-list.collapsed {
    max-height: 0;
}

.forecast-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.forecast-item:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

.forecast-day {
    font-weight: 500;
    color: #1e293b;
    min-width: 60px;
}

.forecast-icon {
    color: #f59e0b;
    font-size: 1.2rem;
    margin: 0 1rem;
}

.forecast-temp {
    font-weight: 600;
    color: #1e293b;
    text-align: right;
}

.weather-actions {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: auto;
}

.weather-btn {
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1e293b;
    position: relative;
}

.weather-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

.weather-btn i {
    font-size: 1rem;
}

.alert-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 2s infinite;
}

/* Weather Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
}

/* Weather Icon Variations */
.weather-icon-large.rainy {
    color: #3b82f6;
    animation: shake 0.5s ease-in-out infinite alternate;
}

.weather-icon-large.cloudy {
    color: #64748b;
}

.weather-icon-large.snowy {
    color: #e2e8f0;
    animation: float 2s ease-in-out infinite;
}

@keyframes shake {
    0% { transform: translateX(0); }
    100% { transform: translateX(2px); }
}

/* Responsive Weather Widget */
@media (max-width: 768px) {
    .weather-widget {
        padding: 0.75rem;
        gap: 0.75rem;
    }
    
    .current-weather {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 0.75rem;
    }
    
    .weather-main {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }
    
    .weather-icon-large {
        font-size: 2.5rem;
    }
    
    #current-temp {
        font-size: 2rem;
    }
    
    .weather-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .stat-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .forecast-list {
        max-height: 150px;
    }
    
    .forecast-item {
        padding: 0.5rem 0.75rem;
    }
    
    .forecast-day {
        min-width: 50px;
        font-size: 0.8rem;
    }
    
    .forecast-icon {
        font-size: 1rem;
        margin: 0 0.5rem;
    }
    
    .forecast-temp {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .weather-header {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .weather-main {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .weather-icon-large {
        font-size: 2rem;
    }
    
    #current-temp {
        font-size: 1.8rem;
    }
    
    .weather-actions {
        gap: 0.25rem;
    }
    
    .weather-btn {
        width: 35px;
        height: 35px;
    }
}

/* Desk Items Grid Layout */
.desk-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.desk-item {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    height: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.desk-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.6s;
}

.desk-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.desk-item:hover::before {
    left: 100%;
}

.desk-item i {
    font-size: 2.2rem;
    background: linear-gradient(135deg, #60a5fa, #a78bfa, #f472b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.desk-item:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px rgba(96, 165, 250, 0.5));
}

.item-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.item-count,
.coffee-level,
.growth-level,
.printer-queue,
.clips-count {
    font-size: 0.75rem;
    color: #94a3b8;
    background: rgba(96, 165, 250, 0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    border: 1px solid rgba(96, 165, 250, 0.2);
    margin-top: 0.25rem;
}

/* Enhanced Coffee Mug */
.coffee-mug {
    position: relative;
}

.steam,
.steam-2,
.steam-3 {
    position: absolute;
    top: 20px;
    width: 3px;
    height: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 2px;
    animation: steam 2s ease-in-out infinite;
}

.steam {
    left: 45%;
    animation-delay: 0s;
}

.steam-2 {
    left: 50%;
    animation-delay: 0.5s;
}

.steam-3 {
    left: 55%;
    animation-delay: 1s;
}

/* Enhanced Sticky Notes */
.notes-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1rem;
    margin-top: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 10;
    max-height: 200px;
    overflow-y: auto;
}

.desk-item:hover .notes-container {
    opacity: 1;
    transform: translateY(0);
}

.sticky-note {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #92400e;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    border-radius: 8px;
    font-size: 0.8rem;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.note-close {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    background: none;
    border: none;
    color: #92400e;
    cursor: pointer;
    font-size: 0.9rem;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.note-close:hover {
    background: rgba(146, 64, 14, 0.1);
}

/* Date Display */
.date-display {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.date-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
}

.date-month {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Activity Feed */
.activity-feed {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 1.5rem;
}

.activity-feed h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    color: #60a5fa;
    font-size: 1.1rem;
    font-weight: 600;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 300px;
    overflow-y: auto;
}

.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.activity-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
}

.activity-avatar {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-text {
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #94a3b8;
}

.activity-status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #64748b;
    flex-shrink: 0;
    margin-top: 0.5rem;
}

.activity-status.new {
    background: #60a5fa;
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.5);
}

.activity-status.success {
    background: #22c55e;
}

/* Dashboard Widgets */
.dashboard-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.widget {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.8s;
}

.widget:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.2);
}

.widget:hover::before {
    left: 100%;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.widget-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #60a5fa;
    font-size: 1.2rem;
    font-weight: 600;
}

.widget-badge {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

/* Enhanced Pomodoro Timer */
.timer-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.timer-circle {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timer-svg {
    position: absolute;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.timer-content {
    text-align: center;
    z-index: 2;
}

#pomodoro-time {
    font-family: 'JetBrains Mono', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    color: #60a5fa;
    display: block;
    margin-bottom: 0.5rem;
}

.timer-label {
    font-size: 0.9rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timer-controls {
    display: flex;
    gap: 1rem;
}

.timer-btn {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #e2e8f0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.timer-btn.primary {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    border-color: transparent;
    color: white;
}

.timer-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
}

.timer-btn.primary:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
}

.pomodoro-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.25rem;
}

.stat-text {
    font-size: 0.8rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Enhanced Task Widget */
.task-progress {
    margin-bottom: 1.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #60a5fa, #a78bfa);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 0.9rem;
    color: #94a3b8;
}

.task-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
    max-height: 300px;
    overflow-y: auto;
}

.task-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
}

.task-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
}

.task-item input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #60a5fa;
    margin-top: 0.1rem;
}

.task-item label {
    flex: 1;
    cursor: pointer;
    line-height: 1.4;
    font-size: 0.95rem;
}

.task-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.priority-badge.high {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.priority-badge.medium {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.priority-badge.low {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.task-due {
    font-size: 0.8rem;
    color: #94a3b8;
}

.add-task-btn {
    width: 100%;
    background: rgba(96, 165, 250, 0.1);
    border: 1px dashed rgba(96, 165, 250, 0.3);
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #60a5fa;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.add-task-btn:hover {
    background: rgba(96, 165, 250, 0.15);
    border-style: solid;
}

/* Meeting Widget */
.meeting-schedule {
    margin-bottom: 1.5rem;
}

.meeting-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.meeting-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
}

.meeting-item.current {
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(96, 165, 250, 0.05);
}

.meeting-time {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
    color: #60a5fa;
    min-width: 80px;
}

.meeting-info {
    flex: 1;
}

.meeting-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.meeting-participants {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.participant {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.participant-count {
    background: rgba(255, 255, 255, 0.1);
    color: #94a3b8;
    font-size: 0.75rem;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
}

.meeting-status {
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.meeting-status.upcoming {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.meeting-status.scheduled {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.meeting-controls {
    display: flex;
    gap: 1rem;
}

.meeting-btn {
    flex: 1;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: 12px;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: #22c55e;
    font-weight: 500;
}

.meeting-btn.primary {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: transparent;
}

.meeting-btn:hover {
    background: rgba(34, 197, 94, 0.2);
    transform: translateY(-2px);
}

.meeting-btn.primary:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
}

/* Analytics Widget */
.analytics-chart {
    margin-bottom: 1.5rem;
}

.chart-bars {
    display: flex;
    align-items: end;
    justify-content: space-between;
    height: 120px;
    gap: 0.5rem;
    padding: 1rem 0;
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(96, 165, 250, 0.3), rgba(96, 165, 250, 0.6));
    border-radius: 4px 4px 0 0;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 20px;
}

.chart-bar:hover {
    background: linear-gradient(to top, rgba(96, 165, 250, 0.5), rgba(96, 165, 250, 0.8));
    transform: scaleY(1.05);
}

.chart-bar.active {
    background: linear-gradient(to top, #60a5fa, #3b82f6);
}

.bar-value {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    font-weight: 600;
    color: #60a5fa;
}

.bar-label {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.75rem;
    color: #94a3b8;
}

.analytics-summary {
    display: flex;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item {
    text-align: center;
}

.summary-label {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.summary-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #60a5fa;
}

.summary-value.positive {
    color: #22c55e;
}

/* Team Footer */
.team-footer {
    background: rgba(15, 15, 35, 0.8);
    backdrop-filter: blur(25px);
    border-top: 1px solid rgba(120, 119, 198, 0.2);
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.footer-content {
    max-width: 1600px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #60a5fa;
    font-size: 1.4rem;
    font-weight: 600;
}

.team-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.stat-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stat-dot.online {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.stat-dot.away {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.stat-dot.busy {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transition: left 0.6s;
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.3);
}

.team-member:hover::before {
    left: 100%;
}

.member-avatar {
    position: relative;
    flex-shrink: 0;
}

.avatar {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.1);
    border: 2px solid rgba(96, 165, 250, 0.2);
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(15, 15, 35, 0.8);
}

.status-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
}

.status-indicator.away {
    background: #f59e0b;
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.5);
}

.status-indicator.busy {
    background: #ef4444;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
}

.member-info {
    flex: 1;
}

.member-info h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #f8fafc;
}

.member-info p {
    color: #94a3b8;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.member-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1rem;
}

.status {
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    width: fit-content;
}

.status.online {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status.away {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status.busy {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.last-seen {
    font-size: 0.8rem;
    color: #64748b;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.skill {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.member-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-self: flex-start;
}

.action-btn {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #60a5fa;
}

.action-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(96, 165, 250, 0.3);
}

.action-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.action-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* Social Feed */
.social-feed-section h3 {
    color: #60a5fa;
    font-size: 1.2rem;
    font-weight: 600;
}

.post-btn {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    border: none;
    border-radius: 12px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.3);
}

.feed-container {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feed-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.feed-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
}

.feed-item {
    display: flex;
    gap: 1rem;
}

.feed-avatar {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

.feed-content {
    flex: 1;
}

.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.feed-header strong {
    color: #f8fafc;
    font-weight: 600;
}

.feed-time {
    font-size: 0.8rem;
    color: #64748b;
}

.feed-text {
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #e2e8f0;
}

.feed-actions {
    display: flex;
    gap: 1rem;
}

.feed-action {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.85rem;
    padding: 0.25rem 0.5rem;
    border-radius: 8px;
}

.feed-action:hover {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes steam {
    0% { opacity: 0; transform: translateY(0) scale(1); }
    50% { opacity: 1; transform: translateY(-10px) scale(1.1); }
    100% { opacity: 0; transform: translateY(-25px) scale(0.8); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOut {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 5px rgba(96, 165, 250, 0.5); }
    50% { box-shadow: 0 0 20px rgba(96, 165, 250, 0.8); }
}

/* Hidden Features */
.hidden-feature {
    position: fixed;
    bottom: 30px;
    right: 30px;
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1000;
}

.hidden-feature.visible {
    opacity: 1;
}

#basketball-game {
    background: linear-gradient(135deg, #f97316, #ea580c);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
    cursor: pointer;
    animation: bounce 2s infinite;
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
    transition: all 0.3s ease;
}

#basketball-game:hover {
    transform: scale(1.1);
    animation-play-state: paused;
}

/* Notification System */
#notification-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 1000;
    max-width: 350px;
}

.notification {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.25rem;
    margin-bottom: 0.75rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateX(100%);
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    position: relative;
    overflow: hidden;
}

.notification::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #60a5fa;
}

.notification.success::before {
    background: #22c55e;
}

.notification.warning::before {
    background: #f59e0b;
}

.notification.error::before {
    background: #ef4444;
}

.notification .fas {
    margin-right: 0.75rem;
    font-size: 1.1rem;
}

.notification.success .fas {
    color: #22c55e;
}

.notification.info .fas {
    color: #60a5fa;
}

.notification.warning .fas {
    color: #f59e0b;
}

.notification.error .fas {
    color: #ef4444;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 2.5rem;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalSlideIn {
    from { 
        opacity: 0; 
        transform: translateY(-50px) scale(0.9); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0) scale(1); 
    }
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.3s ease;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #f8fafc;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.modal-btn {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

.modal-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.modal-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
}

.modal-btn:hover::before {
    left: 100%;
}

.modal-btn i {
    color: #60a5fa;
    font-size: 1.1rem;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.5);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .dashboard-widgets {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1rem 0;
    }
    
    .header-controls {
        gap: 1.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .logo-section h1 {
        font-size: 1.6rem;
    }
    
    .virtual-office {
        padding: 0 1rem;
    }
    
    .office-desk {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .desk-items {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }
    
    .dashboard-widgets {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .meeting-controls {
        flex-direction: column;
    }
    
    .quick-access-toolbar {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .timer-circle {
        width: 150px;
        height: 150px;
    }
    
    #pomodoro-time {
        font-size: 2rem;
    }
    
    .chart-bars {
        height: 100px;
    }
    
    .team-member {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .member-actions {
        flex-direction: row;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .office-header {
        padding: 1rem;
    }
    
    .logo-section h1 {
        font-size: 1.4rem;
    }
    
    .logo-section i {
        font-size: 2rem;
    }
    
    .desk-items {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .quick-access-toolbar {
        grid-template-columns: 1fr;
    }
    
    .timer-display {
        gap: 1rem;
    }
    
    .timer-controls {
        flex-direction: column;
        width: 100%;
    }
    
    .timer-btn {
        width: 100%;
        justify-content: center;
    }
    
    .widget {
        padding: 1.5rem;
    }
    
    .modal-content {
        padding: 2rem;
        margin: 1rem;
    }
    
    .notification {
        margin-right: 1rem;
        margin-left: 1rem;
    }
    
    #notification-container {
        right: 0;
        left: 0;
        max-width: none;
    }
    
    .hidden-feature {
        bottom: 20px;
        right: 20px;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Print Styles */
@media print {
    .office-header,
    .hidden-feature,
    #notification-container,
    .modal-overlay {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .widget,
    .team-member,
    .toolbar-item {
        background: white !important;
        border: 1px solid #ccc !important;
        box-shadow: none !important;
    }
}

/* Enhanced Task Styles */
.task-item.expanded .task-details {
    display: block !important;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.task-details {
    display: none;
}

.task-description {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.task-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.task-tag {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding: 0.2rem 0.5rem;
    border-radius: 8px;
    font-size: 0.75rem;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.task-assignee {
    font-size: 0.8rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.time-info {
    font-size: 0.8rem;
    color: #64748b;
}

.task-item.completed {
    opacity: 0.7;
}

.task-item.completed label {
    text-decoration: line-through;
}

/* Member Profile Styles */
.member-profile {
    max-width: 500px;
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
    font-size: 4rem;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.1);
    border: 2px solid rgba(96, 165, 250, 0.2);
}

.profile-info h2 {
    margin-bottom: 0.5rem;
    color: #f8fafc;
}

.profile-role {
    color: #94a3b8;
    margin-bottom: 0.75rem;
}

.profile-status {
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.detail-section {
    margin-bottom: 1.5rem;
}

.detail-section h3 {
    color: #60a5fa;
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

.detail-section p {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detail-section i {
    color: #60a5fa;
    width: 16px;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.skill-badge {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    padding: 0.3rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    border: 1px solid rgba(96, 165, 250, 0.2);
}

.profile-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Meeting Details Styles */
.meeting-details h2 {
    color: #f8fafc;
    margin-bottom: 1rem;
}

.meeting-description {
    color: #94a3b8;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.meeting-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.info-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.meeting-agenda {
    margin-bottom: 1.5rem;
}

.meeting-agenda h3 {
    color: #60a5fa;
    margin-bottom: 0.75rem;
}

.meeting-agenda ul {
    list-style: none;
    padding: 0;
}

.meeting-agenda li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    padding-left: 1.5rem;
}

.meeting-agenda li::before {
    content: '•';
    color: #60a5fa;
    position: absolute;
    left: 0;
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.participant-avatar {
    font-size: 1.2rem;
}

.participant-name {
    font-size: 0.9rem;
}

.meeting-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced Member Info */
.member-extra-info {
    display: none;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.team-member:hover .member-extra-info {
    display: block;
}

.member-extra-info .info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #94a3b8;
}

.member-extra-info .info-item i {
    color: #60a5fa;
    width: 12px;
}

/* Activity Details */
.activity-details {
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
    font-style: italic;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
    position: relative;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(96, 165, 250, 0.3);
    border-top: 2px solid #60a5fa;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Error States */
.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* Success States */
.success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

/* Offline Indicator */
.offline-indicator {
    position: fixed;
    top: 80px;
    right: 20px;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 1001;
    display: none;
}

.offline-indicator.show {
    display: block;
    animation: slideIn 0.3s ease;
}

/* Enhanced Tooltips */
[title] {
    position: relative;
}

[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: white;
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 1000;
    margin-bottom: 5px;
}

[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: rgba(0, 0, 0, 0.9);
    z-index: 1000;
}

/* Enhanced Scrollbars */
.activity-list::-webkit-scrollbar,
.task-list::-webkit-scrollbar,
.feed-container::-webkit-scrollbar {
    width: 6px;
}

.activity-list::-webkit-scrollbar-track,
.task-list::-webkit-scrollbar-track,
.feed-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}

.activity-list::-webkit-scrollbar-thumb,
.task-list::-webkit-scrollbar-thumb,
.feed-container::-webkit-scrollbar-thumb {
    background: rgba(96, 165, 250, 0.2);
    border-radius: 3px;
}

.activity-list::-webkit-scrollbar-thumb:hover,
.task-list::-webkit-scrollbar-thumb:hover,
.feed-container::-webkit-scrollbar-thumb:hover {
    background: rgba(96, 165, 250, 0.4);
}

/* Focus States */
button:focus,
input:focus,
.toolbar-item:focus,
.desk-item:focus,
.team-member:focus {
    outline: 2px solid rgba(96, 165, 250, 0.5);
    outline-offset: 2px;
}

/* High Performance Mode */
@media (prefers-reduced-motion: reduce) {
    .timer-svg circle {
        transition: none;
    }
    
    .progress-fill {
        transition: none;
    }
    
    .chart-bar {
        transition: none;
    }
}

/* Email Client Styles */
.email-client {
    max-width: 900px;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.email-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.email-actions {
    display: flex;
    gap: 0.5rem;
}

.email-btn {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #60a5fa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-btn:hover {
    background: rgba(96, 165, 250, 0.2);
}

.email-btn.compose {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: transparent;
}

.email-sidebar {
    width: 200px;
    padding-right: 1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.folder-list {
    margin-bottom: 1.5rem;
}

.folder-list h4 {
    color: #60a5fa;
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.folder-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.folder-item.active {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.count {
    margin-left: auto;
    font-size: 0.8rem;
    color: #94a3b8;
}

.email-list {
    flex: 1;
    padding-left: 1rem;
    overflow-y: auto;
}

.email-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.email-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
}

.email-item.unread {
    background: rgba(96, 165, 250, 0.05);
    border-color: rgba(96, 165, 250, 0.1);
}

.email-item.high {
    border-left: 3px solid #ef4444;
}

.sender-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #60a5fa;
}

.sender-info {
    min-width: 150px;
}

.sender-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.sender-email {
    font-size: 0.8rem;
    color: #94a3b8;
}

.email-content {
    flex: 1;
}

.email-subject {
    font-weight: 600;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.priority-high {
    color: #ef4444;
}

.attachment {
    color: #94a3b8;
}

.email-preview {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.4;
}

.email-meta {
    text-align: right;
    min-width: 100px;
}

.email-time {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.email-actions-mini {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.email-item:hover .email-actions-mini {
    opacity: 1;
}

.mini-btn {
    background: none;
    border: none;
    color: #94a3b8;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.mini-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #60a5fa;
}

/* Calendar App Styles */
.calendar-app {
    max-width: 800px;
    height: 600px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.calendar-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #94a3b8;
}

.nav-btn:hover {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.current-month {
    font-size: 1.2rem;
    font-weight: 600;
    min-width: 200px;
    text-align: center;
}

.calendar-btn {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    border: none;
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: white;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calendar-btn:hover {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    transform: translateY(-2px);
}

.calendar-grid {
    margin-bottom: 2rem;
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 1px;
}

.weekday {
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
    font-size: 0.9rem;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, 0.05);
}

.calendar-day {
    min-height: 80px;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.calendar-day:hover {
    background: rgba(96, 165, 250, 0.1);
}

.calendar-day.today {
    background: rgba(96, 165, 250, 0.2);
    border: 2px solid #60a5fa;
}

.calendar-day.empty {
    background: rgba(255, 255, 255, 0.01);
    cursor: default;
}

.day-number {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.day-event {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    margin-bottom: 0.2rem;
    cursor: pointer;
}

.day-event.meeting {
    background: rgba(96, 165, 250, 0.3);
    color: #60a5fa;
}

.day-event.important {
    background: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.day-event.deadline {
    background: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.upcoming-events {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
}

.upcoming-events h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.event-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid #60a5fa;
}

.event-item.important {
    border-left-color: #ef4444;
}

.event-item.deadline {
    border-left-color: #f59e0b;
}

.event-date {
    font-size: 0.8rem;
    color: #94a3b8;
    min-width: 80px;
}

.event-details {
    flex: 1;
}

.event-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.event-time {
    font-size: 0.8rem;
    color: #94a3b8;
}

.event-actions {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

/* HR Portal Styles */
.hr-portal {
    max-width: 900px;
    height: 600px;
    overflow-y: auto;
}

.hr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.employee-quick-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.hr-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.hr-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hr-section h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-grid {
    display: grid;
    gap: 0.75rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.info-item span {
    font-weight: 500;
}

.vacation-summary {
    display: flex;
    justify-content: space-around;
    margin-bottom: 1rem;
}

.vacation-stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: #94a3b8;
}

.vacation-actions {
    display: flex;
    gap: 0.5rem;
}

.hr-btn {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #60a5fa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    justify-content: center;
}

.hr-btn:hover {
    background: rgba(96, 165, 250, 0.2);
}

.hr-btn.submit {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: transparent;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.benefit-item i {
    color: #22c55e;
}

.benefit-details {
    margin-left: auto;
    background: none;
    border: 1px solid rgba(96, 165, 250, 0.3);
    color: #60a5fa;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
}

.performance-summary {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.performance-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.performance-item label {
    color: #94a3b8;
    font-size: 0.9rem;
}

.quick-actions.hr-section {
    grid-column: 1 / -1;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.action-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.action-card:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.action-card i {
    font-size: 2rem;
    color: #60a5fa;
}

.action-card span {
    font-weight: 500;
}

/* IT Help Desk Styles */
.helpdesk {
    max-width: 900px;
    height: 600px;
    overflow-y: auto;
}

.helpdesk-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.helpdesk-btn {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #60a5fa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.helpdesk-btn:hover {
    background: rgba(96, 165, 250, 0.2);
}

.helpdesk-btn.new-ticket {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: transparent;
}

.helpdesk-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.system-status {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.system-status h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-grid {
    display: grid;
    gap: 0.75rem;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border-left: 3px solid #22c55e;
}

.status-item.warning {
    border-left-color: #f59e0b;
}

.status-item.error {
    border-left-color: #ef4444;
}

.status-item i {
    color: #22c55e;
}

.status-item.warning i {
    color: #f59e0b;
}

.status-item.error i {
    color: #ef4444;
}

.status-label {
    margin-left: auto;
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.status-item.warning .status-label {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.my-tickets {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.my-tickets h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tickets-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ticket-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid #94a3b8;
}

.ticket-item:hover {
    background: rgba(96, 165, 250, 0.05);
}

.ticket-item.open {
    border-left-color: #ef4444;
}

.ticket-item.in-progress {
    border-left-color: #f59e0b;
}

.ticket-item.resolved {
    border-left-color: #22c55e;
}

.ticket-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.ticket-id {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #94a3b8;
}

.ticket-status {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
}

.ticket-status.open {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.ticket-status.in-progress {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.ticket-status.resolved {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.ticket-priority {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: 600;
}

.ticket-priority.high {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.ticket-priority.medium {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.ticket-priority.low {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.ticket-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ticket-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #94a3b8;
}

.knowledge-base {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    grid-column: 1 / -1;
}

.knowledge-base h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.kb-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.search-input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    color: inherit;
}

.search-btn {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    padding: 0.5rem;
    cursor: pointer;
    color: #60a5fa;
}

.kb-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.kb-category {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.kb-category:hover {
    background: rgba(96, 165, 250, 0.1);
    transform: translateY(-2px);
}

.kb-category i {
    color: #60a5fa;
    font-size: 1.2rem;
}

.remote-support {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    grid-column: 1 / -1;
}

.remote-support h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.remote-support p {
    color: #94a3b8;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.support-actions {
    display: flex;
    gap: 1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #94a3b8;
    font-weight: 500;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.75rem;
    color: inherit;
    font-family: inherit;
    transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(255, 255, 255, 0.08);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-file {
    width: 100%;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px dashed rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: inherit;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Document Manager Styles */
.document-manager {
    max-width: 1000px;
    height: 600px;
    display: flex;
    flex-direction: column;
}

.doc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1rem;
}

.doc-actions {
    display: flex;
    gap: 0.5rem;
}

.doc-btn {
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #60a5fa;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.doc-btn:hover {
    background: rgba(96, 165, 250, 0.2);
}

.doc-btn.upload {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-color: transparent;
}

.doc-layout {
    display: flex;
    gap: 1.5rem;
    flex: 1;
    overflow: hidden;
}

.doc-sidebar {
    width: 250px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.storage-info {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.storage-info h4 {
    color: #60a5fa;
    margin-bottom: 0.75rem;
}

.storage-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.storage-used {
    height: 100%;
    background: linear-gradient(90deg, #22c55e, #f59e0b);
    border-radius: 4px;
    transition: width 0.5s ease;
}

.storage-text {
    font-size: 0.8rem;
    color: #94a3b8;
}

.folder-list {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.folder-list h4 {
    color: #60a5fa;
    margin-bottom: 0.75rem;
}

.folder-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.folder-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.folder-item.active {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
}

.file-count {
    margin-left: auto;
    font-size: 0.8rem;
    color: #94a3b8;
}

.quick-access {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quick-access h4 {
    color: #60a5fa;
    margin-bottom: 0.75rem;
}

.quick-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.quick-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.quick-item i {
    color: #60a5fa;
    width: 16px;
}

.doc-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.doc-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    margin-bottom: 1rem;
    gap: 1rem;
}

.view-options {
    display: flex;
    gap: 0.25rem;
}

.view-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #94a3b8;
}

.view-btn:hover,
.view-btn.active {
    background: rgba(96, 165, 250, 0.1);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.3);
}

.search-box {
    display: flex;
    gap: 0.5rem;
    flex: 1;
    max-width: 300px;
}

.sort-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    color: inherit;
    min-width: 150px;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
    overflow-y: auto;
    flex: 1;
}

.document-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.document-item:hover {
    background: rgba(96, 165, 250, 0.05);
    border-color: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.doc-icon {
    position: relative;
    text-align: center;
}

.doc-icon i {
    font-size: 3rem;
    color: #60a5fa;
}

.starred-icon {
    position: absolute;
    top: -5px;
    right: -5px;
    font-size: 1rem !important;
    color: #f59e0b;
}

.doc-info {
    flex: 1;
}

.doc-name {
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.doc-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 0.25rem;
}

.doc-owner {
    font-size: 0.8rem;
    color: #94a3b8;
}

.doc-actions {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.document-item:hover .doc-actions {
    opacity: 1;
}

.doc-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 4px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #94a3b8;
}

.doc-action-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.upload-area {
    border: 2px dashed rgba(96, 165, 250, 0.3);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.upload-area:hover {
    border-color: rgba(96, 165, 250, 0.5);
    background: rgba(96, 165, 250, 0.05);
}

.upload-area i {
    font-size: 3rem;
    color: #60a5fa;
    margin-bottom: 1rem;
}

.upload-area p {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.upload-area small {
    color: #94a3b8;
}

.upload-options {
    display: grid;
    gap: 1rem;
}

/* Analytics Dashboard Styles */
.analytics-dashboard {
    max-width: 1000px;
    height: 600px;
    overflow-y: auto;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.range-select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    color: inherit;
}

.analytics-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.metric-icon.projects {
    background: rgba(96, 165, 250, 0.2);
    color: #60a5fa;
}

.metric-icon.tasks {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.metric-icon.team {
    background: rgba(168, 85, 247, 0.2);
    color: #a855f7;
}

.metric-icon.hours {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.metric-info {
    flex: 1;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.metric-label {
    color: #94a3b8;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.metric-change {
    font-size: 0.8rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.metric-change.positive {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.metric-change.neutral {
    background: rgba(148, 163, 184, 0.2);
    color: #94a3b8;
}

.analytics-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-section {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.chart-section h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.performance-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.performance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.performance-item label {
    min-width: 80px;
    font-size: 0.9rem;
    color: #94a3b8;
}

.performance-item span {
    min-width: 40px;
    text-align: right;
    font-weight: 600;
}

.weekly-chart {
    height: 150px;
    display: flex;
    align-items: end;
    justify-content: center;
}

.analytics-reports {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
}

.analytics-reports h3 {
    color: #60a5fa;
    margin-bottom: 1rem;
}

.reports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.report-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
}

.report-card:hover {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.2);
    transform: translateY(-2px);
}

.report-card i {
    font-size: 2rem;
    color: #60a5fa;
}

.report-card span {
    font-weight: 500;
}

/* Notes Manager Styles - Fixed Overflow Issues */
.notes-manager {
    max-width: 1200px;
    width: 100%;
    height: 650px;
    display: flex;
    flex-direction: column;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden; /* Prevent container overflow */
}

.notes-manager::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.notes-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0 1.5rem 0;
    border-bottom: 2px solid #cbd5e1;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.notes-header h2 {
    color: #1e293b;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap; /* Prevent title wrapping */
}

.notes-header h2 i {
    color: #f59e0b;
    filter: drop-shadow(0 2px 4px rgba(245, 158, 11, 0.3));
    flex-shrink: 0;
}

.notes-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0; /* Prevent actions from shrinking */
}

.notes-btn {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    position: relative;
    overflow: hidden;
    white-space: nowrap; /* Prevent button text wrapping */
}

.notes-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.notes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.notes-btn:hover::before {
    left: 100%;
}

.notes-btn.new-note {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.notes-btn.new-note:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.search-notes {
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex-shrink: 0;
}

.search-notes input {
    background: transparent;
    border: none;
    padding: 0.75rem 3rem 0.75rem 1rem;
    color: #1e293b;
    font-size: 0.9rem;
    width: 250px;
    outline: none;
}

.search-notes input::placeholder {
    color: #64748b;
}

.search-notes i {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    font-size: 1rem;
}

.notes-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #cbd5e1;
    flex-shrink: 0; /* Prevent filters from shrinking */
    overflow-x: auto; /* Allow horizontal scroll on mobile */
}

.filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    white-space: nowrap; /* Prevent button text wrapping */
    flex-shrink: 0;
}

.filter-btn:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tags-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    padding-left: 1rem;
    border-left: 2px solid #cbd5e1;
    flex-shrink: 0;
}

.tags-filter span:first-child {
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.tag-filter {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    text-transform: lowercase;
    white-space: nowrap;
    flex-shrink: 0;
}

.tag-filter:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden; /* Prevent horizontal overflow */
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 15px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 0; /* Allow grid to shrink */
}

/* Custom Scrollbar for Notes Grid */
.notes-grid::-webkit-scrollbar {
    width: 8px;
}

.notes-grid::-webkit-scrollbar-track {
    background: rgba(203, 213, 225, 0.3);
    border-radius: 4px;
}

.notes-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #64748b, #475569);
    border-radius: 4px;
}

.notes-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #475569, #334155);
}

.note-card {
    border-radius: 0;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
    max-height: 300px;
    transform: rotate(-1deg);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: 'Comic Sans MS', cursive, sans-serif;
    overflow: hidden; /* Prevent content overflow */
    word-wrap: break-word; /* Break long words */
}

.note-card:nth-child(even) {
    transform: rotate(1deg);
}

.note-card:nth-child(3n) {
    transform: rotate(-0.5deg);
}

.note-card:nth-child(4n) {
    transform: rotate(1.5deg);
}

.note-card:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Realistic sticky note colors with paper texture */
.note-card.yellow {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    color: #92400e;
    border-color: #f59e0b;
}

.note-card.blue {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
    color: #1e40af;
    border-color: #3b82f6;
}

.note-card.green {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
    color: #065f46;
    border-color: #10b981;
}

.note-card.pink {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #fce7f3 0%, #fbcfe8 50%, #f9a8d4 100%);
    color: #be185d;
    border-color: #ec4899;
}

.note-card.purple {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 50%, #c4b5fd 100%);
    color: #6b21a8;
    border-color: #8b5cf6;
}

.note-card.orange {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #fed7aa 0%, #fdba74 50%, #fb923c 100%);
    color: #c2410c;
    border-color: #ea580c;
}

/* Pinned note effect */
.note-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: 
        radial-gradient(circle, #ef4444 30%, #dc2626 70%);
    border-radius: 50%;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.note-card:hover::before {
    opacity: 1;
}

/* Pinned notes always show the pin */
.note-card[data-pinned="true"]::before {
    opacity: 1;
    background: 
        radial-gradient(circle, #f59e0b 30%, #d97706 70%);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
    gap: 0.5rem; /* Add gap to prevent overlap */
}

.note-title {
    font-weight: 700;
    font-size: 1.1rem;
    flex: 1;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    word-wrap: break-word; /* Break long titles */
    overflow-wrap: break-word;
    hyphens: auto;
}

.note-actions {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Prevent actions from shrinking */
}

.note-card:hover .note-actions {
    opacity: 1;
}

.note-action-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    flex-shrink: 0;
}

.note-action-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.note-action-btn.pinned {
    background: rgba(245, 158, 11, 0.3);
    color: #d97706;
    opacity: 1;
}

.note-action-btn.pinned:hover {
    background: rgba(245, 158, 11, 0.4);
}

.note-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    overflow: hidden;
    word-wrap: break-word; /* Break long words */
    overflow-wrap: break-word;
    hyphens: auto;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.note-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    gap: 0.5rem; /* Add gap to prevent overlap */
    flex-shrink: 0;
}

.note-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    flex: 1;
    min-width: 0; /* Allow tags to shrink */
}

.note-tag {
    background: rgba(0, 0, 0, 0.15);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: lowercase;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 80px; /* Limit tag width */
}

.note-date {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    flex-shrink: 0;
}

.notes-filters {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 15px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #cbd5e1;
}

.filter-btn {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #475569;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-btn:hover {
    background: #f8fafc;
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.filter-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: #1d4ed8;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.tags-filter {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-left: auto;
    padding-left: 1rem;
    border-left: 2px solid #cbd5e1;
}

.tags-filter span:first-child {
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
}

.tag-filter {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    text-transform: lowercase;
}

.tag-filter:hover {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.notes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 15px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar for Notes Grid */
.notes-grid::-webkit-scrollbar {
    width: 8px;
}

.notes-grid::-webkit-scrollbar-track {
    background: rgba(203, 213, 225, 0.3);
    border-radius: 4px;
}

.notes-grid::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #64748b, #475569);
    border-radius: 4px;
}

.notes-grid::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #475569, #334155);
}

.note-card {
    border-radius: 0;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    min-height: 200px;
    max-height: 300px;
    transform: rotate(-1deg);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.note-card:nth-child(even) {
    transform: rotate(1deg);
}

.note-card:nth-child(3n) {
    transform: rotate(-0.5deg);
}

.note-card:nth-child(4n) {
    transform: rotate(1.5deg);
}

.note-card:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.02);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.15),
        0 20px 40px rgba(0, 0, 0, 0.1);
    z-index: 10;
}

/* Realistic sticky note colors with paper texture */
.note-card.yellow {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #fef3c7 0%, #fde68a 50%, #fcd34d 100%);
    color: #92400e;
    border-color: #f59e0b;
}

.note-card.blue {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #dbeafe 0%, #bfdbfe 50%, #93c5fd 100%);
    color: #1e40af;
    border-color: #3b82f6;
}

.note-card.green {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #d1fae5 0%, #a7f3d0 50%, #6ee7b7 100%);
    color: #065f46;
    border-color: #10b981;
}

.note-card.pink {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #fce7f3 0%, #fbcfe8 50%, #f9a8d4 100%);
    color: #be185d;
    border-color: #ec4899;
}

.note-card.purple {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #e9d5ff 0%, #ddd6fe 50%, #c4b5fd 100%);
    color: #6b21a8;
    border-color: #8b5cf6;
}

.note-card.orange {
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #fed7aa 0%, #fdba74 50%, #fb923c 100%);
    color: #c2410c;
    border-color: #ea580c;
}

/* Pinned note effect */
.note-card::before {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background: 
        radial-gradient(circle, #ef4444 30%, #dc2626 70%);
    border-radius: 50%;
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.note-card:hover::before {
    opacity: 1;
}

/* Pinned notes always show the pin */
.note-card[data-pinned="true"]::before {
    opacity: 1;
    background: 
        radial-gradient(circle, #f59e0b 30%, #d97706 70%);
}

.note-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.note-title {
    font-weight: 700;
    font-size: 1.1rem;
    flex: 1;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    margin-right: 0.5rem;
}

.note-actions {
    display: flex;
    gap: 0.25rem;
    opacity: 0;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.note-card:hover .note-actions {
    opacity: 1;
}

.note-action-btn {
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 6px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.note-action-btn:hover {
    background: rgba(0, 0, 0, 0.2);
    transform: scale(1.1);
}

.note-action-btn.pinned {
    background: rgba(245, 158, 11, 0.3);
    color: #d97706;
    opacity: 1;
}

.note-action-btn.pinned:hover {
    background: rgba(245, 158, 11, 0.4);
}

.note-content {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.5;
    font-weight: 500;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}

.note-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: auto;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.note-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.note-tag {
    background: rgba(0, 0, 0, 0.15);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: lowercase;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.note-date {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: 600;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
}

.notes-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 15px;
    margin-top: 1.5rem;
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.notes-stats .stat-item {
    text-align: center;
    position: relative;
}

.notes-stats .stat-item::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 1px;
}

.notes-stats .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.notes-stats .stat-label {
    font-size: 0.9rem;
    color: #cbd5e1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Create Note Form Styles */
.create-note {
    max-width: 500px;
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border-radius: 20px;
    padding: 2rem;
    color: #1e293b;
}

.create-note h3 {
    color: #1e293b;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.create-note h3 i {
    color: #10b981;
}

.note-form .form-group {
    margin-bottom: 1.5rem;
}

.note-form label {
    display: block;
    margin-bottom: 0.5rem;
    color: #374151;
    font-weight: 600;
    font-size: 0.9rem;
}

.note-form .form-input,
.note-form .form-textarea {
    width: 100%;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 0.75rem;
    color: #1f2937;
    font-family: inherit;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.note-form .form-input:focus,
.note-form .form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    background: #fefefe;
}

.note-form .form-textarea {
    resize: vertical;
    min-height: 120px;
    font-family: 'Comic Sans MS', cursive, sans-serif;
    line-height: 1.5;
}

.color-picker {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.color-option {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    border: 3px solid transparent;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.color-option::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.color-option.active {
    border-color: #1e293b;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.color-option.active::before {
    opacity: 1;
}

.color-option.yellow {
    background: linear-gradient(135deg, #fef3c7, #fde68a, #fcd34d);
}

.color-option.blue {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe, #93c5fd);
}

.color-option.green {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0, #6ee7b7);
}

.color-option.pink {
    background: linear-gradient(135deg, #fce7f3, #fbcfe8, #f9a8d4);
}

.color-option.purple {
    background: linear-gradient(135deg, #e9d5ff, #ddd6fe, #c4b5fd);
}

.color-option.orange {
    background: linear-gradient(135deg, #fed7aa, #fdba74, #fb923c);
}

.note-form .form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
    accent-color: #3b82f6;
    transform: scale(1.2);
}

.note-form .form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 2px solid #e5e7eb;
}

.notes-btn.save {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.notes-btn.save:hover {
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.notes-btn.cancel {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    box-shadow: 0 4px 15px rgba(107, 114, 128, 0.3);
}

.notes-btn.cancel:hover {
    box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
}

/* Responsive Design for Notes - Fixed Overflow */
@media (max-width: 768px) {
    .notes-manager {
        height: 500px;
        padding: 1rem;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .notes-header {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        padding: 1rem 0;
    }
    
    .notes-header h2 {
        font-size: 1.5rem;
        justify-content: center;
    }
    
    .notes-actions {
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .search-notes {
        flex: 1;
        min-width: 0;
    }
    
    .search-notes input {
        width: 100%;
        min-width: 0;
    }
    
    .notes-filters {
        flex-wrap: nowrap;
        gap: 0.5rem;
        padding: 0.75rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .notes-filters::-webkit-scrollbar {
        height: 4px;
    }
    
    .notes-filters::-webkit-scrollbar-track {
        background: rgba(203, 213, 225, 0.3);
        border-radius: 2px;
    }
    
    .notes-filters::-webkit-scrollbar-thumb {
        background: #64748b;
        border-radius: 2px;
    }
    
    .tags-filter {
        margin-left: 0;
        padding-left: 0;
        border-left: none;
        border-top: 2px solid #cbd5e1;
        padding-top: 0.75rem;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }
    
    .notes-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .note-card {
        min-height: 180px;
        max-height: 250px;
        padding: 1.25rem;
    }
    
    .note-title {
        font-size: 1rem;
    }
    
    .note-content {
        font-size: 0.9rem;
        -webkit-line-clamp: 4;
    }
    
    .note-tag {
        max-width: 60px;
        font-size: 0.7rem;
    }
    
    .notes-stats {
        gap: 1.5rem;
        padding: 1rem;
    }
    
    .notes-stats .stat-number {
        font-size: 1.5rem;
    }
    
    .notes-btn {
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .notes-manager {
        height: 450px;
        padding: 0.75rem;
    }
    
    .notes-header h2 {
        font-size: 1.3rem;
    }
    
    .notes-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .search-notes input {
        font-size: 0.85rem;
        padding: 0.6rem 2.5rem 0.6rem 0.75rem;
    }
    
    .notes-filters {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .tag-filter {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .notes-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 0.5rem;
    }
    
    .note-card {
        min-height: 160px;
        max-height: 220px;
        padding: 1rem;
        gap: 0.75rem;
    }
    
    .note-title {
        font-size: 0.95rem;
    }
    
    .note-content {
        font-size: 0.85rem;
        -webkit-line-clamp: 3;
    }
    
    .note-tag {
        max-width: 50px;
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
    }
    
    .note-date {
        font-size: 0.75rem;
    }
    
    .notes-stats {
        flex-direction: column;
        gap: 1rem;
        padding: 0.75rem;
    }
    
    .notes-stats .stat-number {
        font-size: 1.3rem;
    }
    
    .notes-stats .stat-label {
        font-size: 0.8rem;
    }
    
    .color-picker {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .color-option {
        width: 35px;
        height: 35px;
    }
    
    .notes-btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
        width: 100%;
        justify-content: center;
    }
}

/* Extra small screens */
@media (max-width: 320px) {
    .notes-manager {
        height: 400px;
        padding: 0.5rem;
    }
    
    .notes-header h2 {
        font-size: 1.1rem;
    }
    
    .search-notes input {
        font-size: 0.8rem;
    }
    
    .notes-grid {
        padding: 0.25rem;
    }
    
    .note-card {
        min-height: 140px;
        max-height: 200px;
        padding: 0.75rem;
    }
    
    .note-title {
        font-size: 0.9rem;
    }
    
    .note-content {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .note-tag {
        display: none; /* Hide tags on very small screens */
    }
    
    .note-footer {
        justify-content: flex-end;
    }
}

/* Landscape orientation on mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .notes-manager {
        height: 400px;
    }
    
    .notes-header {
        padding: 0.5rem 0;
    }
    
    .notes-filters {
        margin-bottom: 0.5rem;
    }
    
    .note-card {
        min-height: 140px;
        max-height: 180px;
    }
    
    .note-content {
        -webkit-line-clamp: 2;
    }
}

/* Video Meeting Interface Styles */
.video-meeting-interface {
    max-width: 1200px;
    width: 100%;
    height: 700px;
    display: grid;
    grid-template-rows: auto 1fr auto;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    overflow: hidden;
    color: white;
}

.meeting-header {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meeting-header h2 {
    color: white;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.meeting-time {
    color: #94a3b8;
    font-size: 0.9rem;
}

.video-meeting-interface > div:nth-child(2) {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 1rem;
    padding: 1rem;
    overflow: hidden;
}

.video-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-video {
    flex: 1;
    background: #000;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    min-height: 400px;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #374151, #4b5563);
    position: relative;
}

.video-placeholder.small {
    min-height: 120px;
}

.video-avatar {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: rgba(96, 165, 250, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-placeholder.small .video-avatar {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    margin-bottom: 0.5rem;
}

.video-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.video-placeholder.small .video-name {
    font-size: 0.9rem;
}

.video-status {
    font-size: 0.9rem;
    color: #94a3b8;
    padding: 0.3rem 0.8rem;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 12px;
}

.video-status.speaking {
    background: rgba(34, 197, 94, 0.3);
    color: #22c55e;
    animation: pulse 1s infinite;
}

.video-controls {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
}

.video-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.video-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-btn.disabled {
    background: rgba(239, 68, 68, 0.8);
}

.participants-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    max-height: 250px;
}

.participant-video {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.meeting-sidebar {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.meeting-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    flex: 1;
    background: none;
    border: none;
    color: #94a3b8;
    padding: 1rem 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.tab-btn:hover,
.tab-btn.active {
    color: #60a5fa;
    background: rgba(96, 165, 250, 0.1);
}

.tab-content {
    flex: 1;
    overflow: hidden;
}

.tab-panel {
    height: 100%;
    display: none;
    flex-direction: column;
}

.tab-panel.active {
    display: flex;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chat-message {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.chat-message.own {
    flex-direction: row-reverse;
}

.chat-message.own .message-content {
    background: rgba(96, 165, 250, 0.2);
    border-radius: 12px 12px 4px 12px;
}

.message-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.message-content {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px 12px 12px 4px;
    padding: 0.75rem;
    max-width: 200px;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.25rem;
}

.message-name {
    font-weight: 600;
    font-size: 0.8rem;
}

.message-time {
    font-size: 0.7rem;
    color: #94a3b8;
}

.message-text {
    font-size: 0.9rem;
    line-height: 1.4;
}

.chat-input {
    padding: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 0.5rem;
}

.chat-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem;
    color: white;
    font-size: 0.9rem;
}

.chat-input input::placeholder {
    color: #94a3b8;
}

.chat-input button {
    background: #60a5fa;
    border: none;
    border-radius: 8px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: white;
    transition: all 0.3s ease;
}

.chat-input button:hover {
    background: #3b82f6;
}

.participants-list {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.participant-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
}

.participant-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.participant-info {
    flex: 1;
}

.participant-name {
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.participant-status {
    display: flex;
    gap: 0.5rem;
}

.participant-status i {
    font-size: 0.8rem;
    color: #22c55e;
}

.participant-status i.muted,
.participant-status i.disabled {
    color: #ef4444;
}

.participant-actions {
    display: flex;
    gap: 0.25rem;
}

.participant-actions .action-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #94a3b8;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.screen-share-options {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.screen-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.screen-btn:hover {
    background: rgba(96, 165, 250, 0.2);
    border-color: rgba(96, 165, 250, 0.5);
}

.screen-btn i {
    font-size: 1.2rem;
    color: #60a5fa;
}

.screen-preview {
    flex: 1;
    margin: 1rem;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-placeholder {
    text-align: center;
    color: #94a3b8;
}

.preview-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: #4b5563;
}

.screen-sharing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.sharing-indicator {
    width: 20px;
    height: 20px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.meeting-footer {
    padding: 1rem 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.meeting-info {
    display: flex;
    gap: 2rem;
    font-size: 0.9rem;
    color: #94a3b8;
}

.meeting-actions {
    display: flex;
    gap: 1rem;
}

.meeting-action-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.meeting-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.meeting-action-btn.danger {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.5);
}

.meeting-action-btn.danger:hover {
    background: rgba(239, 68, 68, 0.3);
}

.meeting-action-btn.recording {
    background: rgba(239, 68, 68, 0.8);
    animation: pulse 2s infinite;
}

/* Instant Meeting Styles */
.instant-meeting {
    max-width: 600px;
    padding: 2rem;
}

.instant-meeting h3 {
    color: #1e293b;
    margin-bottom: 2rem;
    text-align: center;
    font-size: 1.5rem;
}

.meeting-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.option-card {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #1e293b;
}

.option-card:hover {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.2);
}

.option-card i {
    font-size: 2.5rem;
    color: #3b82f6;
    margin-bottom: 1rem;
}

.option-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.option-card p {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.4;
}

.quick-invite h4 {
    color: #1e293b;
    margin-bottom: 1rem;
}

.invite-options {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.invite-member {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(96, 165, 250, 0.1);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 80px;
}

.invite-member:hover {
    background: rgba(96, 165, 250, 0.2);
    transform: scale(1.05);
}

.invite-member .member-avatar {
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(96, 165, 250, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.invite-member span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

.meeting-form-actions {
    display: flex;
    justify-content: center;
    padding-top: 1rem;
    border-top: 2px solid #e2e8f0;
}

/* Responsive Meeting Interface */
@media (max-width: 768px) {
    .video-meeting-interface > div:nth-child(2) {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr auto;
    }
    
    .meeting-sidebar {
        max-height: 200px;
    }
    
    .participants-grid {
        grid-template-columns: 1fr;
        max-height: 120px;
    }
    
    .meeting-footer {
        flex-direction: column;
        gap: 1rem;
    }
    
    .meeting-actions {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .meeting-options {
        grid-template-columns: 1fr;
    }
    
    .invite-options {
        justify-content: center;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .steam,
    .steam-2,
    .steam-3 {
        animation: none;
    }
    
    #basketball-game {
        animation: none;
    }
}
