/* ==========================================================================
   GHVM PURI — PREMIUM GRIEVANCE REDRESSAL CELL STYLES
   Website Standard Theme & Font Hierarchy (#1ab69d Teal / #ee4a62 Coral / #181818 Ink)
   ========================================================================== */

:root {
  --ghvm-teal: #1ab69d;
  --ghvm-teal-deep: #0f8f7a;
  --ghvm-teal-light: #eef7f5;
  --ghvm-coral: #ee4a62;
  --ghvm-ink: #181818;
  --ghvm-dark: #14202b;
  --ghvm-muted: #6b7385;
  --ghvm-border: rgba(20, 32, 43, 0.12);
}

/* ── Hero Header ── */
.ghvm-grievance-hero {
  position: relative;
  background: linear-gradient(135deg, #14202b 0%, #1c2d3d 55%, #1ab69d 100%);
  padding: 64px 0 54px;
  color: #ffffff;
  overflow: hidden;
  margin-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ghvm-grievance-hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 550px;
  height: 550px;
  background: radial-gradient(circle, rgba(26, 182, 157, 0.22) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
  border-radius: 50%;
}

.ghvm-grievance-hero-inner {
  position: relative;
  z-index: 2;
}

.ghvm-grievance-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 18px;
}

.ghvm-grievance-breadcrumbs a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.2s ease;
}

.ghvm-grievance-breadcrumbs a:hover {
  color: #5eead4;
}

.ghvm-grievance-breadcrumbs .sep {
  color: #64748b;
  font-size: 14px;
}

.ghvm-grievance-hero-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.ghvm-grievance-hero-subtitle {
  font-size: clamp(16px, 1.8vw, 18px);
  color: #cbd5e1;
  max-width: 720px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.ghvm-grievance-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ghvm-grievance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

.ghvm-grievance-badge i {
  color: #5eead4;
  font-size: 18px;
}

/* ── Hero Urgent Card (Right Side) ── */
.ghvm-hero-urgent-card {
  background: rgba(238, 74, 98, 0.14);
  border: 1px solid rgba(238, 74, 98, 0.35);
  backdrop-filter: blur(14px);
  padding: 24px 26px;
  border-radius: 20px;
  color: #ffffff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.ghvm-hero-urgent-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.ghvm-hero-urgent-icon {
  width: 40px;
  height: 40px;
  background: rgba(238, 74, 98, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff6b81;
  font-size: 22px;
  flex-shrink: 0;
}

.ghvm-hero-urgent-header h4 {
  font-size: 18px;
  font-weight: 800;
  color: #ffa5b2;
  margin: 0;
}

.ghvm-hero-urgent-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: #cbd5e1;
  margin-bottom: 16px;
}

.ghvm-hero-urgent-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 99px;
  color: #5eead4;
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.ghvm-hero-urgent-call:hover {
  background: #5eead4;
  color: #14202b;
  border-color: #5eead4;
}

/* ── Layout Grid ── */
.ghvm-grievance-section {
  padding-bottom: 64px;
}

/* ── Form Card ── */
.ghvm-grievance-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 44px;
  box-shadow: 0 16px 48px -12px rgba(20, 32, 43, 0.08);
  border: 1px solid var(--ghvm-border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ghvm-grievance-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--ghvm-teal-light);
}

.ghvm-grievance-card-title {
  font-size: clamp(22px, 3vw, 26px);
  font-weight: 800;
  color: var(--ghvm-ink);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.ghvm-grievance-card-title i {
  color: var(--ghvm-teal);
  font-size: 28px;
}

.ghvm-grievance-card-note {
  font-size: 14px;
  color: var(--ghvm-muted);
  font-weight: 600;
}

/* ── Form Fields ── */
.ghvm-form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}

.ghvm-col-12 { grid-column: span 12; }
.ghvm-col-6  { grid-column: span 6; }
.ghvm-col-4  { grid-column: span 4; }

@media (max-width: 768px) {
  .ghvm-col-6, .ghvm-col-4 { grid-column: span 12; }
  .ghvm-grievance-card { padding: 28px 22px; }
}

