/* (Salin seluruh isi CSS dari jawaban sebelumnya di sini) */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background-color: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

header {
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 20px;
    margin-bottom: 20px;
}

header h1 {
    font-family: 'Merriweather', serif;
    color: #2c3e50;
    margin: 0;
}

header p {
    color: #7f8c8d;
    font-size: 1.1em;
}

.tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.tab-button {
    background-color: transparent;
    border: none;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 700;
    color: #7f8c8d;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    flex-grow: 1;
}

.tab-button:hover {
    color: #3498db;
    background-color: #f9f9f9;
}

.tab-button.active {
    color: #2980b9;
    border-bottom-color: #3498db;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

.form-section, .output-section {
    margin-bottom: 30px;
}

h2, h3 {
    font-family: 'Merriweather', serif;
    color: #34495e;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

input[type="text"],
textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.3s;
}

input[type="text"]:focus,
textarea:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

button {
    display: inline-block;
    background-color: #3498db;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

button:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
}

button:active {
    transform: translateY(0);
}

.output-box {
    background-color: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    padding: 20px;
    min-height: 150px;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: 'Merriweather', serif;
    color: #555;
    line-height: 1.8;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: white;
}

.loading.hidden {
    display: none;
}

.spinner {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin-bottom: 15px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .container {
        padding: 20px;
    }
    .tabs {
        flex-direction: column;
    }
    .tab-button {
        border-bottom: 1px solid #e0e0e0;
        border-radius: 0;
    }
    .tab-button.active {
        border-bottom-color: #e0e0e0;
        border-left: 4px solid #3498db;
    }
}
/* (Tambahkan kode ini ke akhir file style.css Anda yang sudah ada) */

/* --- New UI Elements --- */
.output-section h3 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copy-btn {
    background: none;
    border: none;
    color: #7f8c8d;
    cursor: pointer;
    font-size: 0.8em;
    padding: 5px;
    border-radius: 3px;
    transition: color 0.2s, background-color 0.2s;
}

.copy-btn:hover {
    color: #3498db;
    background-color: #f0f0f0;
}

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    z-index: 1001;
    display: none; /* Hidden by default */
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.notification.success {
    background-color: #2ecc71;
}

.notification.error {
    background-color: #e74c3c;
}

/* Enhance button look */
button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px; /* Space between icon and text */
}

button i {
    font-size: 1em;
}
/* --- New Elements & Layout --- */
body {
    display: grid;
    grid-template-columns: 1fr 320px; /* Main content | Sidebar */
    gap: 30px;
    max-width: 1400px; /* Lebar maksimum untuk layar lebar */
    margin: 20px auto;
    padding: 0 20px;
}

@media (max-width: 1024px) {
    body {
        grid-template-columns: 1fr; /* Sidebar pindah ke bawah di layar lebih kecil */
    }
    .info-panel {
        order: 2; /* Pastikan sidebar muncul setelah main content */
    }
}

.info-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background-color: #fdfdfd;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.info-card h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #34495e;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.status-list {
    list-style: none;
    padding: 0;
}

.status-item {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.9rem;
}

.status-item span:first-child {
    color: #7f8c8d;
}

.status-item strong {
    color: #2c3e50;
    text-align: right;
}

/* Form Enhancements */
.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    color: #555;
}

/* Keyboard shortcut styling */
kbd {
    background-color: #f4f4f4;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 2px 6px;
    font-family: monospace;
    font-size: 0.8em;
    color: #333;
}

/* Responsive adjustments for tabs */
.tabs button {
    font-size: 0.9rem;
    padding: 12px 15px;
}