:root {
            --neon-primary: #0ff0fc;
            --neon-secondary: #ff00ff;
            --neon-bg: #0a0a20;
            --neon-text: #ffffff;
        }

        .theme-cyan {
            --neon-primary: #0ff0fc;
            --neon-secondary: #00ffcc;
        }

        .theme-magenta {
            --neon-primary: #ff00ff;
            --neon-secondary: #ff1493;
        }

        .theme-purple {
            --neon-primary: #9d00ff;
            --neon-secondary: #ff00ff;
        }

        .theme-space {
            --neon-primary: #00a2ff;
            --neon-secondary: #ff00aa;
            --neon-bg: #000010;
        }
        .table td:nth-child(6) { /* Kolom alamat */
            max-width: 200px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        body {
            font-family: 'Orbitron', sans-serif;
            transition: background-color 0.5s ease, color 0.3s ease;
            background-color: var(--neon-bg);
            color: var(--neon-text);
            background-image: 
                radial-gradient(circle at 10% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 20%),
                radial-gradient(circle at 90% 80%, rgba(255, 0, 255, 0.1) 0%, transparent 20%);
            min-height: 100vh;
        }

        .neon-text {
            color: var(--neon-primary);
            text-shadow: 0 0 5px var(--neon-primary), 0 0 10px var(--neon-primary);
            transition: text-shadow 0.3s ease, color 0.3s ease;
        }

        .neon-card {
            background-color: rgba(10, 10, 40, 0.7);
            border: 1px solid var(--neon-primary);
            box-shadow: 0 0 10px var(--neon-primary), 0 0 20px var(--neon-primary);
            border-radius: 10px;
            transition: all 0.3s ease;
        }

        .neon-card:hover {
            box-shadow: 0 0 15px var(--neon-primary), 0 0 30px var(--neon-primary);
            transform: translateY(-5px);
        }

        .neon-btn {
            background-color: transparent;
            color: var(--neon-primary);
            border: 1px solid var(--neon-primary);
            box-shadow: 0 0 5px var(--neon-primary);
            transition: all 0.3s ease;
        }

        .neon-btn:hover {
            background-color: var(--neon-primary);
            color: var(--neon-bg);
            box-shadow: 0 0 15px var(--neon-primary);
        }

        .neon-nav {
            background-color: rgba(10, 10, 40, 0.9);
            border-bottom: 1px solid var(--neon-primary);
            box-shadow: 0 0 10px var(--neon-primary);
        }

        .blink {
            animation: blink 2s infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.7; }
        }

        .stars {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        .star {
            position: absolute;
            background-color: white;
            border-radius: 50%;
            animation: twinkle var(--duration) infinite ease-in-out;
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 1; }
        }
        .profile-placeholder {
            transition: all 0.3s ease;
        }
        .profile-placeholder:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px var(--neon-primary);
        }
        .profile-img {
            transition: transform 0.3s, box-shadow 0.3s;
        }
        .profile-img:hover {
            transform: scale(1.05);
            box-shadow: 0 0 25px var(--neon-secondary);
        }
        /* Efek hover untuk dropdown tema */
        .dropdown-item.neon-text {
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        /* Warna hover spesifik untuk setiap tema */
        .dropdown-item.neon-text:hover[onclick*="cyan"] {
            background: linear-gradient(90deg, rgba(0,0,0,0.3), rgba(0, 255, 255, 0.2));
            box-shadow: 0 0 10px #0ff0fc;
        }

        .dropdown-item.neon-text:hover[onclick*="magenta"] {
            background: linear-gradient(90deg, rgba(0,0,0,0.3), rgba(255, 0, 255, 0.2));
            box-shadow: 0 0 10px #ff00ff;
        }

        .dropdown-item.neon-text:hover[onclick*="purple"] {
            background: linear-gradient(90deg, rgba(0,0,0,0.3), rgba(157, 0, 255, 0.2));
            box-shadow: 0 0 10px #9d00ff;
        }

        .dropdown-item.neon-text:hover[onclick*="space"] {
            background: linear-gradient(90deg, rgba(0,0,0,0.3), rgba(0, 162, 255, 0.2));
            box-shadow: 0 0 10px #00a2ff, 0 0 20px #ff00aa;
        }

        /* Indikator tema aktif */
        .dropdown-item.neon-text.active-theme {
            border-left: 3px solid var(--neon-primary);
            padding-left: 12px;
        }

        /* Animasi klik */
        @keyframes themeClick {
            0% { transform: scale(1); }
            50% { transform: scale(0.95); }
            100% { transform: scale(1); }
        }

        .dropdown-item.neon-text:active {
            animation: themeClick 0.3s ease;
        }
        /* Responsive Design */
@media (max-width: 768px) {
    /* Navbar */
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    /* Dashboard */
    .profile-card {
        width: 95%;
        margin: 0 auto;
        padding: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    /* Tabel Mahasiswa */
    .table-responsive {
        overflow-x: auto;
        display: block;
        width: 100%;
    }
    
    /* Form */
    .neon-card {
        padding: 1.5rem;
    }
    
        /* Tombol */
        .neon-btn {
            padding: 0.5rem;
            font-size: 0.9rem;
        }
    }

    @media (max-width: 576px) {
        /* Profile Image */
        .profile-img {
            width: 100px;
            height: 100px;
        }   
    
        /* Form Grid */
        .form-grid {
            grid-template-columns: 1fr;
            gap: 1rem;
        }
        
        /* Action Buttons */
        .action-btns {
            flex-direction: column;
            gap: 0.5rem;
        }
        
        .action-btns a, 
        .action-btns button {
            width: 100%;
        }
    }
    /* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 5, 20, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.loading-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.loading-content {
    text-align: center;
}

.loading-spinner {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.spinner-circle {
    width: 15px;
    height: 15px;
    margin: 0 5px;
    background-color: var(--neon-primary);
    border-radius: 50%;
    animation: bounce 1.4s infinite ease-in-out;
}

.spinner-circle:nth-child(1) {
    animation-delay: -0.32s;
}

.spinner-circle:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes bounce {
    0%, 80%, 100% { 
        transform: scale(0);
    } 
    40% { 
        transform: scale(1);
    }
}

.loading-text {
    font-size: 1.2rem;
    text-shadow: 0 0 10px var(--neon-primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}
/* Mobile Table Styles */
@media (max-width: 640px) {
    /* Ubah tabel menjadi card */
    .mobile-table {
        display: block;
    }
    
    .mobile-table thead {
        display: none;
    }
    
    .mobile-table tbody, 
    .mobile-table tr, 
    .mobile-table td {
        display: block;
        width: 100%;
    }
    
    .mobile-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid var(--neon-primary);
        border-radius: 8px;
        padding: 1rem;
        position: relative;
    }
    
    .mobile-table td {
        padding: 0.5rem;
        border: none;
    }
    
    .mobile-table td::before {
        content: attr(data-label);
        font-weight: bold;
        display: inline-block;
        width: 120px;
        color: var(--neon-primary);
    }
    
    .mobile-table .action-btns {
        justify-content: center;
        margin-top: 1rem;
    }
}