/* Form card laporan keluhan (KRITIK & SARAN MEMBER) — tema amber #f59e0b */
.card.border-theme {
  background: rgba(0,0,0,0.72);
  border: 1.5px solid #f59e0b !important;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.border-theme .card-header {
  border-bottom: 1px solid #f59e0b !important;
  background: rgba(245,158,11,0.08);
}
.form-infobar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.06);
  border-left: 4px solid #f59e0b !important;
  border-radius: 10px;
  padding: 10px 14px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
}
.form-infobar .fas { color: #f59e0b !important; }
.form-infobar .infobar-time { margin-left: auto; color: rgba(255,255,255,0.5); font-size: 12px; }
.form-label-custom { display: block; color: #e2e8f0; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.card.border-theme .input-group-text { background: rgba(245,158,11,0.15); border: 1px solid rgba(255,255,255,0.15); color: #f59e0b; }
.card.border-theme .form-control,
.card.border-theme .form-select {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 10px;
}
.card.border-theme .form-control::placeholder { color: rgba(255,255,255,0.4); }
.card.border-theme .form-select option { color: #000; }
.card.border-theme .form-control:focus,
.card.border-theme .form-select:focus {
  border-color: #f59e0b !important;
  box-shadow: 0 0 0 3px #f59e0b22 !important;
  background: rgba(255,255,255,0.1);
  color: #fff;
  outline: none;
}
.form-textarea {
  width: 100%;
  min-height: 110px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  color: #fff;
  padding: 10px 12px;
  resize: vertical;
}
.form-textarea::placeholder { color: rgba(255,255,255,0.4); }
.form-textarea:focus { border-color: #f59e0b !important; box-shadow: 0 0 0 3px #f59e0b22 !important; outline: none; }
.file-upload-wrap { position: relative; }
.file-upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.file-upload-display {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1.5px dashed rgba(255,255,255,0.25);
  border-radius: 10px;
  padding: 12px 14px;
  color: rgba(255,255,255,0.6);
  font-size: 13px;
  transition: all 0.2s ease;
}
.file-upload-wrap:hover .file-upload-display { border-color: #f59e0b !important; }
.file-upload-display .fas { color: #f59e0b !important; flex-shrink: 0; }
.file-upload-display span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn-submit-keluhan {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, #f59e0b, #b45309) !important;
  box-shadow: 0 4px 14px rgba(245,158,11,0.4);
  transition: all 0.2s ease;
}
.btn-submit-keluhan:disabled { opacity: 0.6; cursor: wait; }
.btn-inbox-toggle {
  background: rgba(245,158,11,0.15);
  border: 1px solid rgba(245,158,11,0.5);
  color: #f59e0b;
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}
/* Thread inbox */
.chat-keluhan-box {
  border-left: 4px solid #f59e0b !important;
  background: rgba(255,255,255,0.04);
  border-radius: 0 10px 10px 0;
  padding: 12px;
  margin-bottom: 12px;
}
.chat-keluhan-box .label { color: #f59e0b !important; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.chat-keluhan-box .kode-big { font-family: monospace; font-size: 1.1rem; font-weight: 900; color: #fff; }
.chat-keluhan-box .status-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 12px;
  border-radius: 50px;
  background: rgba(245,158,11,0.2);
  color: #f59e0b;
  text-transform: uppercase;
}
.msg-wrap { display: flex; margin: 8px 0; }
.msg-wrap.from-member { justify-content: flex-end; }
.msg-wrap.from-admin { justify-content: flex-start; }
.msg-bubble {
  max-width: 85%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.45;
  word-break: break-word;
}
.msg-wrap.from-member .msg-bubble { background: #2563eb; color: #fff; border-bottom-right-radius: 3px; }
.msg-wrap.from-admin .msg-bubble { background: linear-gradient(135deg, #f59e0b, #b45309) !important; color: #fff; border-bottom-left-radius: 3px; }
.msg-bubble img { max-width: 100%; border-radius: 8px; margin-top: 6px; display: block; }
.msg-time { color: #94a3b8; font-size: 10px; margin-top: 4px; }
#sendInbox { background: #f59e0b !important; border-color: #f59e0b !important; }