.ghvm-field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ghvm-field-label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ghvm-ink);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ghvm-field-label span.req {
  color: var(--ghvm-coral);
  font-size: 16px;
}

/* ── Input Wrapper & Icon Positioning Fix ── */
.ghvm-grievance-card .ghvm-input-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
}

.ghvm-grievance-card .ghvm-input-icon {
  position: absolute !important;
  left: 16px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: var(--ghvm-muted) !important;
  font-size: 20px !important;
  pointer-events: none !important;
  z-index: 5 !important;
  transition: color 0.2s ease !important;
  line-height: 1 !important;
  margin: 0 !important;
}

.ghvm-grievance-card .ghvm-input-icon.is-textarea {
  top: 18px !important;
  transform: none !important;
}

/* Override any default theme padding rules */
.ghvm-grievance-card .ghvm-input,
.ghvm-grievance-card .ghvm-select,
.ghvm-grievance-card .ghvm-textarea,
.ghvm-grievance-card form input[type="text"],
.ghvm-grievance-card form input[type="tel"],
.ghvm-grievance-card form input[type="email"],
.ghvm-grievance-card form input[type="number"],
.ghvm-grievance-card form select,
.ghvm-grievance-card form textarea {
  width: 100% !important;
  padding-left: 50px !important;
  padding-right: 16px !important;
  height: 54px !important;
  line-height: 54px !important;
  background: #f8fbfa !important;
  border: 1.5px solid var(--ghvm-border) !important;
  border-radius: 14px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: var(--ghvm-ink) !important;
  outline: none !important;
  font-family: inherit !important;
  box-shadow: none !important;
  transition: all 0.25s ease !important;
  margin: 0 !important;
}

.ghvm-grievance-card form select.ghvm-select,
.ghvm-grievance-card form select {
  appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%236b7385'%3E%3Cpath d='M12 15L7 10H17L12 15Z'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 22px !important;
  cursor: pointer !important;
}

.ghvm-grievance-card form textarea.ghvm-textarea,
.ghvm-grievance-card form textarea {
  height: auto !important;
  min-height: 130px !important;
  line-height: 1.5 !important;
  padding-top: 14px !important;
  padding-bottom: 14px !important;
  resize: vertical !important;
}

.ghvm-grievance-card .ghvm-input::placeholder,
.ghvm-grievance-card .ghvm-textarea::placeholder,
.ghvm-grievance-card form input::placeholder,
.ghvm-grievance-card form textarea::placeholder {
  color: #9aa3b2 !important;
  opacity: 1 !important;
}

.ghvm-grievance-card .ghvm-input-wrapper:focus-within .ghvm-input-icon {
  color: var(--ghvm-teal-deep) !important;
}

.ghvm-grievance-card .ghvm-input:focus,
.ghvm-grievance-card .ghvm-select:focus,
.ghvm-grievance-card .ghvm-textarea:focus,
.ghvm-grievance-card form input:focus,
.ghvm-grievance-card form select:focus,
.ghvm-grievance-card form textarea:focus {
  background: #ffffff !important;
  border-color: var(--ghvm-teal) !important;
  box-shadow: 0 0 0 4px rgba(26, 182, 157, 0.15) !important;
}

/* ── Anti-Spam Captcha Box ── */
.ghvm-captcha-box {
  background: var(--ghvm-teal-light);
  border: 1.5px dashed var(--ghvm-teal);
  border-radius: 16px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 6px;
}

.ghvm-captcha-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.ghvm-captcha-icon {
  width: 48px;
  height: 48px;
  background: #ffffff;
  border-radius: 12px;
  color: var(--ghvm-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(26, 182, 157, 0.12);
}

.ghvm-captcha-text label {
  font-size: 15px;
  font-weight: 700;
  color: var(--ghvm-ink);
  margin: 0;
}

.ghvm-captcha-text p {
  font-size: 16px;
  color: var(--ghvm-teal-deep);
  margin: 2px 0 0;
}

.ghvm-captcha-text p strong {
  font-size: 17px;
}

.ghvm-grievance-card .ghvm-captcha-input {
  width: 120px !important;
  padding-left: 14px !important;
  padding-right: 14px !important;
  text-align: center;
  font-weight: 800;
  font-size: 18px !important;
  background: #ffffff !important;
  border-color: var(--ghvm-teal) !important;
}

/* ── Submit Button ── */
.ghvm-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--ghvm-teal) 0%, var(--ghvm-teal-deep) 100%);
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  box-shadow: 0 10px 24px -4px rgba(26, 182, 157, 0.35);
  transition: all 0.25s ease;
  letter-spacing: 0.01em;
}

