body {
    font-family: 'Poppins', sans-serif;
    background-color: #0e1a2a;
    color: #f1f1f1;
    margin: 0;
    padding: 0;
}
.header {
    background: #0b1320;
    color: #d4af37;
    display: flex;
    justify-content: center;
    padding: 20px 0;
    border-bottom: 2px solid #d4af37;
}
.logo-area {
    display: flex;
    align-items: center;
    gap: 15px;
}
.logo {
    height: 60px;
}
.title-text h1 {
    margin: 0;
    font-size: 24px;
}
.title-text p {
    margin: 0;
    font-size: 14px;
    color: #d4af37;
}
.main {
    display: flex;
    justify-content: center;
    padding: 40px 0;
}
.translate-form {
    display: flex;
    flex-direction: column;
    width: 80%;
    max-width: 700px;
    gap: 20px;
}
textarea {
    width: 100%;
    height: 150px;
    border: 2px solid #d4af37;
    background: #142238;
    color: #fff;
    font-size: 16px;
    padding: 15px;
    border-radius: 10px;
    resize: none;
    outline: none;
}
button {
    background-color: #d4af37;
    color: #0e1a2a;
    border: none;
    padding: 12px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: 0.3s;
}
button:hover {
    background-color: #b8962c;
}
.result-container {
    padding: 40px;
    max-width: 700px;
    margin: 40px auto;
    background: #142238;
    border: 2px solid #d4af37;
    border-radius: 12px;
}
.result {
    font-size: 18px;
    color: #fff;
    margin-bottom: 20px;
}
.details {
    list-style: none;
    padding: 0;
}
.details li {
    margin-bottom: 8px;
    color: #d4af37;
}
.back-btn {
    display: inline-block;
    margin-top: 20px;
    color: #d4af37;
    text-decoration: none;
    border: 1px solid #d4af37;
    padding: 8px 15px;
    border-radius: 8px;
    transition: 0.3s;
}
.back-btn:hover {
    background: #d4af37;
    color: #0e1a2a;
}
.footer {
    text-align: center;
    padding: 15px;
    color: #999;
    border-top: 1px solid #222;
    font-size: 14px;
}
/* ===== Tambahan untuk translate.php ===== */

.result-box {
    margin-top: 2rem;
    background: #f9fafb;
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.result-box h3 {
    margin-bottom: 1rem;
    color: #333;
    font-size: 1.2rem;
    border-bottom: 2px solid #ddd;
    padding-bottom: 0.5rem;
}

.result-box ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.result-box li {
    padding: 0.5rem 0;
    font-size: 1rem;
    border-bottom: 1px dashed #ccc;
}

.result-box li strong {
    color: #007bff;
}

.no-result {
    margin-top: 2rem;
    background: #ffecec;
    border: 1px solid #f5c2c2;
    color: #b20000;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: bold;
}
