
/* ============================================================
   VIVISCENT GLOBAL BASE STYLES
   (Resets · Typography · Colors · Layout Variables)
============================================================ */

/* Reset + box model */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Root variables */
:root {
  --site-width: 1250px;
  --site-padding: 20px;

  --font-body: Arial, sans-serif;
  --color-bg: #07131f;
  --color-text: #ffffff;
}

/* Global HTML + Body */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.6;
}

/* Global links */
a {
  color: #82b6ff;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

a:hover {
  opacity: 0.7;
}

/* Page wrapper */
.page-wrapper {
  max-width: var(--site-width);
  margin-left: auto;
  margin-right: auto;
  padding: 40px var(--site-padding);
}

/* Global images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Global section spacing */
section {
  width: 100%;
  max-height: max-content;
  overflow: hidden;
}

/* Mobile refinements */
@media (max-width: 900px) {
  .page-wrapper {
    padding: 24px 16px;
  }
}
.vwfPillCard img {
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: 380px;
  object-fit: cover;
  border-radius: 12px;
}

/* ============================
   MOBILE FIXES FOR AMOE PAGE
   ============================ */

@media (max-width: 768px) {

  /* Collapse the grid cleanly */
  .amoe-form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
  }

  /* Ensure all fields stay inside the viewport */
  .amoe-form-field,
  .amoe-form-field input,
  .amoe-form-field select,
  .amoe-form-field textarea {
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Fix textarea overflow */
  .amoe-form-field textarea {
    min-height: 140px;
  }

  /* Reduce padding on the card for smaller screens */
  .amoe-form-card {
    padding: 16px !important;
    border-radius: 10px;
  }

  /* Fix table overflow on mobile */
  .amoe-table {
    display: block;
    width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
  }

  /* Improve readability of table text */
  .amoe-table th,
  .amoe-table td {
    font-size: 14px !important;
    padding: 8px !important;
  }

  /* Fix hero text spacing */
  .hero-text h1 {
    font-size: 1.8rem !important;
    line-height: 1.2 !important;
    text-align: center !important;
  }

  .hero-text p {
    font-size: 1rem !important;
    text-align: center !important;
  }

  /* Fix checkbox spacing + wrapping */
  .amoe-checkbox-group {
    gap: 12px !important;
  }

  .amoe-checkbox {
    font-size: 0.95rem !important;
    line-height: 1.3 !important;
    display: flex;
    align-items: flex-start;
    gap: 10px;
  }

  .amoe-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
  }

  /* Fix submit button spacing */
  .amoe-submit-row {
    margin-top: 24px !important;
  }

  /* Prevent horizontal scrolling caused by padding */
  .page-wrapper {
    padding: 20px 12px !important;
  }

  /* Prevent ANY rogue element from causing sideways scroll */
  html, body {
    overflow-x: hidden !important;
  }
}
/* Bigger, premium AMOE submit button */
.amoe-submit-row button.primaryButton {
  width: 100%;
  padding: 1.4rem 1.6rem;
  font-size: 1.35rem;
  font-weight: 700;
  border-radius: 12px;
  background-color: #0a84ff;
  color: #ffffff;
  margin-top: 1.5rem;
  cursor: pointer;
  text-align: center;
}
/* Force native date picker to render and be clickable */
input[type="date"] {
  appearance: auto;
  -webkit-appearance: auto;
  -moz-appearance: auto;
  position: relative;
  z-index: 2;
  background-color: #ffffff;
  color: #000000;
  cursor: pointer;
}

/* Ensure the calendar icon is visible and interactive */
input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 1;
  display: block;
  cursor: pointer;
  z-index: 3;
}
/* Role badges */
.role-badge {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-transform: capitalize;
  color: white;
}

.role-super_admin {
  background: #d9534f;
}

.role-ops_admin {
  background: #0275d8;
}

.role-admin {
  background: #6c757d;
}

/* Status chips */
.status-chip {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.status-chip.active {
  background: #28a745;
  color: white;
}

.status-chip.inactive {
  background: #adb5bd;
  color: white;
}

/* Small buttons */
.btn-xs {
  padding: 4px 8px;
  font-size: 12px;
  margin-right: 4px;
}
