* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
    color: #333;
}

.container {
    max-width: 800px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* GRID 2 COLUMNS */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

h1 {
    text-align: center;
    margin-bottom: 20px;
}

h2 {
    font-size: 18px;
    margin-bottom: 10px;
}

.section {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

label {
    display: block;
    margin: 10px 0 5px;
    font-weight: 500;
}

input[type="text"],
input[type="date"],
textarea,
select,
input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

textarea {
    min-height: 80px;
    resize: vertical;
}

.checkbox-group label {
    display: block;
    font-weight: 400;
    margin: 5px 0;
}

.robot-box,
.consent-box {
    margin-top: 10px;
}

.error-msg {
    color: red;
    font-size: 13px;
    margin-top: 5px;
}

button {
    width: 100%;
    padding: 12px;
    margin-top: 20px;
    background: transparent;
    border: 2px solid #2f2f2f;
    color: #2f2f2f;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

button:hover {
    background: #a5cd48;
    color: #fff;
    border-color: #a5cd48;
}

.required {
    color: red;
}

/* Spinner */
.spinner {
    display: none;
    margin: 10px auto;
    width: 40px;
    height: 40px;
    border: 4px solid #ccc;
    border-top: 4px solid #28a745;
    border-radius: 50%;
    animation: spin 1s linear infinite
}

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/* RESPONSIVE → jadi 1 kolom di mobile */
@media (max-width: 768px) {
    .container {
        margin: 20px;
        padding: 20px;
    }

    .grid-2 {
        grid-template-columns: 1fr;
    }
}