* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a2e 100%);
    color: #fff;
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(25, 25, 35, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(255, 0, 100, 0.2);
    border: 1px solid #ff0064;
}

h1 {
    color: #ff0064;
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    text-shadow: 0 0 10px rgba(255, 0, 100, 0.5);
}

.upload-box {
    border: 3px dashed #ff0064;
    border-radius: 15px;
    padding: 60px 20px;
    text-align: center;
    margin: 30px 0;
    background: rgba(255, 0, 100, 0.05);
    transition: all 0.3s;
}

.upload-box:hover {
    background: rgba(255, 0, 100, 0.1);
}

input[type="file"] {
    display: block;
    margin: 0 auto 20px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #fff;
    width: 80%;
    max-width: 400px;
}

button, .btn {
    display: block;
    margin: 20px auto;
    padding: 15px 40px;
    background: linear-gradient(90deg, #ff0064 0%, #ff2a7f 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    width: fit-content;
}

button:hover, .btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 0, 100, 0.7);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.stat-box {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    border: 2px solid;
}

.stat-box h3 {
    font-size: 1em;
    margin-bottom: 10px;
    color: #aaa;
}

.stat-box p {
    font-size: 2.5em;
    font-weight: bold;
}

.stat-box.warning { border-color: #ff0064; }
.stat-box.info { border-color: #00b4ff; }
.stat-box.success { border-color: #00ff88; }

.results-section {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
}

.user-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
    margin-top: 20px;
}

.user-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 4px solid #ff0064;
    transition: all 0.2s;
}

.user-item:hover {
    background: rgba(255, 0, 100, 0.1);
    transform: translateX(5px);
}

.info {
    background: rgba(0, 180, 255, 0.1);
    border-radius: 15px;
    padding: 25px;
    margin-top: 40px;
    border-left: 5px solid #00b4ff;
}

.info h3 {
    color: #00b4ff;
    margin-bottom: 15px;
}

.info ol {
    margin-left: 20px;
    line-height: 1.8;
}

.info li {
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .container { padding: 20px; }
    h1 { font-size: 1.8em; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Tambahan untuk error box */
.error-box {
    animation: fadeIn 0.5s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Prevent body scroll ketika loading */
body.no-scroll {
    overflow: hidden;
}
