/* ── Halaman Laporan BKD ── */
.laporan-section {
  padding: 64px 24px 96px;
}

.laporan-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 40px;
  max-width: 720px;
  margin: 0 auto;
}

.laporan-card-header {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.laporan-card-header h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--green-dark);
  margin-bottom: 6px;
}
.laporan-card-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Alert */
.laporan-alert {
  max-width: 720px;
  margin: 0 auto 24px;
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.5;
}
.laporan-alert--success {
  background: rgba(45, 140, 82, 0.12);
  color: #134f2b;
  border: 1px solid rgba(45, 140, 82, 0.4);
}
.laporan-alert--error {
  background: rgba(220, 53, 69, 0.1);
  color: #8f1d28;
  border: 1px solid rgba(220, 53, 69, 0.4);
}

/* Form */
.form-group {
  margin-bottom: 24px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}
.req { color: #dc3545; }
.opt { color: var(--text-muted); font-weight: 500; font-size: 0.8rem; }

.form-input {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-input:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(26, 107, 58, 0.12);
}
select.form-input {
  cursor: pointer;
}

/* Kategori pilihan */
.kategori-pilih {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.kategori-opt { cursor: pointer; }
.kategori-opt input { display: none; }
.kategori-box {
  display: block;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  transition: var(--transition);
}
.kategori-box strong {
  display: block;
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 2px;
}
.kategori-box small {
  color: var(--text-muted);
  font-size: 0.82rem;
}
.kategori-opt input:checked + .kategori-box {
  border-color: var(--green);
  background: rgba(26, 107, 58, 0.06);
  box-shadow: 0 0 0 3px rgba(26, 107, 58, 0.1);
}

/* Tahun ajaran */
.tahun-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.tahun-row .form-input { width: auto; flex: 1; }
.tahun-sep { font-weight: 700; color: var(--text-muted); }

/* Dropzone */
.dropzone {
  border: 2px dashed rgba(26, 107, 58, 0.3);
  border-radius: var(--radius-sm);
  background: rgba(26, 107, 58, 0.03);
  padding: 32px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}
.dropzone:hover,
.dropzone.dragover {
  border-color: var(--green);
  background: rgba(26, 107, 58, 0.07);
}
.dropzone-icon {
  color: var(--green);
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}
.dropzone-text { font-weight: 700; color: var(--green-dark); }
.dropzone-sub { color: var(--text-muted); font-size: 0.9rem; }
.dropzone-hint {
  color: var(--text-muted);
  font-size: 0.75rem;
  margin-top: 10px;
  opacity: 0.8;
}

.dropzone-file {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}
.file-info {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.file-icon { font-size: 1.8rem; }
.file-name {
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}
.file-size { color: var(--text-muted); font-size: 0.8rem; }
.file-remove {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  flex-shrink: 0;
}
.file-remove:hover { background: rgba(220, 53, 69, 0.2); }

.form-error {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 8px;
}

.form-actions {
  margin-top: 32px;
  text-align: right;
}

/* Responsive */
@media (max-width: 640px) {
  .laporan-card { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .kategori-pilih { grid-template-columns: 1fr; }
}
