/* Nordic Transport Group - Dashboard CSS */
/* Skandinavische Farbpalette */
:root {
    --nordic-blue: #0A1F44;
    --arctic-light-blue: #74A9CF;
    --ice-white: #FFFFFF;
    --graphite-grey: #2C2F33;
    --hover-blue: #0d2958;
    --success-green: #4CAF50;
    --warning-orange: #FF9800;
    --danger-red: #F44336;
    --background: #F5F7FA;
    --shadow: rgba(10, 31, 68, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.9);
    --glass-border: rgba(116, 169, 207, 0.2);
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--background) 0%, #E8EEF2 100%);
    color: var(--graphite-grey);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Sidebar Navigation */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: linear-gradient(180deg, var(--nordic-blue) 0%, #0d2958 100%);
    padding: 2rem 0;
    box-shadow: 4px 0 20px var(--shadow);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0 2rem;
    margin-bottom: 3rem;
    color: var(--ice-white);
}

.logo i {
    font-size: 2.5rem;
    color: var(--arctic-light-blue);
}

.logo h2 {
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.3;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 0 1rem;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: var(--arctic-light-blue);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(116, 169, 207, 0.1);
    color: var(--ice-white);
}

.nav-item.active::before {
    transform: scaleY(1);
}

.nav-item i {
    font-size: 1.2rem;
    width: 24px;
}

.nav-item.logout {
    margin-top: auto;
    color: rgba(255, 255, 255, 0.5);
}

.nav-item.logout:hover {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger-red);
}

/* Main Content */
.main-content {
    margin-left: 280px;
    padding: 2rem;
    min-height: 100vh;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding: 1.5rem 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
}

.header-left h1 {
    font-size: 2rem;
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.subtitle {
    color: var(--graphite-grey);
    opacity: 0.7;
    font-size: 0.95rem;
}

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

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 1rem;
    background: rgba(116, 169, 207, 0.1);
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.user-info:hover {
    background: rgba(116, 169, 207, 0.2);
    transform: translateY(-2px);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--arctic-light-blue);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(10, 31, 68, 0.15);
}

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

