/**
 * Getsmore Community Request & Report Center — Getsmore Standard Styling System
 */

:root {
  --primary: #0056b3;
  --primary-hover: #004085;
  --primary-light: #eff6ff;
  --primary-glow: rgba(0, 86, 179, 0.2);
  --secondary: #00C7FF;
  --accent-blue: #007AFF;
  --success: #16a34a;
  --success-light: #f0fdf4;
  --warning: #d97706;
  --warning-light: #fffbeb;
  --danger: #e11d48;
  --danger-light: #fff1f2;
  --text: #1d1d1f;
  --muted: #64748b;
  --card-bg: #ffffff;
  --card-border: #e2e8f0;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.03);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.06);
}

/* Base resets for container */
.req-center-wrap {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 12px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
}

/* Hero Section — Getsmore Standard Dark-Blue & Cyan Banner */
.req-hero-banner {
  background: linear-gradient(135deg, #0a1b3a 0%, #0056b3 60%, #007AFF 100%);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 12px 36px rgba(10, 27, 58, 0.2);
}

.req-hero-banner::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 199, 255, 0.35) 0%, transparent 70%);
  pointer-events: none;
}

.req-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.req-hero-title {
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.req-hero-title span {
  color: var(--secondary);
}

.req-hero-subtitle {
  font-size: 1.02rem;
  line-height: 1.6;
  color: #cbd5e1;
  max-width: 680px;
  margin-bottom: 24px;
}

.req-trust-row {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.req-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #f1f5f9;
}

.req-trust-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Split Action Selector Cards (Step 1) */
.req-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .req-action-grid {
    grid-template-columns: 1fr;
  }
}

.action-card {
  background: #ffffff;
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.action-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.action-card.card-request:hover,
.action-card.card-request.active {
  border-color: var(--primary);
  background: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);
}

.action-card.card-report:hover,
.action-card.card-report.active {
  border-color: #0284c7;
  background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);
}

.action-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.action-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-request .action-icon-box {
  background: #eff6ff;
  color: var(--primary);
}

.card-report .action-icon-box {
  background: #e0f2fe;
  color: #0284c7;
}

.action-card-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
}

.action-card-desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 18px;
}

.action-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.action-tag {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
  background: #f1f5f9;
  color: #475569;
}

.btn-action-select {
  padding: 12px 20px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.92rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
  width: 100%;
}

.card-request .btn-action-select {
  background: linear-gradient(135deg, #0056b3 0%, #007AFF 100%);
  color: #ffffff;
}

.card-report .btn-action-select {
  background: linear-gradient(135deg, #0284c7 0%, #0056b3 100%);
  color: #ffffff;
}

/* Dynamic Form Container (Step 2) */
.req-form-card {
  background: #ffffff;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
  position: relative;
}

.form-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.form-header-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}

.req-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

@media (max-width: 640px) {
  .req-grid-2 {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 800;
  color: #334155;
  margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--card-border);
  border-radius: 12px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: #ffffff;
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

/* System Diagnostics Auto-Detected Box (Locked) */
.system-diagnostics-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px 18px;
  margin-bottom: 20px;
}

.diagnostics-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e2e8f0;
}

.diagnostics-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #1e293b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.diagnostics-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: #0284c7;
  background: #e0f2fe;
  padding: 3px 10px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}

.diagnostics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

@media (max-width: 640px) {
  .diagnostics-grid {
    grid-template-columns: 1fr;
  }
}

.form-group-locked {
  display: flex;
  flex-direction: column;
}

.form-group-locked.full-span {
  grid-column: 1 / -1;
}

.form-group-locked label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 5px;
}

.locked-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.input-locked {
  width: 100%;
  padding: 10px 34px 10px 14px !important;
  background: #ffffff !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: 8px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  color: #1e293b !important;
  cursor: not-allowed !important;
  user-select: text;
}

.locked-icon {
  position: absolute;
  right: 10px;
  font-size: 0.85rem;
  opacity: 0.7;
  pointer-events: none;
}

.device-chip-group {
  display: flex;
  gap: 10px;
}

