
        * {
            font-family: 'Poppins', sans-serif !important;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
     

        body {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Biar form tetap di tengah */
    min-height: 100vh;
    width: 100vw; /* Pastikan mengikuti lebar layar HP */
    background:  #003366;
}

.container {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 100%;
    max-width: 90vw; /* Lebar maksimal di HP */
    min-width: 300px;
    height: auto; /* Sesuaikan tinggi dengan isi */
    max-height: 95vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 90%;
    height: auto; /* Sesuaikan konten */
    padding-top: 30px; /* Kurangi padding supaya tidak terlalu turun */
}

/* Tambahan untuk layar sangat kecil (di bawah 375px) */
@media (max-width: 375px) {
    .container {
        max-width: 98vw;
        padding: 15px;
        max-height: 85vh;
    }

    h2 {
        font-size: 16px;
    }

    input, select {
        font-size: 14px;
        padding: 12px;
    }
    
    .button {
        font-size: 14px;
        padding: 10px;
    }
}

/* Jika HP dalam mode landscape */
@media (max-width: 480px) and (orientation: landscape) {
    .container {
        max-height: 70vh; /* Kurangi tinggi modal */
    }

    .wrapper {
        max-height: 70vh;
    }
}




h2 {
    color: #003366;
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 20px;
}
        label {
            font-weight: 400;
            display: block;
            margin: 10px 0 5px;
            color: #333;
            text-align: left;
        }
        input, select {
    width: 100%;
    padding: 14px; /* Tambahkan padding agar lebih besar di HP */
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    outline: none;
    margin-bottom: 15px;
}
        input:focus, select:focus {
            border-color: #003366;
            box-shadow: 0px 0px 5px rgba(0, 51, 102, 0.5);
        }
        .button-container {
            display: flex;
            justify-content: space-between;
        }
        
        .button {
            width: 100%;
            padding: 10px;
            font-size: 16px;
            border-radius: 25px; /* Melengkungkan sudut */
            border: none; /* Hilangkan border default */
        }
        

        .guide {
            background:rgb(31, 2, 110);
            color: white;
            margin-top: 10px;
        }
        .guide:hover {
            background: #CC0000;
        }
        .start {
            background: #003366;
            color: white;
        }
        .start:hover {
            background: #CC0000;
        }
        .cancel {
            background: #003366;
            color: white;
        }
        .cancel:hover {
            background: #CC0000;
        }

        /* Modal Pop-up */
        .modal {
            display: none;
            position: fixed;
            z-index: 1000;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            justify-content: center;
            align-items: center;
        }
        .modal-content {
            background-color: white;
            padding: 20px;
            border-radius: 10px;
            width: 80%;
            max-width: 350px;
            text-align: center;
            box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
        }
        .modal-content p {
            margin-bottom: 15px;
            color: #333;
        }
        .close-btn {
            background: #FF4D4D;
            color: white;
            border: none;
            padding: 10px 20px;
            border-radius: 5px;
            cursor: pointer;
            font-weight: 600;
            transition: 0.3s;
        }
        .close-btn:hover {
            background: #CC0000;
        }


/* Tabel Guide Styling */
.toeic-guide {
    display: none; /* Sembunyikan saat halaman dimuat */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%; /* Lebar modal diperbesar */
    max-width: 900px; /* Batasi lebar maksimal */
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.modal-content {
    width: 95%; /* Lebarkan modal hingga hampir penuh layar */
    max-width: 600; /* Batasi lebar maksimal agar tidak terlalu besar */
    max-height: 85vh; /* Tambahkan sedikit tinggi */
    overflow-y: auto; /* Tambahkan scrollbar jika konten terlalu panjang */
    margin: auto; /* Pastikan modal tetap di tengah */
}
.modal-guide {
    width: 95%; /* Lebarkan modal hingga hampir penuh layar */
    max-width: 1000; /* Batasi lebar maksimal agar tidak terlalu besar */
    max-height: 85vh; /* Tambahkan sedikit tinggi */
    overflow-y: auto; /* Tambahkan scrollbar jika konten terlalu panjang */
    margin: auto; /* Pastikan modal tetap di tengah */
}

.toeic-guide table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto; /* Memastikan kolom memiliki lebar yang fleksibel */
}

 .toeic-guide td {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: left;
    background: rgb(150, 183, 233);
    font-size: 16px; /* Perbesar ukuran font */
}

.toeic-guide th:nth-child(1), 
.toeic-guide td:nth-child(1) {
    width: 20%; /* Lebarkan kolom pertama */
}

.toeic-guide th:nth-child(2), 
.toeic-guide td:nth-child(2) {
    width: 55%; /* Biarkan konten utama lebih luas */
}

.toeic-guide th:nth-child(3), 
.toeic-guide td:nth-child(3) {
    width: 25%; /* Perkecil kolom action */
    text-align: center; /* Agar tombol tetap rapi */
}
.toeic-guide th {
    border: 1px solid #ddd;
    padding: 15px;
    text-align: center;
    background: rgb(79, 139, 230);
    color: white;
    font-size: 18px; /* Ukuran font header lebih besar */
}

.toeic-guide button {
    background: #28a745;
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: 0.3s;
    display: block;
    margin: 20px auto 0; /* Posisikan tombol di tengah */
}

.toeic-guide button:hover {
    background: #218838;
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px; /* Beri lebih banyak jarak */
    width: 90%;
    max-width: 1300px; /* Lebih lebar agar pas */
    margin: 0 auto;
    height: 100vh;
}

.form-container {
    width: 450px; /* Perbesar form agar seimbang */
    max-width: 90%;
    text-align: center;
}

.left-frame, .right-frame {
    position: relative;
    width: 800px; /* Perbesar ukuran */
    height: 450px; /* Sesuaikan proporsi */
    overflow: hidden;
    border-radius: 20px; /* Bikin sudut lebih membulat */
    box-shadow: 0px 10px 30px rgba(238, 234, 234, 0.9); /* Tambahkan shadow */
    
}

.right-frame img, .left-frame img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px; /* Pastikan gambar juga ikut membulat */
    transition: opacity 1s ease-in-out;
}


