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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: #0f0f0f;
    color: #fff;
}

.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.header h1 {
    font-size: 24px;
    font-weight: 700;
}

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

.search-box {
    padding: 10px 15px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 25px;
    color: #fff;
    font-size: 15px;
    width: 250px;
    transition: all 0.3s;
}

.search-box::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-box:focus {
    outline: none;
    background: rgba(255,255,255,0.3);
    width: 300px;
}

.btn-admin {
    background: rgba(255,255,255,0.2);
    padding: 10px 20px;
    border-radius: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-admin:hover {
    background: rgba(255,255,255,0.3);
}

/* STATS BAR */
.stats-bar {
    background: #1a1a1a;
    padding: 15px 30px;
    display: flex;
    gap: 30px;
    border-bottom: 2px solid #2a2a2a;
}

.stat-item {
    display: flex;
    gap: 8px;
    align-items: center;
}

.stat-label {
    font-size: 14px;
    color: #999;
}

.stat-value {
    font-size: 18px;
    font-weight: 700;
}

.stat-item.green .stat-value {
    color: #10b981;
}

.stat-item.orange .stat-value {
    color: #f59e0b;
}

.stat-item.red .stat-value {
    color: #ef4444;
}

/* FILTER BAR */
.filter-bar {
    background: #1a1a1a;
    padding: 15px 30px;
    display: flex;
    gap: 10px;
    border-bottom: 2px solid #2a2a2a;
}

.filter-btn {
    padding: 8px 20px;
    background: #2a2a2a;
    border: 2px solid #3a3a3a;
    border-radius: 20px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    background: #3a3a3a;
}

.filter-btn.active {
    background: #667eea;
    border-color: #764ba2;
}

/* CONTAINER */
.container {
    padding: 30px;
    max-width: 1600px;
    margin: 0 auto;
}

/* LAPTOP GRID */
.laptop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* LAPTOP CARD */
.laptop-card {
    background: linear-gradient(145deg, #1e1e1e 0%, #2a2a2a 100%);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid #3a3a3a;
    transition: all 0.3s;
}

.laptop-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.3);
    border-color: #667eea;
}

.laptop-card.hidden {
    display: none;
}

/* STATUS BADGES */
.laptop-card.verfügbar {
    border-left: 5px solid #10b981;
}

.laptop-card.belegt {
    border-left: 5px solid #f59e0b;
}

.laptop-card.wartung {
    border-left: 5px solid #ef4444;
}

.laptop-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #3a3a3a;
}

.laptop-nummer {
    font-size: 24px;
    font-weight: 700;
    color: #667eea;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-badge.verfügbar {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #fff;
}

.status-badge.belegt {
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 100%);
    color: #fff;
}

.status-badge.wartung {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 100%);
    color: #fff;
}

.laptop-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.info-label {
    color: #999;
    min-width: 60px;
}

.info-value {
    color: #fff;
    font-weight: 600;
}

.info-value.empty {
    color: #666;
    font-style: italic;
}

/* REFRESH INDICATOR */
.refresh-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #2a2a2a;
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 13px;
    color: #999;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4);
    z-index: 1000;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .header {
        flex-direction: column;
        gap: 15px;
    }
    
    .search-box {
        width: 100%;
    }
    
    .search-box:focus {
        width: 100%;
    }
    
    .stats-bar {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .filter-bar {
        flex-wrap: wrap;
    }
    
    .laptop-grid {
        grid-template-columns: 1fr;
    }
}
