/* Pengaduan dan Saran: halaman publik dan admin web utama. */

.pgd-form label { display: block; font-weight: 600; margin: 1rem 0 0.375rem; }
.pgd-form label small { font-weight: 400; color: #6d7480; }
.pgd-form input[type=text],
.pgd-form select,
.pgd-form textarea {
    width: 100%; padding: 0.75rem 0.875rem; border: 0.0625rem solid #d9dce3; border-radius: 0.625rem;
    font: inherit; background: #fff; box-sizing: border-box;
}
.pgd-form textarea { min-height: 10rem; resize: vertical; }
.pgd-form input:focus,
.pgd-form select:focus,
.pgd-form textarea:focus { outline: 0.125rem solid #e30613; outline-offset: 0.0625rem; border-color: #e30613; }
.pgd-hint { color: #6d7480; font-size: 0.8125rem; margin-top: 0.375rem; }

/* Kolom jebakan bot: disembunyikan dari manusia. */
.pgd-hp { position: absolute; left: -624.9375rem; width: 0.0625rem; height: 0.0625rem; overflow: hidden; }

.pgd-tombol {
    display: inline-block; margin-top: 1.25rem; padding: 0.75rem 1.375rem; border: 0; border-radius: 0.625rem;
    background: #e30613; color: #fff; font: inherit; font-weight: 600; cursor: pointer;
    text-decoration: none; text-align: center;
}
.pgd-tombol:hover { background: #b9050f; }
.pgd-tombol.abu { background: #eef0f4; color: #1f2430; }
.pgd-tombol.abu:hover { background: #e1e4ea; }

.pgd-alert { padding: 0.75rem 1rem; border-radius: 0.625rem; margin: 0 0 1rem; }
.pgd-alert.ok { background: #e9f7ef; color: #14532d; border: 0.0625rem solid #b7e4c7; }
.pgd-alert.err { background: #fdecee; color: #8a0b14; border: 0.0625rem solid #f5b5ba; }

.pgd-kode {
    display: inline-block; font-size: 1.75rem; font-weight: 700; letter-spacing: 0.125rem;
    padding: 0.625rem 1.125rem; background: #fff3f4; color: #e30613; border-radius: 0.75rem;
    border: 0.0625rem dashed #e30613; margin: 0.375rem 0 0.25rem;
}

.pgd-badge {
    display: inline-block; padding: 0.1875rem 0.75rem; border-radius: 62.4375rem; font-size: 0.8125rem; font-weight: 600;
}
.pgd-badge.baru { background: #eef0f4; color: #3b4252; }
.pgd-badge.diproses { background: #fff4d6; color: #7a5200; }
.pgd-badge.selesai { background: #e0f5e9; color: #14532d; }
.pgd-badge.ditolak { background: #fdecee; color: #8a0b14; }

.pgd-kotak { background: #f6f7fa; border-radius: 0.75rem; padding: 1rem 1.125rem; margin: 0.75rem 0; white-space: pre-line; }
.pgd-meta { color: #6d7480; font-size: 0.875rem; }

/* Admin */
.pgd-tabel { width: 100%; border-collapse: collapse; }
.pgd-tabel th, .pgd-tabel td { text-align: left; padding: 0.625rem 0.75rem; border-bottom: 0.0625rem solid #e8eaf0; vertical-align: top; }
.pgd-tabel th { font-size: 0.8125rem; color: #6d7480; font-weight: 600; }
.pgd-tabel a { color: #e30613; text-decoration: none; font-weight: 600; }
.pgd-tabel a:hover { text-decoration: underline; }
.pgd-saring { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.pgd-saring a {
    padding: 0.375rem 0.875rem; border-radius: 62.4375rem; background: #eef0f4; color: #1f2430;
    text-decoration: none; font-size: 0.875rem;
}
.pgd-saring a.aktif { background: #e30613; color: #fff; }
.pgd-cari { display: flex; gap: 0.5rem; margin-bottom: 1rem; flex-wrap: wrap; }
.pgd-cari input { flex: 1; min-width: 12.5rem; padding: 0.625rem 0.75rem; border: 0.0625rem solid #d9dce3; border-radius: 0.625rem; font: inherit; }
.pgd-halaman { display: flex; justify-content: space-between; margin-top: 1rem; }
.pgd-halaman a { color: #e30613; font-weight: 600; text-decoration: none; }
.pgd-admin-form label { display: block; font-weight: 600; margin: 0.875rem 0 0.375rem; }
.pgd-admin-form select, .pgd-admin-form textarea {
    width: 100%; padding: 0.625rem 0.75rem; border: 0.0625rem solid #d9dce3; border-radius: 0.625rem; font: inherit; box-sizing: border-box;
}
.pgd-admin-form textarea { min-height: 8.75rem; resize: vertical; }

@media (max-width: 560px) {
    .pgd-kode { font-size: 1.375rem; }
    .pgd-sembunyi { display: none; }
}
