/* Reset Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #121212; /* Hitam Pekat */
    color: #e0e0e0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Container Utama */
.container {
    width: 100%;
    max-width: 500px;
    padding: 20px;
}

/* Card Styling */
.card {
    background-color: #1e1e1e; /* Abu gelap */
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    text-align: center;
    transition: transform 0.3s ease;
}

h1 {
    margin-bottom: 10px;
    font-weight: 300;
    color: #ffffff;
}

p.subtitle {
    color: #888;
    margin-bottom: 30px;
    font-size: 0.9rem;
}

/* Input & Button */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 15px;
    background-color: #2c2c2c;
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]:focus {
    border-color: #6200ea; /* Ungu gelap */
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #3700b3, #bb86fc);
    border: none;
    border-radius: 8px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: opacity 0.3s;
}

button:hover {
    opacity: 0.9;
}

/* Hasil Pencarian */
#result {
    margin-top: 30px;
    padding: 20px;
    border-radius: 10px;
    background-color: #252525;
    display: none; /* Default Hidden */
    animation: fadeIn 0.5s;
}

.status-lulus {
    color: #03dac6; /* Hijau Cyan */
    font-weight: bold;
}

.status-tidak {
    color: #cf6679; /* Merah Muda */
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Tabel Admin */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #252525;
    border-radius: 8px;
    overflow: hidden;
}

th, td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #333;
}

th {
    background-color: #3700b3;
    color: white;
}

/* --- Gaya untuk Import Data --- */
.btn-import {
    display: inline-block;
    background-color: #3700b3;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    margin-left: 10px;
}

.btn-import:hover {
    background-color: #6200ea;
}

.modal {
    display: none; 
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    background-color: rgba(0,0,0,0.7); 
}

.modal-content {
    background-color: #1e1e1e;
    margin: 10% auto;
    padding: 25px;
    border: 1px solid #444;
    width: 90%;
    max-width: 500px;
    border-radius: 10px;
    color: #fff;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover { color: #fff; }

.upload-area {
    border: 2px dashed #555;
    padding: 30px;
    text-align: center;
    margin: 15px 0;
    border-radius: 8px;
    cursor: pointer;
}

.upload-area:hover {
    border-color: #bb86fc;
    background-color: #252525;
}