* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 20px;
}

h1 {
    font-size: 2.5em;
    color: #333;
}

/* Input Section */
.input-section {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

/* Textarea dengan Full Width */
textarea {
    width: 100%; /* Membuat textarea lebar 100% seperti tabel */
    height: 200px;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 1.2em;
    background-color: #fff;
    resize: none;
    outline: none;
}

textarea:focus {
    border-color: #007BFF;
}

/* Button Section */
.buttons {
    display: flex;
    justify-content: space-between;
    gap: 15px;
}

button {
    padding: 12px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1em;
    width: 23%; /* Membuat tombol lebih ramping */
    transition: background 0.3s ease;
}

button:hover {
    background: #0056b3;
}

button:focus {
    outline: none;
}

/* Layout untuk kolom */
.content {
    display: block;
    margin: 0 auto;
    width: 100%;
}

/* Kata Kunci Berdasarkan Frekuensi */
.keyword-section {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.keyword-section select {
    padding: 8px;
    font-size: 1em;
    border-radius: 5px;
    border: 1px solid #ccc;
    width: 50%; /* Lebar dropdown */
}

#searchButton {
    padding: 10px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    margin-top: 10px;
    width: 40%;
}

#searchButton:hover {
    background-color: #218838;
}

/* Table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    text-align: center;
}

table, th, td {
    border: 1px solid #ddd;
    padding: 10px;
    text-align: center;
}

th {
    background-color: #f1f1f1;
    font-weight: bold;
    color: #333;
}

td {
    font-size: 1.2em;
}

/* Kata Kunci */
.keyword-section {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#keywordsList {
    margin-top: 20px;
    font-size: 1.1em;
    color: #333;
}

/* Info Section */
.info {
    margin-top: 40px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
}

.info h3 {
    font-size: 1.5em;
    color: #333;
    margin-bottom: 10px;
}

.info p, .info ul {
    font-size: 1.1em;
    color: #555;
}

.info ul {
    list-style: disc;
    padding-left: 20px;
}

/* Responsif untuk tampilan lebih kecil */
@media (max-width: 768px) {
    .content {
        flex-direction: column;
    }

    .keyword-section {
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .keyword-section select, #searchButton {
        width: 100%;
    }
}