        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        :root {
            --primary: #4361ee;
            --secondary: #3a0ca3;
            --accent: #f72585;
            --success: #4cc9f0;
            --warning: #f8961e;
            --info: #7209b7;
            --light: #f8f9fa;
            --dark: #212529;
            --gradient-primary: linear-gradient(135deg, #4361ee, #3a0ca3);
            --gradient-secondary: linear-gradient(135deg, #f72585, #b5179e);
            --gradient-success: linear-gradient(135deg, #4cc9f0, #4895ef);
        }
        
        body {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #333;
            line-height: 1.6;
            padding: 20px;
            min-height: 100vh;
        }
        
        .container {
            max-width: 1200px;
            margin: 0 auto;
            background-color: rgba(255, 255, 255, 0.95);
            border-radius: 20px;
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
            padding: 30px;
            backdrop-filter: blur(10px);
        }
        
        .header {
            text-align: center;
            margin-bottom: 30px;
            padding-bottom: 20px;
            border-bottom: 3px solid var(--primary);
            background: var(--gradient-primary);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
            position: relative;
        }
        
        .header::after {
            content: '';
            position: absolute;
            bottom: -10px;
            left: 50%;
            transform: translateX(-50%);
            width: 100px;
            height: 5px;
            background: var(--gradient-secondary);
            border-radius: 10px;
        }
        
        h1 {
            font-size: 2.5rem;
            font-weight: 800;
            margin-bottom: 10px;
        }
        
        .subtitle {
            font-size: 1.2rem;
            color: var(--secondary);
            font-weight: 500;
        }
        
        .search-container {
            display: flex;
            margin-bottom: 25px;
            gap: 10px;
            align-items: center;
            background: white;
            padding: 15px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .search-input {
            flex: 1;
            padding: 15px 20px;
            border: 2px solid #e1e5ee;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s;
            background: #f8f9fa;
        }
        
        .search-input:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
            background: white;
        }
        
        .reset-button {
            background: var(--gradient-secondary);
            color: white;
            border: none;
            padding: 15px 20px;
            border-radius: 12px;
            cursor: pointer;
            font-size: 16px;
            font-weight: 600;
            transition: all 0.3s;
            box-shadow: 0 4px 10px rgba(247, 37, 133, 0.3);
        }
        
        .reset-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(247, 37, 133, 0.4);
        }
        
        .controls-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 20px;
            flex-wrap: wrap;
            gap: 15px;
            background: white;
            padding: 15px;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }
        
        .rows-per-page {
            display: flex;
            align-items: center;
            gap: 10px;
            font-weight: 600;
            color: var(--secondary);
        }
        
        .rows-per-page select {
            padding: 10px 15px;
            border: 2px solid #e1e5ee;
            border-radius: 10px;
            font-size: 14px;
            background: #f8f9fa;
            font-weight: 600;
            color: var(--dark);
            transition: all 0.3s;
        }
        
        .rows-per-page select:focus {
            border-color: var(--primary);
            outline: none;
            box-shadow: 0 0 0 3px rgba(67, 97, 238, 0.2);
        }
        
        .table-container {
            overflow-x: auto;
            margin-bottom: 25px;
            border-radius: 15px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        table {
            width: 100%;
            border-collapse: collapse;
            min-width: 600px;
        }
        
        th {
            background: var(--gradient-primary);
            color: white;
            padding: 18px 15px;
            text-align: left;
            font-weight: 600;
            position: sticky;
            top: 0;
            font-size: 1.05rem;
        }
        
        th:first-child {
            border-radius: 15px 0 0 0;
        }
        
        th:last-child {
            border-radius: 0 15px 0 0;
        }
        
        td {
            padding: 15px;
            text-align: left;
            border-bottom: 1px solid #e1e1e1;
            background: white;
            transition: all 0.3s;
        }
        
        tr:hover td {
            background: #f0f4ff;
            transform: scale(1.01);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .pagination {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin-top: 20px;
            flex-wrap: wrap;
        }
        
        .pagination button {
            background: white;
            border: 2px solid #e1e5ee;
            padding: 10px 15px;
            border-radius: 10px;
            cursor: pointer;
            transition: all 0.3s;
            min-width: 45px;
            font-size: 14px;
            font-weight: 600;
            color: var(--dark);
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .pagination button:hover:not(:disabled) {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-2px);
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        }
        
        .pagination button.active {
            background: var(--gradient-primary);
            color: white;
            border-color: var(--primary);
            box-shadow: 0 5px 10px rgba(67, 97, 238, 0.3);
        }
        
        .pagination button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }
        
        .status {
            display: inline-block;
            padding: 8px 15px;
            border-radius: 20px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
        }
        
        .status-aktif-mengajar {
            background: linear-gradient(135deg, #4ade80, #22c55e);
            color: white;
        }
        
        .status-almarhum {
            background: linear-gradient(135deg, #6b7280, #4b5563);
            color: white;
        }
        
        .status-almarhumah {
            background: linear-gradient(135deg, #6b7280, #4b5563);
            color: white;
        }
        
        .status-non-aktif {
            background: linear-gradient(135deg, #f59e0b, #d97706);
            color: white;
        }
        
        .status-cpns {
            background: linear-gradient(135deg, #3b82f6, #2563eb);
            color: white;
        }
        
        .status-pensiun {
            background: linear-gradient(135deg, #8b5cf6, #7c3aed);
            color: white;
        }
        
        .status-tugas-belajar {
            background: linear-gradient(135deg, #06b6d4, #0891b2);
            color: white;
        }
        
        .loading {
            text-align: center;
            padding: 40px;
            color: var(--primary);
            font-size: 1.2rem;
        }
        
        .loading i {
            font-size: 2rem;
            margin-bottom: 15px;
            color: var(--accent);
        }
        
        .error {
            background: linear-gradient(135deg, #fecaca, #fca5a5);
            color: #dc2626;
            padding: 20px;
            border-radius: 15px;
            margin-bottom: 20px;
            display: none;
            border-left: 5px solid #ef4444;
            box-shadow: 0 5px 15px rgba(220, 38, 38, 0.1);
        }
        
        .no-data {
            text-align: center;
            padding: 40px;
            color: #6b7280;
            font-style: italic;
            font-size: 1.1rem;
        }
        
        .no-data i {
            font-size: 3rem;
            margin-bottom: 15px;
            color: #d1d5db;
        }
        
        .profile-pic {
            width: 70px;
            height: 90px;
            object-fit: cover;
            border: 3px solid #e1e5ee;
            border-radius: 10px;
            transition: all 0.3s;
            box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
            cursor: pointer;
        }
        
        .profile-pic:hover {
            transform: scale(1.1);
            border-color: var(--primary);
            box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
        }
        
        .no-photo {
            width: 70px;
            height: 90px;
            background: linear-gradient(135deg, #e5e7eb, #d1d5db);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            color: #6b7280;
            border-radius: 10px;
            border: 3px dashed #9ca3af;
        }
        
        .results-info {
            margin-bottom: 15px;
            color: var(--secondary);
            font-size: 1rem;
            font-weight: 600;
            padding: 10px 15px;
            background: #f0f4ff;
            border-radius: 10px;
            border-left: 5px solid var(--primary);
        }
        
        /* Modal Styles - Simplified */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.95);
            animation: fadeIn 0.3s ease-out;
        }
        
        .modal-content {
            position: relative;
            margin: auto;
            display: block;
            max-width: 90%;
            max-height: 90%;
            top: 50%;
            transform: translateY(-50%);
            border-radius: 10px;
            box-shadow: 0 0 40px rgba(255, 255, 255, 0.1);
            animation: zoomIn 0.3s ease-out;
            cursor: zoom-in;
        }
        
        .modal-content.zoomed {
            cursor: zoom-out;
            transform: translateY(-50%) scale(1.5);
        }
        
        .close {
            position: absolute;
            top: 25px;
            right: 35px;
            color: white;
            font-size: 45px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            z-index: 1001;
            background: rgba(0, 0, 0, 0.5);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .close:hover {
            color: var(--accent);
            transform: scale(1.1);
            background: rgba(0, 0, 0, 0.7);
        }
        
        .modal-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            color: white;
            font-size: 35px;
            font-weight: bold;
            cursor: pointer;
            transition: 0.3s;
            background: rgba(0, 0, 0, 0.5);
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
        }
        
        .modal-nav:hover {
            background: rgba(0, 0, 0, 0.8);
            transform: translateY(-50%) scale(1.1);
        }
        
        .prev {
            left: 35px;
        }
        
        .next {
            right: 35px;
        }
        
        @keyframes zoomIn {
            from { transform: translateY(-50%) scale(0.8); opacity: 0; }
            to { transform: translateY(-50%) scale(1); opacity: 1; }
        }
        
        /* Responsive styles untuk mobile */
        @media (max-width: 768px) {
            .container {
                padding: 15px;
            }
            
            h1 {
                font-size: 1.8rem;
            }
            
            .search-container {
                flex-direction: column;
            }
            
            .controls-container {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .table-container {
                border: 1px solid #e1e1e1;
                border-radius: 15px;
            }
            
            table {
                min-width: 100%;
            }
            
            th, td {
                padding: 12px 10px;
                font-size: 14px;
            }
            
            .pagination {
                gap: 5px;
            }
            
            .pagination button {
                padding: 8px 12px;
                min-width: 40px;
                font-size: 12px;
            }
            
            /* Modal mobile adjustments */
            .modal-content {
                max-width: 95%;
                max-height: 80%;
            }
            
            .modal-nav {
                width: 50px;
                height: 50px;
                font-size: 24px;
            }
            
            .prev {
                left: 15px;
            }
            
            .next {
                right: 15px;
            }
            
            .close {
                width: 45px;
                height: 45px;
                font-size: 30px;
                top: 15px;
                right: 20px;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding: 10px;
            }
            
            .container {
                padding: 10px;
            }
            
            h1 {
                font-size: 1.5rem;
                margin-bottom: 20px;
            }
            
            .search-input, .reset-button {
                font-size: 14px;
                padding: 12px;
            }
            
            .rows-per-page {
                font-size: 14px;
            }
            
            .rows-per-page select {
                padding: 8px 10px;
            }
            
            th, td {
                padding: 10px 8px;
                font-size: 13px;
            }
            
            .profile-pic, .no-photo {
                width: 50px;
                height: 65px;
            }
            
            .status {
                font-size: 10px;
                padding: 6px 10px;
            }
        }
        
        /* Card view untuk mobile */
        .card-view {
            display: none;
        }
        
        @media (max-width: 768px) {
            .table-view {
                display: none;
            }
            
            .card-view {
                display: block;
            }
            
            .dosen-card {
                border: none;
                border-radius: 15px;
                padding: 20px;
                margin-bottom: 20px;
                background: white;
                box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
                transition: all 0.3s;
            }
            
            .dosen-card:hover {
                transform: translateY(-5px);
                box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
            }
            
            .dosen-card-header {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                margin-bottom: 15px;
            }
            
            .dosen-card-name {
                font-weight: 700;
                font-size: 1.2rem;
                color: var(--secondary);
                margin-bottom: 8px;
            }
            
            .dosen-card-photo {
                width: 70px;
                height: 90px;
                object-fit: cover;
                border-radius: 10px;
                border: 3px solid #e1e5ee;
                box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
                cursor: pointer;
            }
            
            .dosen-card-details {
                display: grid;
                grid-template-columns: 1fr 1fr;
                gap: 12px;
                font-size: 14px;
            }
            
            .dosen-card-detail {
                display: flex;
                flex-direction: column;
            }
            
            .detail-label {
                font-weight: 600;
                color: var(--primary);
                font-size: 12px;
                margin-bottom: 4px;
            }
            
            .detail-value {
                color: var(--dark);
                font-weight: 500;
            }
        }
        
        /* Animasi */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        .container {
            animation: fadeIn 0.8s ease-out;
        }
        
        /* Custom scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb {
            background: var(--primary);
            border-radius: 10px;
        }
        
        ::-webkit-scrollbar-thumb:hover {
            background: var(--secondary);
        }
        
        /* Icon styles */
        .icon {
            margin-right: 8px;
        }