/* Import Google Font untuk tampilan yang lebih modern */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');

/* Styling dasar untuk body */
body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    box-sizing: border-box;
}

/* Kontainer utama form */
.container {
    width: 100%;
    max-width: 700px;
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Judul Form */
.container h2 {
    text-align: center;
    color: #333;
    font-weight: 600;
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
}

.container h2::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -10px;
    height: 3px;
    width: 50px;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
    border-radius: 3px;
}

.container .subtitle {
    text-align: center;
    font-size: 15px;
    color: #666;
    margin-bottom: 30px;
}

/* Grup Form */
.form-group {
    margin-bottom: 20px;
    position: relative;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
}

/* === GAYA YANG DIGABUNGKAN UNTUK SEMUA INPUT & TEXTAREA === */
input[type="text"],
input[type="email"],
select,
textarea {
    width: 100%;
    padding: 15px; /* Padding dibuat konsisten */
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    font-size: 16px;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    background-color: #fcfcfc;
}

/* Gaya spesifik untuk input satu baris */
input[type="text"],
input[type="email"],
select {
    height: 55px;
}

/* Gaya spesifik untuk textarea */
textarea {
    min-height: 120px; /* Dibuat lebih tinggi agar nyaman */
    resize: vertical; /* User bisa mengubah tingginya */
}

/* Efek saat input di-klik (sekarang berlaku untuk textarea juga) */
input[type="text"]:focus,
input[type="email"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #8e44ad;
    box-shadow: 0 0 0 3px rgba(142, 68, 173, 0.2);
    background-color: #fff;
}

/* Tombol Submit */
button {
    width: 100%;
    height: 50px;
    padding: 12px;
    background: linear-gradient(135deg, #71b7e6, #9b59b6);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

button:hover {
    background: linear-gradient(-135deg, #71b7e6, #9b59b6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

#unitKerjaLainnya {
    display: none;
    margin-top: 15px;
}

/* --- GAYA UNTUK HALAMAN CEK STATUS --- */
.hasil-tiket {
    margin-top: 30px;
    padding: 25px;
    border: 1px solid #e9ecef;
    border-radius: 10px;
    background-color: #f8f9fa;
    animation: fadeIn 0.5s ease-in-out;
}
.hasil-tiket h3 { margin-top: 0; margin-bottom: 20px; color: #343a40; border-bottom: 2px solid #dee2e6; padding-bottom: 10px; }
.hasil-tiket p { margin: 0 0 12px 0; font-size: 16px; line-height: 1.6; }
.hasil-tiket strong { color: #495057; font-weight: 600; margin-right: 8px; }
.status { font-weight: 500; padding: 6px 15px; border-radius: 50px; color: #fff; font-size: 14px; text-transform: capitalize; }
.status.baru { background-color: #007bff; }
.status.diproses { background-color: #ffc107; color: #212529; }
.status.selesai { background-color: #28a745; }
.catatan-admin { margin-top: 20px; padding: 15px; background-color: #e2f0e6; border-left: 4px solid #28a745; border-radius: 4px; }
.catatan-admin strong { color: #155724; }
.error { color: #721c24; background-color: #f8d7da; border: 1px solid #f5c6cb; padding: 15px; border-radius: 8px; text-align: center; font-weight: 500; }
.nav-link { text-align: center; margin-top: 25px; }
.nav-link a { color: #8e44ad; text-decoration: none; font-weight: 500; transition: color 0.3s ease; }
.nav-link a:hover { color: #5e277c; text-decoration: underline; }

.subtitle {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
}
