* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    min-height: 100vh;
    color: #333;
    display: flex;
    justify-content: center;
    padding: 2rem;
}

/* Glassmorphism utility */
.glass-panel {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    border-radius: 16px;
}

.app-container {
    display: flex;
    gap: 2rem;
    max-width: 1400px;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 350px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: calc(100vh - 4rem);
    position: sticky;
    top: 2rem;
}

.sidebar h2 {
    color: #1e3c72;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.sidebar p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1.5rem;
}

.list-container {
    flex-grow: 1;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.list-container::-webkit-scrollbar {
    width: 6px;
}
.list-container::-webkit-scrollbar-thumb {
    background-color: #cbd5e1;
    border-radius: 10px;
}

.unfilled-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.unfilled-list li {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
    transition: transform 0.2s;
}
.unfilled-list li:hover {
    transform: translateX(4px);
    background: #f1f5f9;
}

.unfilled-list .name {
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.unfilled-list .nik {
    font-size: 0.8rem;
    color: #64748b;
}

.all-done {
    text-align: center;
    padding: 2rem;
    color: #10b981;
    font-weight: bold;
    background: #ecfdf5;
    border-radius: 8px;
}

/* Main Form */
.main-content {
    flex-grow: 1;
    padding: 2.5rem;
    overflow-y: auto;
}

.main-content h1 {
    color: #1e3c72;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.subtitle {
    color: #64748b;
    margin-bottom: 2rem;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    font-weight: 500;
    font-size: 0.95rem;
    color: #334155;
}

input, select, textarea {
    padding: 0.75rem 1rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
    background: #fff;
}

input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

input[readonly] {
    background: #f1f5f9;
    color: #64748b;
    cursor: not-allowed;
}

small {
    font-size: 0.8rem;
    color: #ef4444;
}

.form-actions {
    margin-top: 2.5rem;
    display: flex;
    justify-content: flex-end;
}

.btn-submit {
    background: #2a5298;
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 6px rgba(42, 82, 152, 0.2);
}

.btn-submit:hover {
    background: #1e3c72;
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(42, 82, 152, 0.3);
}

.alert {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    font-weight: 500;
}

.alert.success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.alert.error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

/* Responsive */
@media (max-width: 992px) {
    .app-container {
        flex-direction: column;
    }
    .sidebar {
        width: 100%;
        height: auto;
        max-height: 400px;
        position: relative;
        top: 0;
    }
}
