* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.6;
}

.container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
.header {
    background: white;
    padding: 1rem 2rem;
    border-bottom: 1px solid #e9ecef;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    text-transform: lowercase;
}

.location-selector select {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
    cursor: pointer;
    padding: 0.5rem;
}

.company-info {
    font-size: 0.8rem;
    color: #6c757d;
    max-width: 300px;
    line-height: 1.4;
}

.header-right {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
}

.user-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

.user-info i {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Main Content Layout */
.main-content {
    display: flex;
    flex: 1;
    height: calc(100vh - 80px);
}

/* Sidebar Styles */
.sidebar {
    width: 280px;
    background: white;
    border-right: 1px solid #e9ecef;
    padding: 2rem 0;
}

.nav-menu {
    display: flex;
    flex-direction: column;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 1rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    gap: 1rem;
}

.nav-item:hover {
    background-color: #f8f9fa;
}

.nav-item.active {
    background-color: #e3f2fd;
    border-right: 3px solid #2196f3;
    color: #1976d2;
}

.nav-item i {
    width: 20px;
    color: #6c757d;
}

.nav-item.active i {
    color: #1976d2;
}

.nav-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #495057;
}

.nav-item.active span {
    color: #1976d2;
}

.badge {
    background: #dc3545;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-left: auto;
}

/* Main Content Area */
.content {
    flex: 1;
    padding: 2rem;
    background: white;
    overflow-y: auto;
}

.welcome-section {
    margin-bottom: 2rem;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.welcome-subtitle {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 400;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.building-labels {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.label {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    color: #2c3e50;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* Notifications Panel */
.notifications-panel {
    width: 320px;
    background: #343a40;
    color: white;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
}

.notifications-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #495057;
}

.notifications-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.read-all-btn {
    background: transparent;
    border: 1px solid #6c757d;
    color: #adb5bd;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-all-btn:hover {
    background: #495057;
    color: white;
}

.notifications-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.notification-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid #28a745;
    transition: all 0.3s ease;
}

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

.notification-text {
    font-size: 0.9rem;
    color: #e9ecef;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.notification-date {
    font-size: 0.8rem;
    color: #adb5bd;
    font-weight: 500;
}

.notifications-footer {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid #495057;
    text-align: center;
}

.all-notifications-link {
    color: #17a2b8;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.all-notifications-link:hover {
    color: #20c997;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .notifications-panel {
        width: 280px;
    }
    
    .sidebar {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .notifications-panel {
        width: 100%;
        height: 300px;
    }
    
    .header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .header-left {
        flex-direction: column;
        gap: 1rem;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
}

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

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}