.ghvm-submit-btn:hover {
  background: linear-gradient(135deg, #159c86 0%, #0b7a68 100%);
  box-shadow: 0 14px 28px -4px rgba(26, 182, 157, 0.45);
  transform: translateY(-2px);
}

.ghvm-submit-btn i {
  font-size: 20px;
  transition: transform 0.25s ease;
}

.ghvm-submit-btn:hover i {
  transform: translateX(6px);
}

/* ── Sidebar Cards ── */
.ghvm-grievance-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.ghvm-sidebar-card {
  background: #ffffff;
  border-radius: 24px;
  padding: 32px 32px;
  box-shadow: 0 12px 36px -12px rgba(20, 32, 43, 0.06);
  border: 1px solid var(--ghvm-border);
}

.ghvm-sidebar-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--ghvm-ink);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ghvm-sidebar-title i {
  color: var(--ghvm-teal);
  font-size: 24px;
}

/* ── Timeline ── */
.ghvm-process-timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.ghvm-process-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 14px;
  bottom: 14px;
  width: 2px;
  background: #cbd5e1;
}

.ghvm-timeline-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.ghvm-step-num {
  width: 42px;
  height: 42px;
  background: var(--ghvm-teal-light);
  color: var(--ghvm-teal-deep);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 3px rgba(26, 182, 157, 0.3);
  border-radius: 50%;
  font-size: 16px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  z-index: 2;
}

.ghvm-step-content h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ghvm-ink);
  margin: 0 0 6px;
}

.ghvm-step-content p {
  font-size: 15px;
  color: var(--ghvm-muted);
  margin: 0;
  line-height: 1.55;
}

/* ── Contact Items ── */
.ghvm-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: #f8fbfa;
  border-radius: 16px;
  border: 1px solid var(--ghvm-border);
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  margin-bottom: 14px;
}

.ghvm-contact-item:last-child {
  margin-bottom: 0;
}

.ghvm-contact-item:hover {
  background: var(--ghvm-teal-light);
  border-color: rgba(26, 182, 157, 0.4);
  transform: translateX(4px);
}

.ghvm-contact-icon {
  width: 46px;
  height: 46px;
  background: #ffffff;
  border-radius: 12px;
  color: var(--ghvm-teal-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
  flex-shrink: 0;
}

.ghvm-contact-detail span {
  display: block;
  font-size: 13px;
  color: var(--ghvm-muted);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ghvm-contact-detail strong {
  font-size: 16px;
  color: var(--ghvm-ink);
  font-weight: 700;
}

/* ── Emergency Box ── */
.ghvm-emergency-box {
  background: #fff7ed;
  border: 1px solid #ffedd5;
  border-radius: 18px;
  padding: 20px 24px;
}

.ghvm-emergency-box h6 {
  font-size: 16px;
  font-weight: 700;
  color: #c2410c;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
}

.ghvm-emergency-box p {
  font-size: 14.5px;
  color: #9a3412;
  margin: 0;
  line-height: 1.55;
}

/* ── Session Alerts ── */
.ghvm-alert {
  padding: 18px 24px;
  border-radius: 14px;
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 16px;
  font-weight: 600;
  animation: ghvmFadeIn 0.3s ease;
}

.ghvm-alert-success {
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #065f46;
}

.ghvm-alert-success i {
  font-size: 24px;
  color: #10b981;
}

.ghvm-alert-warning {
  background: #fffbebfb;
  border: 1px solid #fde68a;
  color: #92400e;
}

.ghvm-alert-warning i {
  font-size: 24px;
  color: #f59e0b;
}

@keyframes ghvmFadeIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}