.stat-icon.blue {
    background: linear-gradient(135deg, var(--nordic-blue) 0%, #0d2958 100%);
}

.stat-icon.light-blue {
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, #5a91b8 100%);
}

.stat-icon.grey {
    background: linear-gradient(135deg, var(--graphite-grey) 0%, #1a1d1f 100%);
}

.stat-info h3 {
    font-size: 0.9rem;
    color: var(--graphite-grey);
    opacity: 0.7;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.stat-change {
    font-size: 0.85rem;
    font-weight: 500;
}

.stat-change.positive {
    color: var(--success-green);
}

.stat-change.neutral {
    color: var(--graphite-grey);
    opacity: 0.6;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 1.5rem;
}

.content-section {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
    animation: fadeIn 0.5s ease;
}

.content-section.full-width {
    grid-column: 1 / -1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(116, 169, 207, 0.2);
}

.section-header h2 {
    font-size: 1.2rem;
    color: var(--nordic-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all {
    color: var(--arctic-light-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-all:hover {
    color: var(--nordic-blue);
    transform: translateX(5px);
}

/* Announcements */
.announcements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.announcement {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    border-left: 4px solid;
    transition: all 0.3s ease;
}

.announcement:hover {
    transform: translateX(5px);
}

.announcement.important {
    background: rgba(244, 67, 54, 0.05);
    border-color: var(--danger-red);
}

.announcement.info {
    background: rgba(116, 169, 207, 0.05);
    border-color: var(--arctic-light-blue);
}

.announcement.success {
    background: rgba(76, 175, 80, 0.05);
    border-color: var(--success-green);
}

.announcement-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.announcement.important .announcement-icon {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger-red);
}

.announcement.info .announcement-icon {
    background: rgba(116, 169, 207, 0.1);
    color: var(--arctic-light-blue);
}

.announcement.success .announcement-icon {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-green);
}

.announcement-content h4 {
    font-size: 1rem;
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.announcement-content p {
    font-size: 0.9rem;
    color: var(--graphite-grey);
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

.announcement-time {
    font-size: 0.8rem;
    color: var(--graphite-grey);
    opacity: 0.6;
}

/* Tours List */
.tours-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tour-item {
    padding: 1rem;
    border: 1px solid rgba(116, 169, 207, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tour-item:hover {
    background: rgba(116, 169, 207, 0.05);
    border-color: var(--arctic-light-blue);
    transform: translateX(5px);
}

.tour-driver {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.tour-driver img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--arctic-light-blue);
}

.tour-route {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.tour-from,
.tour-to {
    font-weight: 600;
    color: var(--nordic-blue);
}

.tour-route i {
    color: var(--arctic-light-blue);
}

.tour-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--graphite-grey);
    margin-bottom: 0.5rem;
}

.tour-details span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tour-status {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.tour-status.completed {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-green);
}

.tour-status.in-progress {
    background: rgba(116, 169, 207, 0.1);
    color: var(--arctic-light-blue);
}

.tour-status.planned {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-orange);
}

/* Rankings */
.ranking-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ranking-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(116, 169, 207, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.ranking-item:hover {
    background: rgba(116, 169, 207, 0.05);
    transform: translateX(5px);
}

.rank {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    background: rgba(116, 169, 207, 0.1);
    color: var(--arctic-light-blue);
}

.rank.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
}

.rank.silver {
    background: linear-gradient(135deg, #C0C0C0 0%, #A8A8A8 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(192, 192, 192, 0.3);
}

.rank.bronze {
    background: linear-gradient(135deg, #CD7F32 0%, #B8733B 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(205, 127, 50, 0.3);
}

.ranking-item img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--arctic-light-blue);
}

.ranking-info {
    flex: 1;
}

.ranking-name {
    font-weight: 600;
    color: var(--nordic-blue);
    display: block;
    margin-bottom: 0.25rem;
}

.ranking-detail {
    font-size: 0.85rem;
    color: var(--graphite-grey);
    opacity: 0.7;
}

/* Popular Items */
.popular-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.popular-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, #5a91b8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.popular-info {
    flex: 1;
}

.popular-name {
    font-weight: 600;
    color: var(--nordic-blue);
    display: block;
    margin-bottom: 0.25rem;
}

.popular-count {
    font-size: 0.85rem;
    color: var(--graphite-grey);
    opacity: 0.7;
}

.popular-bar {
    width: 100%;
    height: 8px;
    background: rgba(116, 169, 207, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 0.5rem;
}

.popular-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Online Drivers */
.online-drivers {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.driver-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 1px solid rgba(116, 169, 207, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.driver-badge:hover {
    background: rgba(116, 169, 207, 0.05);
    transform: translateY(-5px);
}

.driver-badge img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--arctic-light-blue);
}

.online-status {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    width: 12px;
    height: 12px;
    background: var(--success-green);
    border: 2px solid white;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.driver-name {
    font-size: 0.85rem;
    color: var(--nordic-blue);
    font-weight: 500;
}

.driver-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    border: 2px dashed rgba(116, 169, 207, 0.3);
    border-radius: 12px;
    color: var(--arctic-light-blue);
    font-size: 2rem;
}

.driver-more p {
    font-size: 0.85rem;
    font-weight: 500;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--nordic-blue);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid rgba(116, 169, 207, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: white;
    color: var(--graphite-grey);
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--arctic-light-blue);
    box-shadow: 0 0 0 3px rgba(116, 169, 207, 0.1);
}

/* Tours Table */
.tours-table-container {
    overflow-x: auto;
}

.tours-table {
    width: 100%;
    border-collapse: collapse;
}

.tours-table thead {
    background: rgba(116, 169, 207, 0.1);
}

.tours-table th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    color: var(--nordic-blue);
    font-size: 0.9rem;
}

.tours-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(116, 169, 207, 0.1);
    font-size: 0.9rem;
}

.tours-table tbody tr {
    transition: all 0.3s ease;
    cursor: pointer;
}

.tours-table tbody tr:hover {
    background: rgba(116, 169, 207, 0.05);
}

.table-driver {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.table-driver img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--arctic-light-blue);
}

.table-route {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.route-from,
.route-to {
    font-weight: 600;
}

.badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.badge.completed {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-green);
}

.badge.in-progress {
    background: rgba(116, 169, 207, 0.1);
    color: var(--arctic-light-blue);
}

.badge.planned {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-orange);
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(116, 169, 207, 0.1);
    color: var(--arctic-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-icon:hover {
    background: var(--arctic-light-blue);
    color: white;
    transform: scale(1.1);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
}

.pagination-pages {
    display: flex;
    gap: 0.5rem;
}

.pagination-page,
.pagination-btn {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(116, 169, 207, 0.3);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--graphite-grey);
}

.pagination-page:hover:not(.active),
.pagination-btn:hover:not(:disabled) {
    background: rgba(116, 169, 207, 0.1);
    border-color: var(--arctic-light-blue);
}

.pagination-page.active {
    background: var(--arctic-light-blue);
    color: white;
    border-color: var(--arctic-light-blue);
}

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

/* Details Container */
.details-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
}

.detail-card.status-card {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(76, 175, 80, 0.05) 100%);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.status-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.status-icon.completed {
    background: var(--success-green);
    color: white;
}

.status-info h2 {
    color: var(--success-green);
    margin-bottom: 0.5rem;
}

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

.detail-card.full-width-detail {
    grid-column: 1 / -1;
}

.card-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(116, 169, 207, 0.2);
}

