* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    position: relative;
}

/* 
 * Pengaturan container logo instansi
 * - Container penuh untuk logo di bagian atas halaman
 * - Padding untuk memberikan ruang di sekitar logo
 */
.logo-container {
    width: 100%;
    padding: 5px 0 5px 0; /* Mengurangi padding atas dan bawah */
    background-color: #f5f5f5;
}

.logo-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.logo-wrapper img {
    width: 250px; /* Atur ukuran logo di sini */
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5px 20px; /* Mengurangi padding atas lagi */
    position: relative;
}

/* Header Styles */
.header {
    background-color: #16b3ac;
    border-radius: 10px;
    overflow: hidden;
    margin-top: -40px;
    margin-bottom: 15px;
    height: 150px;
    position: relative;
    display: flex;
    align-items: center;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    width: 100%;
    height: 100%;
    position: relative;
}

.header-text {
    color: white;
}

.header-text h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 5px;
}

.header-text h2 {
    font-size: 22px;
    font-weight: 500;
}

.header-image {
    position: absolute;
    right: 40px;
    bottom: 0;
    display: flex;
    align-items: flex-end;
}

/* 
 * Pengaturan gambar dokter di header
 * - Ubah height untuk mengatur tinggi gambar (misal: 120px, 150px, dll)
 * - max-width: 100% membuat gambar responsif agar tidak terlalu lebar
 * - vertical-align: bottom membuat gambar menempel di bawah header
 */
.header-image img {
    height: 120px; /* Atur ukuran gambar di sini */
    max-width: 100%;
    vertical-align: bottom;
}

/* Main Content Styles */
.main-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

/* Evaluation Card Styles */
.evaluation-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    overflow: hidden;
    margin-bottom: 20px;
}

.evaluation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.evaluation-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.icon-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
}

.evaluation-title h3 {
    font-size: 16px;
    font-weight: 500;
}

.status-badge {
    background-color: #ffffff;
    color: #6c757d;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e0e0e0;
    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.evaluation-details {
    padding: 20px;
}

.detail-info {
    margin: 30px 0;
}

.detail-row {
    display: grid;
    grid-template-columns: 140px 15px auto;
    margin-bottom: 15px;
    font-size: 14px;
    align-items: center;
}

.detail-label {
    color: #666;
}

.detail-separator {
    text-align: center;
    color: #666;
}

.detail-value {
    font-weight: 500;
}

.start-button-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 10px;
    gap: 10px;
}

.start-button {
    background-color: #16b3ac;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.start-button:hover {
    background-color: #0f918c;
}

.cancel-button {
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.cancel-button:hover {
    background-color: #5a6268;
}

/* Question Card Styles */
.question-card {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    flex: 1;
    overflow: hidden;
}

.question-content {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.question-text {
    flex: 1;
    font-size: 16px;
    line-height: 1.5;
}

.question-score {
    margin-left: 20px;
    white-space: nowrap;
}

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

.score-value {
    color: #16b3ac;
    font-weight: 600;
}

.rating-container {
    padding: 20px;
    display: flex;
    justify-content: center;
}

.rating-scale {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    padding: 0;
    margin: 30px 0;
}

.scale-start {
    color: #666;
    font-size: 14px;
    position: absolute;
    left: 40px;
}

.scale-end {
    color: #666;
    font-size: 14px;
    position: absolute;
    right: 40px;
}

.rating-center {
    display: flex;
    flex-direction: column;
    width: 20%;
    margin: 0 auto;
    position: relative;
    gap: 3px;
}

.rating-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 5px;
}

.rating-number {
    font-size: 14px;
    color: #666;
    text-align: center;
    width: 20px;
}

.rating-option {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
}

.rating-option input {
    display: none;
}

.radio-custom {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid #ddd;
    background-color: white;
    display: inline-block;
    position: relative;
}

.rating-option input:checked + .radio-custom {
    border-color: #16b3ac;
    background-color: #16b3ac;
}

.rating-option input:checked + .radio-custom:after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

/* Rating number sudah tidak digunakan karena angka sekarang di atas */

.question-navigation {
    padding: 20px;
    border-top: 1px solid #eee;
}

.navigation-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.nav-button {
    padding: 8px 16px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.prev-button {
    background-color: #f8f9fa;
    color: #666;
    border: 1px solid #ddd;
}

.prev-button:hover {
    background-color: #e9ecef;
}

.next-button {
    background-color: #16b3ac;
    color: white;
    border: none;
}

.next-button:hover {
    background-color: #0f918c;
}

/* Question Numbers Styles */
.question-numbers {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    width: 180px;
}

.question-numbers-header {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 14px;
    font-weight: 500;
    text-align: center;
}

.question-numbers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 15px;
    max-width: 160px;
    margin: 0 auto;
}

.number-button {
    width: 40px;
    height: 40px;
    border-radius: 5px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #555;
}

.number-button:hover {
    background-color: #e9ecef;
}

.number-button.active {
    background-color: white;
    border-color: #1abc9c;
    color: #1abc9c;
}

.hidden {
    display: none;
}

/* Responsive Styles */
@media (max-width: 768px) {
    /* Perbaikan rating scale untuk mobile */
    .rating-scale {
        padding: 0 15px;
        margin: 15px 0;
    }
    
    .rating-center {
        width: 60%;
        gap: 8px;
    }
    
    .rating-row {
        justify-content: space-between;
        gap: 0;
    }
    
    .rating-number {
        font-size: 12px;
        width: 18px;
        text-align: center;
    }
    
    .radio-custom {
        width: 18px;
        height: 18px;
    }
    
    .scale-start, .scale-end {
        font-size: 12px;
        position: absolute;
    }
    
    .scale-start {
        left: 5px;
    }
    
    .scale-end {
        right: 5px;
    }
    .main-content {
        flex-direction: column;
    }
    
    .question-numbers {
        width: 100%;
    }
    
    /* Pengaturan header untuk tampilan mobile */
    .header {
        height: auto;
        min-height: 100px;
        padding-bottom: 0;
    }
    
    .header-content {
        padding: 15px;
        position: relative;
    }
    
    /* Pengaturan teks header untuk tampilan mobile */
    .header-text {
        width: 60%; /* Membatasi lebar teks agar tidak tertutup gambar */
        z-index: 2; /* Memastikan teks berada di atas gambar jika tumpang tindih */
    }
    
    .header-text h1 {
        font-size: 20px;
    }
    
    .header-text h2 {
        font-size: 16px;
    }
    
    /* Pengaturan gambar untuk tampilan mobile */
    .header-image {
        right: 10px;
        z-index: 1;
        width: 40%;
        display: flex;
        justify-content: flex-end;
    }
    
    .header-image img {
        height: 70px;
        object-fit: contain;
    }
    
    /* Pengaturan card evaluasi untuk tampilan mobile */
    .evaluation-card {
        padding-bottom: 15px;
    }
    
    .evaluation-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 15px;
    }
    
    .evaluation-title {
        display: flex;
        align-items: center;
        gap: 3px;
        width: auto;
    }
    
    .evaluation-title h3 {
        font-size: 14px;
        line-height: 1.4;
    }
    
    .status-badge {
        margin: 0;
    }
    
    /* Pengaturan detail untuk tampilan mobile */
    .detail-row {
        margin-bottom: 10px;
    }
    
    /* Pengaturan tombol untuk tampilan mobile */
    .start-button-container {
        margin-top: 15px;
    }
}