.device-chip-btn {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1.5px solid var(--card-border);
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.device-chip-btn.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

/* Submit Buttons — Standard Getsmore Blue Gradients */
.btn-submit-public {
  width: 100%;
  padding: 15px;
  border-radius: 50px;
  background: linear-gradient(135deg, #0056b3 0%, #007AFF 100%);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 6px 18px rgba(0, 86, 179, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-public:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 86, 179, 0.35);
}

.btn-submit-report {
  background: linear-gradient(135deg, #0284c7 0%, #0056b3 100%);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.25);
}

.btn-submit-report:hover {
  box-shadow: 0 10px 24px rgba(2, 132, 199, 0.35);
}

/* Success Screen (Step 3) */
.req-success-card {
  background: #ffffff;
  border: 2px solid #bbf7d0;
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  margin-bottom: 36px;
  box-shadow: var(--shadow-md);
}

.success-icon-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #f0fdf4;
  color: var(--success);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.success-id-pill {
  display: inline-block;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  padding: 6px 16px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 0.95rem;
  color: #0f172a;
  margin: 10px 0 18px;
}

/* Community Feedback Feed (Step 4) */
.community-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  gap: 16px;
  flex-wrap: wrap;
}

.community-section-title h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 4px;
}

.community-section-title p {
  font-size: 0.92rem;
  color: var(--muted);
}

.req-nav-toolbar {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

.req-search-box {
  position: relative;
  flex: 1;
  min-width: 140px;
}

.req-filter-container {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 65%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.req-filter-container::-webkit-scrollbar {
  display: none;
}

.req-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: nowrap;
  align-items: center;
  white-space: nowrap;
}

.req-tab-btn {
  padding: 8px 14px;
  border-radius: 50px;
  background: #ffffff;
  border: 1.5px solid var(--card-border);
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
  white-space: nowrap;
}

.req-tab-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.req-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #ffffff;
}

.req-search-box input {
  width: 100%;
  padding: 9px 14px 9px 36px;
  border-radius: 50px;
  border: 1.5px solid var(--card-border);
  font-size: 0.86rem;
}

.req-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
}

/* Feed container */
.req-feed-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* =====================================================
   NEW CARD LAYOUT — screenshot-matched design
   ===================================================== */

