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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
}

header {
    background: white;
    padding: 30px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    text-align: center;
}

header h1 {
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
}

.subtitle {
    color: #666;
    font-size: 14px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card h2 {
    color: #667eea;
    font-size: 20px;
    margin-bottom: 20px;
    border-bottom: 2px solid #667eea;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
    flex: 1;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
}

.form-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.penelitian-item {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
    position: relative;
}

.penelitian-item h4 {
    color: #667eea;
    margin-bottom: 10px;
    font-size: 16px;
}

.btn-remove {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
}

.btn-remove:hover {
    background: #c82333;
}

.button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.btn-primary {
    background: #667eea;
    color: white;
    flex: 1;
}

.btn-primary:hover {
    background: #5568d3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-secondary:hover {
    background: #5a6268;
}

.hasil-section {
    animation: fadeIn 0.5s;
}

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

.hasil-box {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.hasil-box h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
}

.hasil-box p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 5px;
}

.highlight {
    background: #fff3cd;
    padding: 2px 5px;
    border-radius: 3px;
    font-weight: 600;
}

.status-box {
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    margin-top: 20px;
}

.status-eligible {
    background: #d4edda;
    color: #155724;
    border: 2px solid #28a745;
}

.status-not-eligible {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #dc3545;
}

.status-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    color: #666;
}

.detail-value {
    font-weight: 600;
    color: #333;
}

.total-row {
    font-size: 18px;
    color: #667eea;
    font-weight: 700;
    padding-top: 10px;
    margin-top: 10px;
    border-top: 2px solid #667eea;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.check-icon {
    font-size: 20px;
}

.check-pass {
    color: #28a745;
}

.check-fail {
    color: #dc3545;
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    header h1 {
        font-size: 22px;
    }
    
    .button-group {
        flex-direction: column;
    }
}
