/* Review Aspek Styles */
.info-card, .review-card, .preview-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.info-header, .review-header, .preview-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
}

.info-header h3, .review-header h3, .preview-header h3 {
    margin: 0;
    color: #495057;
    font-size: 1.2rem;
}

.info-body, .review-form, .preview-body {
    padding: 20px;
}

/* Info Grid */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 4px;
}

.info-item strong {
    color: #495057;
}

.info-item span {
    color: #007bff;
    font-weight: 500;
}

/* Soal Preview */
.soal-preview {
    background: #e7f3ff;
    border: 1px solid #b3d7ff;
    border-radius: 4px;
    padding: 15px;
    margin-top: 15px;
}

.soal-preview h4 {
    margin-top: 0;
    color: #0056b3;
    border-bottom: 1px solid #b3d7ff;
    padding-bottom: 5px;
}

.preview-content {
    max-height: 150px;
    overflow-y: auto;
    background: white;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
}

/* Form Sections */
.form-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.form-section h4 {
    color: #007bff;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #007bff;
}

.form-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

/* Skor Options */
.skor-options {
    display: flex;
    gap: 30px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    color: #495057;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-start;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
    margin-top: 20px;
}

/* Preview Table */
.preview-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.preview-table th {
    background: #007bff;
    color: white;
    font-weight: 600;
    padding: 12px 8px;
    text-align: center;
    border: 1px solid #dee2e6;
}

.preview-table td {
    padding: 12px 8px;
    border: 1px solid #dee2e6;
    vertical-align: top;
}

.aspek-content, .keterangan-content {
    max-width: 400px;
}

.aspek-text, .keterangan-text {
    max-height: 150px;
    overflow-y: auto;
    padding: 5px;
}

.skor-check {
    color: #28a745;
    font-size: 16px;
}

.skor-empty {
    color: #6c757d;
    font-style: italic;
}

.text-center {
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .skor-options {
        flex-direction: column;
        gap: 15px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .preview-table {
        font-size: 12px;
    }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #6c757d;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    color: #dc3545;
}

.empty-state h3 {
    margin-bottom: 10px;
    color: #495057;
}

.empty-state p {
    margin-bottom: 20px;
}
/* Review Aspek Specific Styles */
.review-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.review-header .header-info h2 {
    margin: 0 0 15px 0;
    font-size: 1.5rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-item label {
    font-weight: 600;
    font-size: 0.9rem;
    opacity: 0.9;
}

.info-item span {
    font-size: 1.1rem;
    font-weight: 500;
}

.scenario-preview {
    margin-top: 15px;
}

.scenario-preview label {
    font-weight: 600;
    display: block;
    margin-bottom: 5px;
}

.scenario-content {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9rem;
    line-height: 1.4;
}

.navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-info {
    font-weight: 600;
    font-size: 1.1rem;
}

/* Review Card */
.review-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.review-card .review-header {
    background: #f8f9fa;
    padding: 15px 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.review-card .review-header h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.2rem;
}

.form-actions {
    display: flex;
    gap: 10px;
}

.review-form {
    padding: 20px;
}

.form-section {
    margin-bottom: 25px;
}

.form-section h4 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
}

.skor-options {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 500;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
}

.checkbox-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkmark {
    position: absolute;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #eee;
    border-radius: 4px;
    transition: all 0.3s;
}

.checkbox-label:hover input ~ .checkmark {
    background-color: #ccc;
}

.checkbox-label input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-label input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-label .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.form-actions-bottom {
    display: flex;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid #dee2e6;
}

/* Preview Card */
.preview-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    overflow: hidden;
}

.preview-card .preview-header {
    background: #e8f5e8;
    padding: 15px 20px;
    border-bottom: 1px solid #d4edda;
}

.preview-card .preview-header h3 {
    margin: 0;
    color: #155724;
    font-size: 1.2rem;
}

.preview-content {
    padding: 20px;
}

.preview-section {
    margin-bottom: 25px;
}

.preview-section h4 {
    margin-bottom: 10px;
    color: #2c3e50;
    font-weight: 600;
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 5px;
}

.preview-text {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #007bff;
    line-height: 1.6;
    min-height: 50px;
}

.skor-preview {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.skor-badge {
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.skor-0 {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.skor-1 {
    background: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

.skor-2 {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

.text-muted {
    color: #6c757d !important;
    font-style: italic;
}

/* Metadata Card */
.metadata-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
}

.metadata-card h4 {
    margin-bottom: 15px;
    color: #2c3e50;
    font-weight: 600;
}

.metadata-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.metadata-item {
    display: flex;
    flex-direction: column;
}

.metadata-item label {
    font-weight: 600;
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.metadata-item span {
    font-weight: 500;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.status-active {
    background: #d4edda;
    color: #155724;
}

/* Responsive Design */
@media (max-width: 768px) {
    .review-header .header-info h2 {
        font-size: 1.3rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .review-card .review-header {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .form-actions {
        width: 100%;
        justify-content: flex-end;
    }
    
    .form-actions-bottom {
        flex-direction: column;
    }
    
    .skor-options {
        flex-direction: column;
        gap: 10px;
    }
}

/* Tambahkan di file CSS */
.status-badge {
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
}

.status-sudah {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-belum {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.reviewer-info {
    font-size: 10px;
    color: #666;
    display: block;
    margin-top: 2px;
}

.review-date {
    font-size: 9px;
    color: #888;
    display: block;
}