/* Card wrapper */
.req-item-card {
  background: #ffffff;
  border: 1px solid #e8edf5;
  border-radius: 20px;
  padding: 24px 26px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.req-item-card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Top row: category label + status pill */
.card-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.card-cat-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.cat-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.badge-bug .cat-icon-circle   { background: #e0f2fe; }
.badge-bug .cat-label-text    { color: #0369a1; }
.badge-feature .cat-icon-circle  { background: #fffbeb; }
.badge-feature .cat-label-text   { color: #d97706; }
.badge-suggestion .cat-icon-circle { background: #fdf4ff; }
.badge-suggestion .cat-label-text  { color: #7c3aed; }
.badge-other .cat-icon-circle   { background: #f1f5f9; }
.badge-other .cat-label-text    { color: #475569; }

.card-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748b;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 5px 13px;
  border-radius: 50px;
}

.card-tracking-pill {
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  padding: 4px 9px;
  border-radius: 6px;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* Card title */
.card-main-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 4px 0 0;
  line-height: 1.3;
}

/* Divider */
.card-divider {
  height: 1px;
  background: #f1f5f9;
  margin: 16px 0;
}

/* User row */
.card-user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}

.card-avatar-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0056b3 0%, #007AFF 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.card-user-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-user-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.card-user-date {
  font-size: 0.78rem;
  color: #94a3b8;
}

/* Message bubble */
.card-message-bubble {
  background: #f8fafc;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  padding: 14px 18px;
  font-size: 0.95rem;
  line-height: 1.65;
  color: #334155;
}

/* --- Getsmore Team Reply Section --- */
.card-reply-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.reply-author-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.reply-getsmore-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1.5px solid #bfdbfe;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.reply-author-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.reply-author-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
}

.reply-author-name {
  font-size: 0.95rem;
  font-weight: 800;
  color: #0f172a;
}

.reply-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.reply-official-tag {
  font-size: 0.7rem;
  font-weight: 800;
  color: #0056b3;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2px 8px;
  border-radius: 50px;
}

.reply-date {
  font-size: 0.76rem;
  color: #94a3b8;
}

.card-reply-bubble {
  background: #f4fdf8;
  border: 1px solid #bbf7d0;
  border-left: 3px solid #4ade80;
  border-radius: 6px;
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.reply-bubble-text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #1e293b;
  flex: 1;
}

.reply-bubble-icon {
  flex-shrink: 0;
}

.reply-bubble-icon svg path {
  stroke: #4ade80 !important;
}

.reply-bubble-icon svg circle {
  fill: #4ade80 !important;
}

/* --- Status Footer --- */
.card-status-footer {
  background: #fffdf5;
  border: 1px solid #fef3c7;
  border-radius: 14px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.status-footer-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.status-footer-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.status-footer-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #92400e;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 2px;
}

.status-footer-desc {
  font-size: 0.8rem;
  color: #78716c;
  margin-top: 6px;
}

.status-footer-right {
  flex-shrink: 0;
}

.status-last-updated {
  display: flex;
  align-items: center;
  gap: 8px;
  text-align: left;
}

/* Verified Admin Reply Card (Getsmore Team) — legacy support */
.admin-reply-box {
  background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
  border: 1px solid #bfdbfe;
  border-left: 4px solid #0056b3;
  border-radius: 12px;
  padding: 16px 18px;
  margin-top: 14px;
}

.admin-reply-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.admin-reply-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 800;
  color: #0f172a;
}

.admin-team-badge {
  background: #0056b3;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 50px;
  text-transform: uppercase;
}

.admin-reply-text {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #1e293b;
}

.card-footer-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--card-border);
  gap: 8px;
  flex-wrap: wrap;
}

.card-footer-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-upvote {
  padding: 6px 14px;
  border-radius: 50px;
  background: #f1f5f9;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-upvote:hover, .btn-upvote.active {
  background: #eff6ff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-reply-toggle {
  padding: 6px 14px;
  border-radius: 50px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #334155;
  font-size: 0.82rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.btn-reply-toggle:hover,
.btn-reply-toggle.active {
  background: #eff6ff;
  color: var(--primary);
  border-color: var(--primary);
}

.btn-share-link {
  padding: 6px 12px;
  border-radius: 50px;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.btn-share-link:hover {
  color: var(--primary);
}

/* User Replies & Discussion Thread */
.card-user-replies-section {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
}

.user-replies-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.user-replies-title {
  font-size: 0.86rem;
  font-weight: 800;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 6px;
}

.user-replies-count {
  background: #f1f5f9;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
}

.user-replies-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.user-reply-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.user-reply-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.user-reply-author-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.user-reply-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7 0%, #007AFF 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-reply-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #0f172a;
}

.user-reply-date {
  font-size: 0.74rem;
  color: #94a3b8;
}

.user-reply-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #334155;
  padding-left: 34px;
}

/* User Reply Form */
.user-reply-form-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px;
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.user-reply-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

@media (max-width: 600px) {
  .user-reply-form-grid {
    grid-template-columns: 1fr;
  }
  .user-reply-text {
    padding-left: 0;
  }
}

.user-reply-input {
  width: 100%;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.84rem;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  font-family: inherit;
}

.user-reply-input:focus {
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
}

.user-reply-textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  font-size: 0.86rem;
  background: #ffffff;
  color: #0f172a;
  outline: none;
  resize: vertical;
  min-height: 70px;
  font-family: inherit;
  line-height: 1.5;
}

.user-reply-textarea:focus {
  border-color: #007AFF;
  box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
}

.user-reply-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.btn-post-reply {
  padding: 8px 18px;
  border-radius: 50px;
  background: #007AFF;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.82rem;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-post-reply:hover {
  background: #0056b3;
}

.btn-cancel-reply {
  padding: 8px 14px;
  border-radius: 50px;
  background: transparent;
  color: #64748b;
  font-weight: 600;
  font-size: 0.82rem;
  border: 1px solid #cbd5e1;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-cancel-reply:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* Toast Notification System */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffffff;
  background: #0f172a;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  pointer-events: auto;
  animation: toastSlideIn 0.3s ease forwards;
}

.toast-success { background: #16a34a; }
.toast-error { background: #e11d48; }
.toast-info { background: #0056b3; }

@keyframes toastSlideIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =====================================================
   RESPONSIVE — Tablet (max 768px)
   ===================================================== */
@media (max-width: 768px) {
  .req-center-wrap {
    padding: 0 14px;
  }

  .req-hero-banner {
    padding: 28px 20px;
    border-radius: 16px;
  }

  .req-hero-title {
    font-size: 1.7rem;
  }

  .req-hero-subtitle {
    font-size: 0.93rem;
  }

  .req-trust-row {
    gap: 14px;
  }

  .req-action-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .req-form-card {
    padding: 22px 18px;
  }

  .req-nav-toolbar {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .req-search-box {
    flex: 1;
    min-width: 0;
  }

  .req-filter-container {
    max-width: 52%;
  }

  /* Status footer stacks on tablet */
  .card-status-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .status-footer-right {
    width: 100%;
    border-top: 1px solid #fde68a;
    padding-top: 10px;
  }

  /* Reply bubble icon hides on tablet */
  .reply-bubble-icon {
    display: none;
  }
}

/* =====================================================
   RESPONSIVE — Mobile (max 480px)
   ===================================================== */
@media (max-width: 480px) {
  .req-hero-title {
    font-size: 1.45rem;
  }

  .req-item-card {
    padding: 18px 16px;
  }

  .card-top-row {
    flex-wrap: wrap;
    gap: 8px;
  }

  .card-main-title {
    font-size: 1.1rem;
  }

  .card-reply-bubble {
    padding: 12px 14px;
  }

  .card-status-footer {
    padding: 12px 14px;
  }

  .status-footer-left {
    flex-wrap: wrap;
  }

  /* Community section heading */
  .community-section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .community-section-title h2 {
    font-size: 1.2rem;
  }

  /* Form grid always single col on mobile */
  .req-grid-2 {
    grid-template-columns: 1fr;
  }

  .req-hero-banner {
    padding: 22px 16px;
  }

  .req-trust-row {
    flex-direction: column;
    gap: 10px;
  }
}
