body {
  font-size: 14px;
}

.login-bg {
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
}

.content-wrapper {
  background: #f4f6f9;
}

.small-box .icon > i {
  font-size: 58px;
}

.table td,
.table th {
    vertical-align: middle;
}

.raport-task-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 240px;
    margin: 0;
    padding-left: 18px;
    list-style: disc;
}

.raport-task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background: #f8f9fa;
    margin-left: 0;
}

.raport-task-title {
    color: #2f3542;
    font-weight: 500;
    line-height: 1.35;
}

.raport-task-score {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
}

.raport-task-score.is-scored {
    color: #155724;
    background: #d4edda;
}

.raport-task-score.is-pending {
    color: #856404;
    background: #fff3cd;
}

.modern-room-card {
  overflow: hidden;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}

.modern-room-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.12);
  border-color: rgba(0, 123, 255, 0.25);
}

.modern-room-head {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 104px;
  padding: 16px 18px;
  box-sizing: border-box;
  color: #fff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.modern-room-head.teacher {
  background: #007bff;
}

.modern-room-head.student {
  background: #007bff;
}

.modern-room-icon {
  width: 40px;
  height: 40px;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 16px;
}

.modern-room-title {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.3;
}

.modern-room-subtitle {
  margin-top: 3px;
  font-size: 0.8rem;
  opacity: 0.95;
}

.room-meta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #6c757d;
  font-size: 0.875rem;
  margin-bottom: 10px;
  line-height: 1.4;
}

.room-meta i {
  width: 14px;
  margin-top: 3px;
  text-align: center;
}

.room-chip-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.room-chip {
  padding: 0.38rem 0.65rem;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  background: #f8f9fa;
  color: #495057;
  font-size: 0.75rem;
  font-weight: 600;
}

.modern-room-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8f9fa;
  color: #495057;
  font-weight: 600;
  border-top: 1px solid #dee2e6;
  padding: 0.75rem 1rem;
}

.room-headline-body {
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.room-headline-meta {
  color: rgba(255, 255, 255, 0.92);
}

.rich-desc p {
  margin-bottom: 0.5rem;
}

.rich-desc ul,
.rich-desc ol {
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
}

.password-toggle-icon {
  display: inline-block;
  min-width: 1.2em;
  text-align: center;
  font-size: 1rem;
  line-height: 1;
}

.student-report-summary {
  padding: 18px 20px;
  border: 1px solid #dbe3ee;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
}

.student-report-summary-title {
  margin-bottom: 14px;
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.student-report-summary-table th,
.student-report-summary-table td {
  padding: 0.38rem 0;
  vertical-align: top;
  border-top: 1px solid #eef2f7;
  line-height: 1.35;
}

.student-report-summary-table tbody tr:first-child th,
.student-report-summary-table tbody tr:first-child td {
  border-top: 0;
  padding-top: 0;
}

.student-report-summary-table tbody tr:last-child th,
.student-report-summary-table tbody tr:last-child td {
  padding-bottom: 0;
}

.student-report-summary-table th {
  width: 118px;
  color: #64748b;
  font-weight: 400;
  white-space: nowrap;
  padding-right: 10px;
}

.student-report-summary-table td {
  color: #0f172a;
  font-weight: 400;
  word-break: break-word;
  padding-left: 0;
}

@media (max-width: 767.98px) {
  .student-report-summary-table th,
  .student-report-summary-table td {
    display: block;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .student-report-summary-table th {
    padding-bottom: 0.15rem;
  }

  .student-report-summary-table td {
    padding-top: 0;
  }
}

.file-dropzone {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  border: 2px dashed #cbd5e1;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.file-dropzone:hover {
  border-color: #3b82f6;
  background: #f8fbff;
  box-shadow: 0 10px 26px rgba(59, 130, 246, 0.08);
  transform: translateY(-1px);
}

.file-dropzone.is-dragover {
  border-color: #2563eb;
  background: #eff6ff;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.file-dropzone-icon {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  color: #2563eb;
  font-size: 22px;
}

.file-dropzone-content {
  flex: 1;
  min-width: 0;
}

.file-dropzone-title {
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.file-dropzone-subtitle {
  color: #64748b;
  font-size: 13px;
}

.selected-files-info {
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.selected-files-label {
  padding: 10px 14px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.selected-files-panel {
  padding: 12px 14px;
}

.selected-files-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.selected-files-item {
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.selected-files-item:last-child {
  border-bottom: 0;
}

.selected-files-item a {
  color: #1d4ed8;
  word-break: break-word;
}

.selected-files-preview {
  border: 1px solid #dbeafe;
  border-radius: 14px;
  background: #eff6ff;
  padding: 14px;
}

.selected-file-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(37, 99, 235, 0.12);
}

.selected-file-item:last-child {
  border-bottom: 0;
}

.selected-file-item span {
  color: #0f172a;
  font-size: 13px;
  word-break: break-word;
}

.dropzone { cursor: pointer; transition: all 0.3s ease; }
.dropzone:hover { background-color: #f8f9ff; border-color: #0d6efd; transform: scale(1.01); }
.dropzone.dragover { background-color: #e3f2fd; border-color: #0d6efd; }

.status-btn:hover, .mata-pelajaran-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.15) !important;
}

.status-btn input:checked + label, .mata-pelajaran-btn input:checked + label {
    transform: scale(1.03) !important;
    box-shadow: 0 8px 25px rgba(13,110,253,0.3) !important;
    border-color: #0d6efd !important;
    background: linear-gradient(145deg, #e3f2fd, #f8f9ff) !important;
}

.jadwal-card {
    border: 2px solid #dee2e6;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    align-items: center;
    border-radius: 12px;
}

.jadwal-info { flex-grow: 1; }
.jadwal-mata-pelajaran { 
    color: #0d6efd; 
    font-size: 1.1em; 
    font-weight: 600;
    margin-bottom: 4px;
}
.jadwal-guru { 
    color: #6c757d; 
    font-size: 0.9em;
}

#submit-btn:disabled { 
    opacity: 0.6; 
    cursor: not-allowed; 
    background: #6c757d !important;
}
#submit-btn:not(:disabled) { 
    background: linear-gradient(45deg, #0d6efd, #6610f2) !important;
}
