body {
    font-family: 'Inter', sans-serif;
    background-color: #0f172a; /* Dark Slate */
    background-image: linear-gradient(180deg, #0f172a 0%, #1e1b4b 100%);
}
.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}
.hero-bg {
    background-color: transparent;
    position: relative;
    overflow: hidden;
}
.lidar-scan {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    padding-bottom: 200%;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: conic-gradient(from 0deg, transparent 0%, rgba(236, 72, 153, 0.2) 10%, transparent 25%);
    animation: rotate 10s linear infinite;
}
@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
.glassmorphism {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Enhanced HUD Card Styles */
.hud-card {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.hud-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 165, 0, 0.8), transparent);
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Enhanced Table Styles */
.cyber-table {
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.cyber-table thead {
    background: rgba(255, 165, 0, 0.1);
    border-bottom: 2px solid rgba(255, 165, 0, 0.5);
}

.cyber-table th {
    color: #fbbf24;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 1rem;
}

.cyber-table td {
    color: #e2e8f0;
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cyber-table tr:hover {
    background: rgba(255, 165, 0, 0.05);
}

/* Enhanced Button Styles */
.cyber-btn {
    background: linear-gradient(45deg, #f97316, #ec4899);
    border: 1px solid rgba(255, 165, 0, 0.5);
    color: white;
    font-weight: 700;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
}

.cyber-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 165, 0, 0.3);
}

.cyber-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: 0.5s;
}

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

/* Search and Filter Styles */
.search-container {
    position: relative;
}

.search-input {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 165, 0, 0.3);
    color: #e2e8f0;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border-radius: 6px;
    width: 100%;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: #f97316;
    box-shadow: 0 0 0 2px rgba(249, 115, 22, 0.2);
    outline: none;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: #f97316;
}

/* Additional HUD Enhancements */
.hud-card {
    position: relative;
    border: 1px solid rgba(14, 165, 233, 0.2);
    background-color: rgba(15, 23, 42, 0.8);
    background-image:
        linear-gradient(rgba(14, 165, 233, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(14, 165, 233, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(14, 165, 233, 0.1);
    transition: all 0.3s ease;
}

.hud-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(14, 165, 233, 0.7);
    box-shadow: 0 0 40px rgba(14, 165, 233, 0.25);
}

/* Mobile Responsive Enhancements */
@media (max-width: 768px) {
    .cyber-table {
        font-size: 0.875rem;
    }
    
    .cyber-table th,
    .cyber-table td {
        padding: 0.5rem;
    }
    
    .search-container {
        margin-bottom: 1rem;
    }
    
    .hud-card {
        margin-bottom: 1rem;
    }
    
    .grid {
        gap: 1rem;
    }
    
    .text-3xl {
        font-size: 1.875rem;
    }
    
    /* Mobile table scroll indicator */
    .overflow-x-auto::after {
        content: '→ Scroll to see more';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        background: linear-gradient(90deg, transparent, rgba(15, 23, 42, 0.9));
        color: #9ca3af;
        font-size: 0.75rem;
        padding: 0.5rem;
        pointer-events: none;
    }
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading States */
.loading-skeleton {
    background: linear-gradient(90deg, rgba(15, 23, 42, 0.8) 25%, rgba(255, 165, 0, 0.1) 50%, rgba(15, 23, 42, 0.8) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Status Indicators */
.status-indicator {
    position: relative;
}

.status-indicator::before {
    content: '';
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-active::before {
    background-color: #10b981;
}

.status-pending::before {
    background-color: #f59e0b;
}

.status-failed::before {
    background-color: #ef4444;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: translateY(-50%) scale(1);
    }
    50% {
        opacity: 0.5;
        transform: translateY(-50%) scale(1.2);
    }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    color: white;
    backdrop-filter: blur(16px);
    transform: translateX(400px);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    border-color: rgba(16, 185, 129, 0.5);
}

.notification.error {
    border-color: rgba(239, 68, 68, 0.5);
}

.notification.warning {
    border-color: rgba(245, 158, 11, 0.5);
}

/* Additional HUD Styling */
.hud-background {
    background-color: rgba(15, 23, 42, 0.8);
}
.hud-card::before, .hud-card::after, .hud-card > div > .card-corners::before, .hud-card > div > .card-corners::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border-color: #0ea5e9; /* Sky Blue */
    border-style: solid;
    transition: all 0.3s ease;
}
.hud-card::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; }
.hud-card::after { top: -1px; right: -1px; border-width: 2px 2px 0 0; }
.hud-card > div > .card-corners::before { bottom: -1px; left: -1px; border-width: 0 0 2px 2px; }
.hud-card > div > .card-corners::after { bottom: -1px; right: -1px; border-width: 0 0 2px 2px; }
.typewriter h1 {
    overflow: hidden;
    border-right: .15em solid #ec4899;
    white-space: nowrap;
    margin: 0 auto;
    letter-spacing: .1em;
    animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite;
}
@keyframes typing { from { width: 0 } to { width: 100% } }
@keyframes blink-caret { from, to { border-color: transparent } 50% { border-color: #ec4899; } }

.hud-input {
    background-color: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(14, 165, 233, 0.3);
    color: #e2e8f0;
}
.hud-input:focus {
    outline: none;
    border-color: rgba(14, 165, 233, 0.8);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.2);
}

/* Existing styles */
.container {
    width: 80%;
    margin: auto;
    overflow: hidden;
}

h1.main-header {
    text-align: center;
    color: #333;
}

/* Filter Form Styling */
#filter-form {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.filter-grid label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #555;
}

.filter-grid select,
.filter-grid input[type="text"],
.filter-grid input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
}

.filter-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.filter-actions input[type="submit"],
.filter-actions button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
}

.filter-actions input[type="submit"] {
    background-color: #007bff;
    color: white;
}

.filter-actions button {
    background-color: #6c757d;
    color: white;
}

.filter-actions input[type="submit"]:hover {
    background-color: #0056b3;
}

.filter-actions button:hover {
    background-color: #5a6268;
}

.active {
    background-color: #f97316;
    color: #fff;
}

.active:hover {
    background-color: #ea580c;
}