.card-header h3 {
    font-size: 1.1rem;
    color: var(--nordic-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Route Visual */
.route-visual {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.route-point {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.route-marker {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
}

.route-point.start .route-marker {
    background: var(--success-green);
}

.route-point.end .route-marker {
    background: var(--arctic-light-blue);
}

.route-location h4 {
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.route-location p {
    color: var(--graphite-grey);
    opacity: 0.7;
    font-size: 0.9rem;
}

.route-time {
    display: block;
    font-size: 0.85rem;
    color: var(--graphite-grey);
    opacity: 0.6;
    margin-top: 0.25rem;
}

.route-line {
    margin-left: 20px;
    padding-left: 20px;
    border-left: 3px dashed rgba(116, 169, 207, 0.3);
    padding: 1rem 0 1rem 2rem;
}

.route-distance,
.route-duration {
    font-size: 0.9rem;
    color: var(--graphite-grey);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Driver Profile */
.driver-profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
}

.driver-avatar-large {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--arctic-light-blue);
}

.driver-profile h4 {
    color: var(--nordic-blue);
    font-size: 1.2rem;
    margin-top: 0.5rem;
}

.driver-role {
    color: var(--arctic-light-blue);
    font-weight: 600;
    font-size: 0.9rem;
}

.driver-stats-small {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
}

.stat-item-small {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--graphite-grey);
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(116, 169, 207, 0.3);
}

.btn-secondary {
    background: rgba(116, 169, 207, 0.1);
    color: var(--arctic-light-blue);
    border: 1px solid var(--arctic-light-blue);
}

.btn-secondary:hover {
    background: rgba(116, 169, 207, 0.2);
}

/* Cargo Details */
.cargo-details,
.info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cargo-item,
.info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: rgba(116, 169, 207, 0.05);
    border-radius: 8px;
}

.cargo-label,
.info-label {
    color: var(--graphite-grey);
    opacity: 0.8;
    font-size: 0.9rem;
}

.cargo-value,
.info-value {
    font-weight: 600;
    color: var(--nordic-blue);
}

.cargo-value.success,
.info-value.success {
    color: var(--success-green);
}

/* Vehicle Info */
.vehicle-info {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.vehicle-image {
    width: 80px;
    height: 80px;
    background: rgba(116, 169, 207, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-details {
    flex: 1;
}

.vehicle-details h4 {
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.vehicle-id {
    color: var(--graphite-grey);
    opacity: 0.7;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.vehicle-specs {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--graphite-grey);
    margin-bottom: 0.75rem;
}

.vehicle-specs span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Financial Grid */
.financial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.financial-item {
    padding: 1rem;
    background: rgba(116, 169, 207, 0.05);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.financial-item.total {
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    color: white;
}

.financial-item.total .financial-label,
.financial-item.total .financial-value {
    color: white;
}

.financial-label {
    font-size: 0.9rem;
    color: var(--graphite-grey);
}

.financial-value {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--nordic-blue);
}

.financial-value.positive {
    color: var(--success-green);
}

.financial-value.negative {
    color: var(--danger-red);
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(116, 169, 207, 0.05);
    border-radius: 12px;
}

.metric-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.metric-content h4 {
    color: var(--nordic-blue);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.metric-score {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.metric-score.excellent {
    color: var(--success-green);
}

.metric-score.good {
    color: var(--arctic-light-blue);
}

.metric-label {
    font-size: 0.85rem;
    color: var(--graphite-grey);
    opacity: 0.7;
}

/* Route Timeline */
.route-timeline {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.timeline-item {
    display: flex;
    gap: 1rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 18px;
    top: 40px;
    width: 3px;
    height: calc(100% + 1rem);
    background: linear-gradient(180deg, var(--arctic-light-blue) 0%, rgba(116, 169, 207, 0.2) 100%);
}

.timeline-marker {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(116, 169, 207, 0.1);
    color: var(--arctic-light-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
}

.timeline-marker.start,
.timeline-marker.end {
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    color: white;
}

.timeline-content h4 {
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.timeline-content p {
    color: var(--graphite-grey);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.timeline-time {
    font-size: 0.85rem;
    color: var(--graphite-grey);
    opacity: 0.6;
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--arctic-light-blue);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
    font-weight: 500;
}

.back-btn:hover {
    color: var(--nordic-blue);
    transform: translateX(-5px);
}

/* Staff Grid */
.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.staff-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow);
}

.staff-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    position: relative;
}

.staff-header img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid var(--arctic-light-blue);
}

.staff-status {
    position: absolute;
    top: 0;
    right: calc(50% - 45px);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.staff-status.online {
    background: var(--success-green);
    color: white;
}

.staff-status.offline {
    background: var(--graphite-grey);
    color: white;
}

.staff-status.driving {
    background: var(--arctic-light-blue);
    color: white;
}

.staff-info {
    text-align: center;
    margin-bottom: 1rem;
}

.staff-info h3 {
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.staff-role {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.staff-role.ceo {
    color: #FFD700;
}

.staff-role.hr {
    color: var(--arctic-light-blue);
}

.staff-role.accounting {
    color: var(--success-green);
}

.staff-role.dispatch {
    color: var(--warning-orange);
}

.staff-role.driver {
    color: var(--nordic-blue);
}

.staff-id {
    font-size: 0.8rem;
    color: var(--graphite-grey);
    opacity: 0.6;
}

.staff-stats {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.staff-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--graphite-grey);
}

.staff-contact {
    font-size: 0.85rem;
    color: var(--graphite-grey);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.staff-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem;
    border: 2px dashed rgba(116, 169, 207, 0.3);
    border-radius: 16px;
    color: var(--arctic-light-blue);
    min-height: 200px;
}

.staff-more i {
    font-size: 3rem;
}

.staff-more p {
    font-weight: 500;
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(116, 169, 207, 0.3);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--graphite-grey);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn:hover {
    background: rgba(116, 169, 207, 0.1);
    border-color: var(--arctic-light-blue);
}

.tab-btn.active {
    background: var(--arctic-light-blue);
    color: white;
    border-color: var(--arctic-light-blue);
}

.staff-category {
    margin-bottom: 3rem;
}

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

.category-header h2 {
    font-size: 1.4rem;
    color: var(--nordic-blue);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.category-count {
    font-size: 0.9rem;
    color: var(--graphite-grey);
    opacity: 0.7;
}

/* Profile Header */
.profile-header {
    display: flex;
    gap: 2rem;
    align-items: center;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.profile-avatar-section {
    position: relative;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid var(--arctic-light-blue);
}

.profile-status {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 3px solid white;
}

.profile-status.online {
    background: var(--success-green);
}

.profile-info-section {
    flex: 1;
}

.profile-info-section h2 {
    color: var(--nordic-blue);
    margin-bottom: 0.5rem;
}

.profile-role {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.profile-id {
    font-size: 0.9rem;
    color: var(--graphite-grey);
    opacity: 0.6;
    margin-bottom: 1rem;
}

.profile-badges {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.badge-item {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.badge-item.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
}

.badge-item.blue {
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    color: white;
}

.badge-item.green {
    background: linear-gradient(135deg, var(--success-green) 0%, #45a049 100%);
    color: white;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

/* Profile Stats Bar */
.profile-stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.profile-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
}

.stat-content h4 {
    font-size: 0.9rem;
    color: var(--graphite-grey);
    margin-bottom: 0.25rem;
}

.stat-content p {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--graphite-grey);
    opacity: 0.7;
}

/* Performance Grid */
.performance-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.performance-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 200px;
    color: var(--graphite-grey);
}

.performance-bar {
    flex: 1;
    height: 12px;
    background: rgba(116, 169, 207, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.performance-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.performance-value {
    font-weight: 700;
    color: var(--nordic-blue);
    min-width: 60px;
    text-align: right;
}

/* Achievements Grid */
.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
}

.achievement-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(116, 169, 207, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-5px);
    background: rgba(116, 169, 207, 0.1);
}

.achievement-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

.achievement-icon.gold {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

.achievement-icon.blue {
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
}

.achievement-icon.green {
    background: linear-gradient(135deg, var(--success-green) 0%, #45a049 100%);
}

.achievement-icon.grey {
    background: linear-gradient(135deg, var(--graphite-grey) 0%, #1a1d1f 100%);
}

.achievement-card h4 {
    color: var(--nordic-blue);
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.achievement-card p {
    font-size: 0.8rem;
    color: var(--graphite-grey);
    opacity: 0.7;
}

/* Statistics Page */
.stats-timeframe {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
}

.timeframe-btn {
    padding: 0.75rem 1.5rem;
    border: 1px solid rgba(116, 169, 207, 0.3);
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: var(--graphite-grey);
}

.timeframe-btn:hover {
    background: rgba(116, 169, 207, 0.1);
    border-color: var(--arctic-light-blue);
}

.timeframe-btn.active {
    background: var(--arctic-light-blue);
    color: white;
    border-color: var(--arctic-light-blue);
}

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

.stats-overview-card {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: 0 8px 32px var(--shadow);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.stats-overview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px var(--shadow);
}

.stats-overview-icon {
    width: 70px;
    height: 70px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.stats-overview-content {
    flex: 1;
}

.stats-overview-content h3 {
    font-size: 0.9rem;
    color: var(--graphite-grey);
    opacity: 0.7;
    margin-bottom: 0.5rem;
}

.stats-big-number {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--nordic-blue);
    margin-bottom: 0.5rem;
}

.stats-trend {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.stats-trend.positive {
    color: var(--success-green);
}

/* Charts */
.chart-section {
    min-height: 350px;
}

.chart-legend {
    display: flex;
    gap: 1.5rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--graphite-grey);
}

.legend-color {
    width: 20px;
    height: 4px;
    border-radius: 2px;
}

/* Ranking Chart */
.ranking-chart {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.ranking-bar-item .ranking-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-width: 180px;
}

.ranking-bar-item img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--arctic-light-blue);
}

.ranking-bar-item .ranking-name {
    font-size: 0.9rem;
}

.ranking-progress {
    flex: 1;
    height: 12px;
    background: rgba(116, 169, 207, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.ranking-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    border-radius: 6px;
    transition: width 0.5s ease;
}

.ranking-value {
    font-weight: 700;
    color: var(--nordic-blue);
    min-width: 80px;
    text-align: right;
}

/* Countries Grid */
.countries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.country-card {
    padding: 2rem;
    background: rgba(116, 169, 207, 0.05);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.country-card:hover {
    transform: translateY(-5px);
    background: rgba(116, 169, 207, 0.1);
}

.country-flag {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.country-card h4 {
    color: var(--nordic-blue);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.country-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.country-stat {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
}

.country-stat .label {
    color: var(--graphite-grey);
    font-size: 0.85rem;
}

.country-stat .value {
    font-weight: 700;
    color: var(--nordic-blue);
}

/* Cities Grid */
.cities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
}

.city-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(116, 169, 207, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.city-item:hover {
    background: rgba(116, 169, 207, 0.1);
    transform: translateX(5px);
}

.city-rank {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.city-info {
    flex: 1;
}

.city-info h4 {
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.city-country {
    font-size: 0.85rem;
    color: var(--graphite-grey);
    opacity: 0.7;
}

.city-stats {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--graphite-grey);
}

.city-stats span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Monthly Performance */
.monthly-performance {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.month-card {
    padding: 1.5rem;
    background: rgba(116, 169, 207, 0.05);
    border-radius: 16px;
}

.month-card h4 {
    color: var(--nordic-blue);
    margin-bottom: 1.5rem;
    text-align: center;
}

.month-progress {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.progress-ring {
    position: relative;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--nordic-blue);
}

.month-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
}

.month-details p {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--graphite-grey);
    font-size: 0.9rem;
}

/* KPI Grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.kpi-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(116, 169, 207, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.kpi-item:hover {
    background: rgba(116, 169, 207, 0.1);
    transform: translateY(-3px);
}

.kpi-item i {
    font-size: 2rem;
    color: var(--arctic-light-blue);
}

.kpi-content {
    flex: 1;
}

.kpi-content h4 {
    font-size: 0.9rem;
    color: var(--graphite-grey);
    margin-bottom: 0.5rem;
}

.kpi-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.kpi-change {
    font-size: 0.85rem;
    font-weight: 500;
}

.kpi-change.positive {
    color: var(--success-green);
}

/* Login Page */
.login-page {
    margin: 0;
    padding: 0;
}

.login-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.login-left {
    background: linear-gradient(135deg, var(--nordic-blue) 0%, #0d2958 100%);
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.login-brand {
    margin-bottom: 4rem;
}

.login-brand i {
    font-size: 4rem;
    color: var(--arctic-light-blue);
    margin-bottom: 1rem;
}

.login-brand h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.login-brand p {
    font-size: 1.1rem;
    opacity: 0.8;
}

.login-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.feature-item i {
    font-size: 2rem;
    color: var(--arctic-light-blue);
}

.feature-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
}

.feature-content p {
    opacity: 0.7;
}

.login-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem 2rem;
    background: var(--background);
}

.login-box {
    width: 100%;
    max-width: 450px;
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 60px var(--shadow);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h2 {
    font-size: 2rem;
    color: var(--nordic-blue);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: var(--graphite-grey);
    opacity: 0.7;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--nordic-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-group input {
    padding: 1rem;
    border: 2px solid rgba(116, 169, 207, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--arctic-light-blue);
    box-shadow: 0 0 0 3px rgba(116, 169, 207, 0.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-password {
    color: var(--arctic-light-blue);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.forgot-password:hover {
    color: var(--nordic-blue);
}

.login-btn {
    padding: 1rem;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.login-btn.primary {
    background: linear-gradient(135deg, var(--arctic-light-blue) 0%, var(--nordic-blue) 100%);
    color: white;
}

.login-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(116, 169, 207, 0.3);
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 2rem 0;
    color: var(--graphite-grey);
    opacity: 0.5;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(116, 169, 207, 0.2);
}

.login-divider span {
    padding: 0 1rem;
    font-size: 0.9rem;
}

.social-login {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid rgba(116, 169, 207, 0.2);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 0.95rem;
}

.social-btn.discord {
    color: #5865F2;
}

.social-btn.discord:hover {
    background: #5865F2;
    color: white;
    border-color: #5865F2;
}

.social-btn.steam {
    color: #171a21;
}

.social-btn.steam:hover {
    background: #171a21;
    color: white;
    border-color: #171a21;
}

.login-footer {
    text-align: center;
    margin-top: 2rem;
    color: var(--graphite-grey);
}

.login-footer a {
    color: var(--arctic-light-blue);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.login-footer a:hover {
    color: var(--nordic-blue);
}

.login-info {
    margin-top: 2rem;
    text-align: center;
    color: var(--graphite-grey);
    opacity: 0.7;
    font-size: 0.9rem;
}

.login-info i {
    color: var(--success-green);
}

/* Responsive Design */
@media (max-width: 1400px) {
    .content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1200px) {
    .sidebar {
        width: 80px;
    }
    
    .logo h2,
    .nav-item span {
        display: none;
    }
    
    .logo {
        justify-content: center;
    }
    
    .nav-item {
        justify-content: center;
    }
    
    .main-content {
        margin-left: 80px;
    }
}

@media (max-width: 992px) {
    .login-container {
        grid-template-columns: 1fr;
    }
    
    .login-left {
        display: none;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-content {
        margin-left: 0;
        padding: 1rem;
    }
    
    .header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .staff-grid {
        grid-template-columns: 1fr;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--arctic-light-blue);
    color: white;
}
/* Maintenance Items */
.maintenance-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.maintenance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border-radius: 12px;
    background: rgba(116, 169, 207, 0.05);
    transition: all 0.3s ease;
}

.maintenance-item:hover {
    background: rgba(116, 169, 207, 0.1);
    transform: translateX(5px);
}

.maintenance-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.maintenance-icon.good {
    background: rgba(76, 175, 80, 0.1);
    color: var(--success-green);
}

.maintenance-icon.warning {
    background: rgba(255, 152, 0, 0.1);
    color: var(--warning-orange);
}

.maintenance-icon.critical {
    background: rgba(244, 67, 54, 0.1);
    color: var(--danger-red);
}

.maintenance-info {
    flex: 1;
}

.maintenance-info h4 {
    font-size: 1rem;
    color: var(--nordic-blue);
    margin-bottom: 0.25rem;
}

.maintenance-info p {
    font-size: 0.85rem;
    color: var(--graphite-grey);
    opacity: 0.7;
}

.maintenance-status {
    text-align: right;
    min-width: 100px;
}

.damage-percentage {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.damage-percentage.good { color: var(--success-green); }
.damage-percentage.warning { color: var(--warning-orange); }
.damage-percentage.critical { color: var(--danger-red); }

.damage-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.damage-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.damage-fill.good { background: var(--success-green); }
.damage-fill.warning { background: var(--warning-orange); }
.damage-fill.critical { background: var(--danger-red); }