.right-frame img:not(:first-child), 
.left-frame img:not(:first-child) {
    opacity: 0;
}
/* RESPONSIVE DESIGN FIX */
@media (max-width: 1024px) {
    .container {
        max-width: 95vw;
        padding: 20px;
        max-height: 75vh;
    }

    .wrapper {
        width: 90%;
        max-height: 75vh;
    }

    .form-container {
        width: 100%;
        max-width: 400px;
    }
    .left-frame, .right-frame {
        display: none;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 95vw;
        padding: 15px;
        max-height: 70vh;
    }

    .wrapper {
        width: 95%;
        max-height: 70vh;
    }

    .button {
        font-size: 14px;
        padding: 10px;
    }

    .left-frame, .right-frame {
        display: none;
    }
}

/* Jika HP dalam mode portrait */
@media (max-width: 480px) and (orientation: portrait) {
    .container {
        max-width: 98vw;
        padding: 10px;
        border-radius: 25px
    }

    .wrapper {
        max-height: 120vh;
        
    }

    h2 {
        font-size: 18px;
    }

    input, select {
        font-size: 14px;
        padding: 10px;
    }

    .button {
        font-size: 14px;
        padding: 8px;
    }

    .left-frame, .right-frame {
        display: none;
    }
}

/* Jika HP dalam mode landscape */
@media (max-width: 480px) and (orientation: landscape) {
    .container {
        max-height: 70vh; /* Kurangi tinggi biar lebih pas */
        display: flex;
        align-items: flex-start; /* Naikkan posisi */
        justify-content: center;
        overflow-y: auto;
        margin-top: -60vh; /* Naikkan sedikit */
    }

    .wrapper {
        max-height: 70vh; /* Biar form tetap enak dilihat */
        overflow-y: auto;
        padding-bottom: 50px; /* Tambahkan padding bawah */
    }
}





