/* Reset dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

/* Background halaman */
body {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    padding: 20px;
}

/* Container utama */
.container {
    background: white;
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 800px;
}

/* Heading */
h2, h3 {
    color: #00897b; /* Hijau tosca lebih gelap */
    font-weight: bold;
    margin-bottom: 10px;
}

/* Tabel */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.15);
}

th, td {
    padding: 14px;
    text-align: center;
    border-bottom: 1px solid #ccc;
}

th {
    background: #00897b;
    color: white;
}

tr:hover {
    background: #b2dfdb;
}

/* Form */
form {
    text-align: left;
    margin-top: 20px;
}

input[type="text"],
input[type="email"],
input[type="password"],
select {
    width: 100%;
    padding: 10px;
    margin: 5px 0 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

input[type="radio"] {
    margin-right: 5px;
}

/* Jenis Kelamin sejajar */
.gender-options {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.gender-options input {
    width: auto;
}

/* Tombol */
button {
    width: 100%;
    background: #00897b;
    color: white;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    transition: 0.3s ease-in-out;
}

button:hover {
    background: #00796b;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.12);
}

/* Link */
.link-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
}

.link-container a {
    color: #00695c;
    text-decoration: none;
    font-weight: bold;
}

.link-container a:hover {
    text-decoration: underline;
}

/* Responsiveness */
@media (max-width: 768px) {
    .container {
        width: 95%;
        padding: 20px;
    }

    button {
        font-size: 16px;
        padding: 12px;
    }

    table th, table td {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 15px;
    }

    .container {
        width: 100%;
        padding: 18px;
    }

    table {
        font-size: 14px;
    }
}
