* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9ff;
    min-height: 100vh;
    color: #333;
}

/* --- PERUBAHAN DI SINI: Gaya untuk Halaman Login --- */
.login-page-body {
    background: #555;
    /* Warna latar belakang abu-abu gelap seperti pada gambar */
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.login-page-body .main-content {
    padding: 0;
    width: 100%;
    max-width: 900px;
    /* Sesuaikan lebar maksimum kotak login */
}

/* --- Akhir Perubahan --- */

.container {
    display: flex;
    min-height: 100vh;
}

/* --- Sidebar --- */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #3b5998 0%, #2d4a87 100%);
    color: white;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.logo {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.logo img {
    width: 40px;
    height: 40px;
    margin-right: 15px;
}

.logo h2 {
    font-size: 18px;
}

.nav-menu {
    list-style: none;
    flex-grow: 1;
}

.nav-item {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(255, 255, 255, 0.15);
    color: white;
}

.nav-link i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.submenu {
    list-style: none;
    margin-left: 20px;
    margin-top: 5px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.submenu.show {
    max-height: 200px;
    /* Sesuaikan jika perlu */
}

.submenu-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.submenu-toggle.active .submenu-arrow {
    transform: rotate(180deg);
}

/* --- Konten Utama --- */
.main-content {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

.header {
    background: white;
    padding: 20px;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    font-size: 24px;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: #3b5998;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 18px;
}

.user-info a {
    color: #333;
    font-size: 1.2rem;
}

/* --- Pesan Flash & Peringatan --- */
.flash-messages {
    padding: 0;
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    color: white;
}

.alert-success {
    background-color: #10b981;
}

.alert-danger {
    background-color: #dc2626;
}

.alert-info {
    background-color: #3b82f6;
}


/* --- Spesifik Dashboard --- */
.welcome-msg {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.stat-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-left: 4px solid;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.blue {
    border-left-color: #4f8df5;
}

.stat-card.purple {
    border-left-color: #8b5cf6;
}

.stat-card.pink {
    border-left-color: #f472b6;
}

.stat-card.orange {
    border-left-color: #f59e0b;
}

.stat-card.green {
    border-left-color: #10b981;
}

.stat-card.gray {
    border-left-color: #6b7280;
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    color: #666;
    font-size: 12px;
    text-transform: uppercase;
}

/* --- Tabel --- */
.table-section,
.table-container {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    margin-top: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.data-table th {
    background: #4f8df5;
    color: white;
    padding: 15px 12px;
    text-align: left;
    font-weight: 600;
}

.data-table td {
    padding: 15px 12px;
    border-bottom: 1px solid #f3f4f6;
    color: #4b5563;
}

.data-table tr:hover {
    background: #f9fafb;
}

.research-title {
    max-width: 300px;
}

.status-badge,
.seminar-badge {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-block;
}

.status-tahap1 {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-tahap2 {
    background: #dcfce7;
    color: #166534;
}

/* Tambahkan gaya status lainnya */

.seminar-badge {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

.seminar-badge.proposal {
    background: #dbeafe;
    color: #1d4ed8;
}

.seminar-badge.hasil {
    background: #d1fae5;
    color: #065f46;
}

.status-tahap1,
.status-tahap2 {
    background-color: #e0f2fe;
    color: #0ea5e9;
}

.status-tahap3 {
    background-color: #dbeafe;
    color: #1d4ed8;
}

/* Sempro */
.status-tahap4,
.status-tahap5 {
    background-color: #e0e7ff;
    color: #4338ca;
}

.status-tahap6,
.status-tahap7 {
    background-color: #d1fae5;
    color: #065f46;
}

/* Semhas */
.status-tahap8,
.status-tahap9 {
    background-color: #fce7f3;
    color: #be185d;
}

.status-tahap10 {
    background-color: #ede9fe;
    color: #5b21b6;
}

/* Sidang Tertutup */
.status-tahap11 {
    background-color: #fef3c7;
    color: #92400e;
}

.status-tahap12 {
    background-color: #fef3c7;
    color: #92400e;
}

/* Sidang Terbuka */
.status-tahap13 {
    background-color: #fee2e2;
    color: #991b1b;
}

.status-tahap14 {
    background-color: #e5e7eb;
    color: #1f2937;
}

/* Yudisium */


/* Jenis Seminar/Sidang */
.seminar-badge.proposal {
    background: #dbeafe;
    color: #1d4ed8;
}

.seminar-badge.hasil {
    background: #d1fae5;
    color: #065f46;
}

.seminar-badge.terbuka {
    background: #fef3c7;
    color: #92400e;
}

.seminar-badge.tertutup {
    background: #ede9fe;
    color: #5b21b6;
}

/* --- Formulir & Tombol --- */
.login-container {
    background: white;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    display: flex;
    width: 100%;
}

.login-left {
    flex: 1;
    background: #c41e3a;
    color: white;
    padding: 60px 40px;
    border-radius: 15px 0 0 15px;
}

.login-right {
    flex: 1;
    padding: 60px 40px;
}

.login-title {
    font-size: 28px;
    color: #333;
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

.form-input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 16px;
}

.login-button {
    width: 100%;
    padding: 15px;
    background: #c41e3a;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.action-btn {
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn.link {
    background: #e0f2fe;
    color: #0277bd;
}

.action-btn.view {
    background: #f3e8ff;
    color: #7c3aed;
}

.action-btn:hover {
    transform: scale(1.1);
}

/* --- Modal --- */
.modal-overlay,
.zoom-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.modal-overlay.show,
.zoom-modal-overlay.show {
    display: flex;
}

.modal-content,
.zoom-modal {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 1000px;
    /* Sesuaikan jika perlu */
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.zoom-modal {
    max-width: 500px;
}

.modal-header,
.zoom-modal-header {
    background: linear-gradient(135deg, #4f8df5 0%, #3b5998 100%);
        color: white;
        padding: 25px 30px;
        position: relative;
        flex-shrink: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.zoom-modal-header {
    background: linear-gradient(135deg, #0277bd 0%, #01579b 100%);
}

.modal-title,
.zoom-modal-title {
    font-size: 22px;
    font-weight: 600;
}

.modal-close,
.zoom-modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
}

.modal-body,
.zoom-modal-body {
    padding: 30px;
}
.student-info-section .student-header {
    gap: 25px;
    padding: 25px;
    align-items: flex-start;
    /* Mengubah dari center ke start */
}

.student-info {
    background: #f8fafc;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    border: 1px solid #e5e7eb;
}

.student-info h3 {
    color: #3b5998;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 10px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px 25px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-weight: 600;
    color: #6b7280;
    font-size: 12px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #1f2937;
    font-size: 14px;
}

.student-info-section .student-details {
    flex-grow: 1;
}

.student-research-title {
    font-size: 14px;
    color: #4b5563;
    margin-top: 10px;
}

.student-meta-tags {
    display: flex;
    flex-wrap: wrap;
    /* Memastikan tag tidak meluap */
    gap: 10px;
    margin-top: 8px;
}

.student-meta-tags .student-nim,
.student-meta-tags .student-period,
.student-info-section .student-status {
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 20px;
    font-weight: 600;
}

.student-info-section .student-status {
    background: #dcfce7;
    color: #166534;
}

.progress-bar-container {
    width: 100%;
    background-color: #e9ecef;
    border-radius: 20px;
    margin-top: 15px;
    overflow: hidden;
    height: 12px;
}

.progress-bar {
    height: 100%;
    background-color: #10b981;
    border-radius: 20px;
    transition: width 0.5s ease-in-out;
}

.progress-bar-label {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #6b7280;
    margin-top: 5px;
}

/* Menghapus progress circle yang lama */
.student-progress {
    display: none;
}

/* Tata Letak Grid Utama */
.student-dashboard-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

.dashboard-main-column,
.dashboard-side-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Penyesuaian Kartu Tim Pembimbing */
.team-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-member .member-role.promotor {
    background: #fee2e2;
    color: #dc2626;
}

.team-member .member-role.co-promotor-1 {
    background: #dbeafe;
    color: #2563eb;
}

.team-member .member-role.co-promotor-2 {
    background: #dcfce7;
    color: #16a34a;
}

/* Gaya Baru untuk Item File Mahasiswa */
.file-item-student {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 15px;
}

.file-icon {
    font-size: 24px;
    color: #4f8df5;
    width: 40px;
    text-align: center;
}

.file-info-student {
    flex-grow: 1;
}

.file-name {
    font-weight: 600;
    color: #334155;
}

.file-status-student {
    font-size: 12px;
    font-style: italic;
    color: #64748b;
}

.file-status-student.status-completed {
    color: #166534;
}

.file-status-student.status-pending {
    color: #9a3412;
}

.file-actions-student {
    display: flex;
    gap: 10px;
}

.btn-upload {
    background: #10b981;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-upload-alt {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

.btn-download {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
}

/* Penyesuaian Bagian Chat */
.chat-card {
    background-color: #ffffff;
    border: 1px solid #eef2f7;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
    display: flex;
    /* Menggunakan flexbox untuk tata letak */
    flex-direction: column;
    /* Mengatur item secara vertikal */
}

.chat-card .minimalist-section-title {
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 1px solid #eef2f7;
}

.chat-card .chat-content {
    flex-grow: 1;
    /* Membuat area pesan mengisi sisa ruang */
    overflow-y: auto;
    /* Tambahkan scroll jika pesan panjang */
    margin-bottom: 15px;
    /* Jarak antara pesan dan area input */
}

.chat-messages {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Pesan Individual (Sent/Received) - Gaya dari sebelumnya */
.chat-message {
    display: flex;
    max-width: 85%;
}

.chat-message.sent {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.chat-message.received {
    align-self: flex-start;
}

.message {
    background-color: #f9f9f9;
    color: #374151;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    word-break: break-word;
}

.message.sent {
    align-self: flex-end;
    background-color: #e0f2fe;
    color: #1e40af;
}

.message-sender {
    font-size: 12px;
    color: #718096;
    margin-bottom: 3px;
}

.chat-input-area {
    margin-top: auto;
    /* Mendorong area input ke bawah */
    border-top: 1px solid #eef2f7;
    padding-top: 15px;
}

.chat-input-container {
    display: flex;
    align-items: center;
    /* Menyejajarkan item secara vertikal */
    gap: 10px;
}

.chat-input-field {
    flex-grow: 1;
    /* Input teks mengisi sisa ruang */
    border: 1px solid #d1d5db;
    border-radius: 8px;
    padding: 10px 15px;
    font-size: 14px;
    resize: none;
    /* Mencegah textarea diubah ukurannya secara manual */
}

.chat-send-btn {
    flex-shrink: 0;
    /* Mencegah tombol menyusut */
    width: 44px;
    height: 44px;
    background-color: #4f46e5;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.chat-send-btn:hover {
    background-color: #4338ca;
}

/* Responsif untuk Grid */
@media (max-width: 992px) {
    .student-dashboard-grid {
        grid-template-columns: 1fr;
    }
}
.modal-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

.modal-card .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 20px 25px;
    position: relative;
    border-radius: 0;
}

.modal-card .modal-body {
    padding: 25px;
}

.modal-card .modal-footer {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

/* Tombol Aksi di Tabel */
.btn.btn-success {
    background-color: #28a745;
    color: white;
    border: none;
}

.btn.btn-danger {
    background-color: #dc3545;
    color: white;
    border: none;
}

.result-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 5px solid #0ea5e9;
    padding: 20px;
    border-radius: 12px;
}

.result-grade {
    font-size: 48px;
    font-weight: 700;
    color: #0ea5e9;
    line-height: 1;
}

.result-details {
    flex-grow: 1;
}

.result-seminar-type {
    font-size: 18px;
    font-weight: 600;
    color: #0c4a6e;
}

.result-date {
    font-size: 14px;
    color: #64748b;
}

.result-notes {
    margin-top: 15px;
    padding: 15px;
    background-color: #f8fafc;
    border-radius: 8px;
    font-size: 14px;
    color: #475569;
}

.result-notes p {
    margin-top: 5px;
    white-space: pre-wrap;
    /* Menjaga format paragraf */
}

.btn-progress-minimal {
    background-color: #eef2ff;
    /* Warna lavender/biru muda yang lembut */
    color: #4f46e5;
    /* Warna indigo yang kontras */
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    /* Membuatnya bulat */
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.btn-progress-minimal:hover {
    background-color: #4f46e5;
    /* Warna latar berubah saat hover */
    color: white;
    /* Warna ikon berubah */
    transform: scale(1.1);
    /* Sedikit membesar */
    box-shadow: 0 4px 8px rgba(79, 70, 229, 0.2);
}

.btn-progress-minimal:disabled {
    background-color: #e5e7eb;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-progress-minimal:disabled:hover {
    background-color: #e5e7eb;
    color: #9ca3af;
}

.status-completed {
    color: #166534;
    font-weight: 600;
    font-size: 13px;
}

.pro-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 25px;
}

.pro-header-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.pro-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #4f46e5;
    color: white;
    font-size: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-name {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0;
}

.pro-meta {
    font-size: 14px;
    color: #6b7280;
    margin: 4px 0;
}

.pro-title {
    font-size: 14px;
    color: #4b5563;
    margin-top: 8px;
    max-width: 500px;
}

.pro-actions .btn {
    font-size: 14px;
    padding: 10px 20px;
}

/* Kartu Progress & Status */
.pro-card {
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 25px;
}

.pro-progress-status-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
    align-items: center;
}

.label-title {
    display: block;
    font-size: 13px;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 8px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.progress-bar-track {
    height: 8px;
    background-color: #f3f4f6;
    border-radius: 8px;
}

.progress-bar-fill {
    height: 100%;
    background-color: #22c55e;
    border-radius: 8px;
    transition: width 0.4s ease;
}

.current-status {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

/* Grid Konten Utama */
.pro-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 25px;
}

.pro-section-title {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Daftar Pembimbing */
.pro-supervisor-list {
    list-style: none;
    padding: 0;
}

.pro-supervisor-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f3f4f6;
}

.pro-supervisor-list li:last-child {
    border-bottom: none;
}

.supervisor-info {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.supervisor-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: #eef2ff;
    color: #4338ca;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}

.role-tag-pro {
    font-size: 12px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 12px;
}

.role-tag-pro.promotor {
    background-color: #fee2e2;
    color: #991b1b;
}

.role-tag-pro.co-promotor-1,
.role-tag-pro.co-promotor-2 {
    background-color: #e0e7ff;
    color: #3730a3;
}

/* Hasil Seminar */
.pro-result-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #f0fdf4;
    border-radius: 8px;
    padding: 20px;
}

.pro-result-grade {
    font-size: 40px;
    font-weight: 800;
    color: #166534;
}

.pro-seminar-type {
    font-weight: 600;
}

.pro-date {
    font-size: 13px;
    color: #6b7280;
}

/* Daftar Tugas */
.pro-task-list {
    list-style: none;
    padding: 0;
}


.btn {
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease-in-out;
}

.btn-primary {
    background-color: #4f46e5;
    color: white;
    border: none;
}

.btn-primary:hover {
    background-color: #3730a3;
}

.btn-secondary {
    background-color: #e5e7eb;
    color: #374151;
    border: 1px solid #d1d5db;
}

.btn-secondary:hover {
    background-color: #d1d5db;
}

.btn-cancel {
    background-color: #f43f5e;
    color: white;
    border: none;
}

.btn-cancel:hover {
    background-color: #be123c;
}

.btn-save {
    background-color: #10b981;
    color: white;
    border: none;
}

.btn-save:hover {
    background-color: #059669;
}

/* Seksi Penilaian */
.evaluation-section {
    margin-bottom: 35px;
}

.section-header {
    background: #f8fafc;
    padding: 15px 20px;
    border-radius: 8px;
    border-left: 4px solid #4f8df5;
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
}

/* Item Kriteria Penilaian */
.criteria-item {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.criteria-item:hover {
    border-color: #4f8df5;
    box-shadow: 0 2px 8px rgba(79, 141, 245, 0.1);
}

.criteria-header {
    font-weight: 600;
    color: #374151;
    margin-bottom: 15px;
}

.criteria-description {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 15px;
    font-style: italic;
}

.criteria-controls {
    display: grid;
    grid-template-columns: 120px 180px 1fr;
    gap: 20px;
    align-items: start;
}

.score-input {
    width: 100%;
    padding: 10px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
}

.score-input:focus {
    outline: none;
    border-color: #4f8df5;
}

.radio-group {
    display: flex;
    gap: 20px;
    align-items: center;
    padding-top: 10px;
    /* Agar sejajar dengan input */
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 8px;
}

.radio-option input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: #4f8df5;
}

.radio-option label {
    font-size: 14px;
    cursor: pointer;
}

.feedback-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e5e7eb;
    border-radius: 6px;
    resize: vertical;
    min-height: 45px;
}

/* Seksi Final (Nilai Akhir) */
.final-section {
    background: #fef9c3;
    border: 2px solid #facc15;
    border-radius: 12px;
    padding: 25px;
    margin-top: 30px;
}

.final-section h3 {
    color: #854d0e;
    margin-bottom: 15px;
}
.modal-footer {
    background: #f9fafb;
    padding: 25px 30px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    flex-shrink: 0;
    /* Footer tidak akan menyusut */
}

.criteria-item.disabled-item {
    background-color: #f9fafb;
    opacity: 0.7;
    border-style: dashed;
}

.criteria-item.disabled-item .criteria-header {
    color: #6b7280;
}