body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}
.container {
    width: 95%;
    max-width: 1200px;
    margin: 20px auto;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Formulir dan Input */
form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}
form input[type="text"],
form input[type="password"],
form input[type="number"],
form input[type="date"],
form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Penting untuk responsif */
}
form textarea {
    resize: vertical;
    min-height: 80px;
}
fieldset {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}
fieldset legend {
    font-size: 1.2em;
    font-weight: bold;
    padding: 0 10px;
    color: #007bff;
}

/* Button */
.button {
    display: inline-block;
    padding: 10px 15px;
    margin: 5px 5px 5px 0;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    font-weight: bold;
    text-align: center;
}
.primary {
    background-color: #007bff;
    color: white;
}
.secondary {
    background-color: #6c757d;
    color: white;
}
.small {
    padding: 5px 10px;
    font-size: 0.8em;
}
.large {
    width: 100%;
    font-size: 1.1em;
    padding: 15px;
    margin-top: 20px;
}

/* Table Responsive */
.table-responsive {
    overflow-x: auto; /* Memungkinkan scroll horizontal di HP */
}
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}
table th, table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
    white-space: nowrap; /* Mencegah pemotongan teks di tabel */
}
table th {
    background-color: #e9ecef;
}

/* Grid/Group untuk input */
.field-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 15px;
}
.tensi-group input {
    width: 40%; 
    display: inline-block;
}

/* Media Query untuk Adaptif */
@media (max-width: 600px) {
    .container {
        padding: 10px;
        margin: 10px auto;
    }
    .actions a {
        display: block;
        margin: 5px 0;
    }
    .field-group {
        grid-template-columns: 1fr; /* 1 kolom di HP */
    }
}

/* Login Page Styling */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #007bff;
}
.login-container {
    width: 90%;
    max-width: 400px;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}
.login-container h2 {
    text-align: center;
    margin-bottom: 20px;
    color: #007bff;
}

/* Message */
.success {
    color: green;
    padding: 10px;
    background: #e6ffe6;
    border: 1px solid green;
    border-radius: 4px;
    margin-bottom: 15px;
}
/* Tambahkan di file style.css Anda */
.detail-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 30px; /* Jarak antar item */
}

.detail-group p {
    flex: 1 1 200px; /* Setiap p mengambil minimal 200px lebar */
    margin: 0;
    padding: 5px 0;
}

.result-text {
    background: #f9f9f9;
    padding: 10px;
    border-left: 3px solid #007bff;
    margin-bottom: 20px;
    white-space: pre-wrap; /* Mempertahankan format baris baru jika ada */
}

.footer-info {
    text-align: right;
    margin-top: 30px;
    border-top: 1px dashed #ccc;
    padding-top: 10px;
}
/* Tambahkan di style.css */
.highlight-red {
    background-color: #fdd; /* Warna latar belakang merah muda */
    font-weight: bold;
    color: #c00; /* Warna teks merah gelap */
}

.small-info {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}
.error {
    color: red;
    padding: 10px;
    background: #ffe6e6;
    border: 1px solid red;
    border-radius: 4px;
    margin-bottom: 15px;
}