/* Mengimpor Font Modern Inter dari Google Fonts */
@import url('https://googleapis.com');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
}

body {
    background: linear-gradient(135deg, #e0f2f1 0%, #e8f5e9 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}

.form-container {
    width: 100%;
    max-width: 520px;
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(38, 166, 154, 0.08);
}

h2 {
    text-align: center;
    color: #1a365d;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* Subjudul opsional jika Anda ingin menambahkannya di bawah H2 */
.subtitle {
    text-align: center;
    color: #64748b;
    font-size: 14px;
    margin-bottom: 32px;
}

.form-group {
    margin-bottom: 24px;
}

label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 8px;
    color: #334155;
}

/* Mengatur semua jenis input teks, angka, tanggal, dan textarea */
input[type="text"],
input[type="number"],
input[type="date"],
textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 15px;
    color: #1e293b;
    background-color: #f8fafc;
    outline: none;
    transition: all 0.3s ease;
}

/* Efek bercahaya saat kolom input aktif/diklik */
input:focus, 
textarea:focus {
    background-color: #ffffff;
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.1);
}

.checkbox-group {
    margin-top: 10px;
    display: grid;
    gap: 12px;
}

/* Box pembungkus checkbox agar lebih interaktif */
.checkbox-item {
    display: flex;
    align-items: center;
    background: #f8fafc;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #cbd5e1;
    cursor: pointer;
    transition: all 0.2s ease;
}

/* Efek saat box checkbox diarahkan kursor */
.checkbox-item:hover {
    border-color: #059669;
    background: #f0fdf4;
}

.checkbox-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    accent-color: #059669;
    cursor: pointer;
}

.checkbox-item span,
.checkbox-item label {
    margin-bottom: 0;
    cursor: pointer;
    width: 100%;
    color: #475569;
    font-weight: 500;
}

/* Desain tombol utama (Kirim via WhatsApp) */
button {
    width: 100%;
    background: linear-gradient(135deg, #25D366 0%, #1cbd55 100%);
    color: white;
    border: none;
    padding: 14px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
    background: linear-gradient(135deg, #1cbd55 0%, #128C7E 100%);
}

button:active {
    transform: translateY(1px);
}

/* Desain tombol kembali */
.btn-back {
    display: block;
    text-align: center;
    margin-top: 20px;
    text-decoration: none;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.btn-back:hover {
    color: #64748b;
}
