#report_error {
    background: #27272a;
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border: 1px solid #3f3f46;
    border-radius: 4px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: background 0.3s ease, border-color 0.3s ease;
    margin-left: auto;
    margin-right: 5px;
}


#report_error:hover {
    background: #3f3f46; 
    border-color: #52525b;
}

#report_error:active {
    transform: scale(0.96);
}

/* Modal Overlay */
.report-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.report-modal.active { display: flex; }

/* Box chính */
.report-modal-box {
  background: #1e1e1e;
  border-radius: 6px;
  width: 500px;
  max-width: 90%;
  padding: 20px;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

/* Header */
.report-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
  padding-bottom: 12px;
  margin-bottom: 16px;
}
.report-modal-header h3 { margin: 0; font-size: 18px; }
.report-modal-close {
  cursor: pointer;
  font-size: 20px;
  color: #da966e;
}

/* Danh sách lỗi */
.report-list .report-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #333;
}
.report-item:last-child { border-bottom: none; }

.report-item input[type="checkbox"] {
  margin-right: 12px;
  margin-top: 4px;
  width: 18px;
  height: 18px;
  border-radius: 4px;
  accent-color: #f67a34;
}
.checkbox-blue { accent-color: #337ab7; }
.checkbox-orange { accent-color: #f67a34; }

/* Text mô tả */
.report-text .label-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
}
.report-text .label-desc {
  display: block;
  font-size: 13px;
  color: #ccc;
  margin-top: 4px;
}

/* Textarea */
#reportDesc {
  width: 100%;
  height: 80px;
  background: #2b2b2b;
  border: none;
  border-radius: 4px;
  padding: 10px;
  color: #eee;
  font-size: 14px;
  margin: 16px 0;
}
#reportDesc::placeholder {
  color: #777;
}

/* Nút Gửi */
.report-submit {
  width: 100%;
  background: #da966e;
  border: none;
  border-radius: 4px;
  padding: 12px 0;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
  cursor: pointer;
}
.report-submit:hover {
  opacity: 0.9;
}


@keyframes fadeInOut {
  0%   { opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { opacity: 0; }
}

.report-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  padding: 6px 16px;
  white-space: pre-wrap;
  text-align: center;
  
  background: #eee;
  color: #000;
  font-size: 16px;
  border: 2px solid #444;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
  z-index: 2000;
  
  display: none;
}

.report-toast.show {
  display: block;
}

#reportDesc {
  display: none;
}