/* ================================
   Fonts
================================ */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@400;700&display=swap");

/* ================================
   Header Component Only
================================ */
.site-header {
  background: #fff;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 1001;
  font-family: "Roboto Slab", serif;
  color: #526370;
}

/* Hamburger */
.site-header .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #526370;
  margin-right: 1rem;
}

/* Logo */
.site-header .logo {
  position: relative;
  display: flex;
  align-items: center;
}

.site-header .logo img {
  height: 52px;
}

.site-header .logo-desktop {
  display: none;
}

.site-header .logo-mobile {
  display: block;
  height: 48px;
}

/* Profile Links */
.site-header .profile-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  font-size: 1rem;
}

.site-header .profile-link {
  color: #2a3f54;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

/* Drawer Navigation */
#drawer-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 260px;
  height: 100vh;
  background-color: #526370;
  font-family: "Roboto Slab", serif;
  font-weight: 400;
  transform: translateX(-260px);
  transition: transform 0.3s ease-in-out;
  z-index: 1002;
  padding-top: 80px;
  will-change: transform;
}

#drawer-nav.open {
  transform: translateX(0);
}

#drawer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 1rem 1.5rem;
}

#drawer-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  line-height: 1;
}

#drawer-nav a:hover {
  text-decoration: underline;
}

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  z-index: 1000;
}

.overlay.active {
  display: block;
}

.body--locked {
  overflow: hidden;
}

/* Responsive */
@media (max-width: 1024px) {
  .site-header .menu-toggle {
    display: block;
  }

  .site-header .profile-links {
    display: none;
  }

  .site-header .logo-desktop {
    display: none;
  }

  .site-header .logo-mobile {
    display: block;
  }
}

@media (min-width: 1025px) {
  #drawer-nav {
    position: relative;
    left: 0;
    width: auto;
    height: auto;
    background: #526370;
    transform: none;
    padding-top: 0;
    z-index: 1000;
  }

  #drawer-nav ul {
    flex-direction: row;
    align-items: center;
    gap: 2rem;
    height: 80px;
    padding: 0 2rem;
    margin-left: 48px;
  }

  .site-header .logo-desktop {
    display: block;
  }

  .site-header .logo-mobile {
    display: none;
  }

  .site-header .logo {
    position: absolute;
    top: 0;
    left: 5rem;
    z-index: 2000;
    display: flex;
    align-items: flex-start;
  }

  .site-header .logo img:first-child {
    height: 52px;
    z-index: 1;
  }

  .site-header .logo img:nth-child(2) {
    position: absolute;
    top: 4px;
    left: 4px;
    height: 40px;
    z-index: 2;
    padding-top: 3px;
    padding-left: 0px;
    margin-left: 12px;
    margin-top: 1px;
  }

  .site-header {
    position: relative;
    padding-left: 220px;
  }

  .site-header .profile-links {
    display: flex !important;
    margin-left: auto;
    align-items: center;
    gap: 1.5rem;
  }
}

/* Header Font Reinforcement */
.site-header,
.site-header *,
#drawer-nav,
#drawer-nav * {
  font-family: "Roboto Slab", serif !important;
}

/* Remove underline only for header links */
.site-header a,
#drawer-nav a {
  text-decoration: none !important;
}

/* Add hover state (optional, keeps it accessible) */
.site-header a:hover,
#drawer-nav a:hover {
  text-decoration: none;
  text-underline-offset: 2px;
}


/* from your inline styles */
.footer-social-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  border: none;
}

.footer-social-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

/* from your original <style> */
footer a {
  color: #fff;
  transition: color 0.2s ease-in-out;
}

/* footer a:hover {
  color: #ddd;
} */

/* Mobile adjustments (unchanged) */
@media (max-width: 768px) {
  footer.footer {
    padding: 1.5rem 0;
    font-size: 0.9rem;
  }

  footer .d-flex.flex-md-row {
    flex-direction: column !important;
    gap: 0.75rem;
  }

  #accessibilityLinkContainer {
    text-align: center !important;
    margin-top: 1rem;
  }
}

/* Small mobile (icons smaller) */
@media (max-width: 480px) {
  footer.footer {
    padding: 1rem 0;
    font-size: 0.85rem;
  }

  /* keep your original selector for safety */
  footer .btn.btn-light.rounded-circle.p-2,
  .footer-social-btn {
    width: 36px !important;
    height: 36px !important;
  }

  footer .footer-social-icon {
    width: 30px !important;
    height: 30px !important;
  }
}

/* ================================
   Global
================================ */
body {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6 !important;
  color: #333 !important;
  background-color: #fafafa !important;
}

.container {
  width: 90% !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 0 1rem !important;
}

/* ================================
   Welcome Section
================================ */
.welcome {
  background: #f0f5f9 !important;
  text-align: center !important;
  padding: 2rem 1rem !important;
}

.welcome h2 {
  font-size: 2rem !important;
  color: #00447c !important;
  font-weight: 600 !important;
  margin: 0 !important;
}

/* ================================
   Cards Wrapper
================================ */
.cards-wrapper {
  background-color: #e0ded8 !important;
  padding: 2rem 0 !important;
}

.cards-wrapper .info {
  font-size: 20px !important;
  text-align: center !important;
  max-width: 900px !important;
  margin: 0 auto 2rem !important;
  line-height: 1.6 !important;
  color: #333 !important;
}

.card-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
  gap: 1.5rem !important;
}

/* ================================
   Card
================================ */
.card {
  background: #fff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transition: transform 0.2s ease !important;
  display: flex !important;
  flex-direction: column !important;
}

.card:hover {
  transform: translateY(-4px) !important;
}

.card img {
  width: 100% !important;
  height: 235px !important;
  display: block !important;
}

/* Card Body Layout */
.card-body {
  padding: 1.25rem !important;
  text-align: center !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  flex-grow: 1 !important;
}

/* Card headers */
.card-body h3 {
  margin: 0 0 0.75rem !important;
  font-size: 1.4rem !important;
  font-weight: 700 !important;
  color: #fff !important;
}

.card-body p {
  font-size: 1rem !important;
  margin: 0 0 1.5rem !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  color: #fff !important;
}

/* ================================
   Card Action Buttons (unique)
================================ */
.card-action-btn {
  display: inline-block !important;
  margin-top: auto !important;
  padding: 0.6rem 1rem !important;
  background: rgb(81, 98, 111) !important;
  color: #fff !important;
  border-radius: 99px !important;
  text-decoration: none !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  transition: background 0.2s ease !important;
  align-self: center !important;
}

.card-action-btn:hover {
  background: rgb(81, 98, 111) !important;
}

/* =========================================================
   Complaint Form Page
========================================================= */
:root {
  --chl-text: #3b3b3b;
  --chl-muted: #6f7881;
  --chl-border: #ced4da;
  --chl-link: #00447c;
  --chl-link-hover: #00325a;
  --chl-hero: #f6f7f8;
  --chl-intro-bg: #ffffff;
  --chl-btn: #00447c;
  --chl-btn-hover: #00325a;
}

.complaint-hero {
  background: var(--chl-hero) !important;
  border-bottom: 1px solid #e9ecef !important;
}

.complaint-hero .container {
  padding: 32px 0 20px 20px !important;
}

.complaint-title {
  font-family: "Roboto Slab", serif !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  margin: 0 0 12px 0 !important;
  color: #424a52 !important;
  text-align: left !important;
}

.complaint-subtitle {
  margin: 0 !important;
  color: var(--chl-muted) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

.complaint-intro {
  background: var(--chl-intro-bg) !important;
}

.complaint-intro .container {
  padding: 28px 0 !important;
}

.complaint-intro .intro-copy {
  max-width: 1100px !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #40464d !important;
  padding-left: 20px;
}

.complaint-form-section .container {
  padding: 16px 0 48px 0 !important;
}

/* Power Pages entity form tweaks commented */
/* [data-id="UpdMSPicklistControl_container"] {
  width: 65% !important;
}
.lookup {
    width: 65% !important;
} */
.crmEntityFormView input[type="text"],
.crmEntityFormView input[type="email"],
.crmEntityFormView input[type="tel"],
.crmEntityFormView textarea,
.crmEntityFormView select {
  border-radius: 6px !important;
  padding: 10px 12px !important;
  font-size: 14px !important;
  background: #fff !important;
  color: var(--chl-text) !important;
  font-family: 'Roboto Slab';
}

.crmEntityFormView .actions {
  margin: 20px 0 0 0 !important;
  padding: 24px !important;
}

.crmEntityFormView .actions input[type="submit"],
.crmEntityFormView .actions .btn-primary {
  background: var(--chl-btn) !important;
  color: #fff !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 12px 20px !important;
  border-radius: 24px !important;
  cursor: pointer !important;
  transition: background 0.2s ease !important;
}

.crmEntityFormView .actions input[type="submit"]:hover,
.crmEntityFormView .actions .btn-primary:hover {
  background: var(--chl-btn-hover) !important;
}

/* =========================================================
   Checkbox Groups
========================================================= */
#chl_makeananonymouscomplaint,
#chl_iswhistleblower {
  display: flex !important;
  gap: 1rem !important;
  align-items: center !important;
  /* margin-bottom: 10px !important; */
}

#chl_makeananonymouscomplaint label,
#chl_iswhistleblower label {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  margin: 0 !important;
  font-size: 0.95rem !important;
  line-height: 1.4 !important;
}

#chl_makeananonymouscomplaint input[type="radio"],
#chl_iswhistleblower input[type="radio"] {
  margin: 0 !important;
  flex-shrink: 0;
}

.buttonForFileUpload {
  margin-top: 10px !important;
}

.file-cell.cell {
  margin-left: 6px !important;
}

.file-cell.cell .table-info {
  color: #526370 !important;
}

/* =========================================================
   Power Pages / MSOS Dropdown & Form Fixes
========================================================= */

/* Remove ALL default arrows */
.msos-caret-button .msos-glyph {
  display: none !important;
}

.msos-caret-container {
  background: none !important;
  padding-right: 10px !important;
}

/* Single custom black arrow */
.msos-caret-button {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23000000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M2 5l6 6 6-6'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-size: 14px 14px !important;
  background-position: center !important;
  width: 20px !important;
  height: 20px !important;
  border: none !important;
  background-color: transparent !important;
  cursor: pointer !important;
}

/* Input cleanup */
.msos-input-container input {
  background: none !important;
  padding-right: 1rem !important;
}

/* Focus states */
.msos-input:focus,
.msos-inner-container:focus,
.msos-selecteditems-container:focus,
.msos-option:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Placeholder */
.msos-input::placeholder {
  color: #666 !important;
  opacity: 0.6 !important;
  font-style: normal !important;
}

/* =========================================================
   MSOS Multi-select Alignments
========================================================= */
.msos-option .msos-label {
  display: flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
}

.msos-option .msos-label-text {
  display: flex !important;
  align-items: center !important;
  line-height: 1.4 !important;
}

.msos-selected-display-item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 0.5rem !important;
}

.msos-selected-display-item-text {
  display: flex !important;
  align-items: center !important;
}

.msos-quick-delete {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
}

/* =========================================================
   Feedback Form Page
========================================================= */
.feedback-hero {
  background: var(--chl-hero) !important;
  border-bottom: 1px solid #e9ecef !important;
}

.feedback-hero .container {
  padding: 32px 0 20px 20px !important;
}

.feedback-title {
  font-family: "Roboto Slab", serif !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  margin: 0 0 12px 0 !important;
  color: #424a52 !important;
  text-align: left !important;
}

.feedback-subtitle {
  margin: 0 !important;
  color: var(--chl-muted) !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

.feedback-intro {
  background: var(--chl-intro-bg) !important;
}

.feedback-intro .container {
  padding: 28px 0 !important;
}

.feedback-intro .intro-copy {
  max-width: 1100px !important;
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
  color: #40464d !important;
  padding-left: 20px !important;
}

.feedback-form-section .container {
  padding: 16px 0 48px 0 !important;
}

body,
html {
  font-family: "Roboto Slab", serif !important;
}

footer a {
  text-decoration: none !important;
}

footer a:hover {
  text-decoration: none;
  text-underline-offset: 2px;
}

/* Remove underline in intro paragraphs (home/complaint/feedback) */
.complaint-intro a,
.feedback-intro a,
.cards-wrapper .info a {
  text-decoration: none !important;
}

.complaint-intro a:hover,
.feedback-intro a:hover,
.cards-wrapper .info a:hover {
  text-decoration: none;
  text-underline-offset: 2px;
}

#nav-list li.active>a {
  color: rgba(215, 219, 222, 1) !important;
}

#nav-list li:hover>a {
  color: rgba(215, 219, 222, 1) !important;
}

a.weblink[href="/profile/"] {
  display: none !important;
}

a.list-group-item[href*="ChangeEmail"],
a.list-group-item[href*="ChangeLogin"] {
  display: none !important;
}

#mainContent div>.actions {
  margin: 20px 0 0 0 !important;
  padding: 24px !important;
}

.crmEntityFormView .form-control {
  width: 100%
}

@media (max-width: 767px) {
  .mobile-logo {
    display: block !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    float: left !important;
  }
}

.card.mb-3 {
  display: none !important;
}

input#UpdateButton:disabled {
  background-color: #323130;
  border-color: #323130;
  border-radius: 2px;
}

td.clearfix.cell:empty {
  display: none;
}

#EntityFormPanel fieldset,
#EntityFormPanel .tab {
  margin-bottom: 0
}

/* Hide by default */
.mobile-only-link {
  display: none;
}

@media screen and (max-width: 1024px) {
  .mobile-only-link {
    display: list-item;
  }
}

.custom-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed !important;
  pointer-events: none;
}

.section-title>h3 {
  margin-left: 25px;
  font-size: 20px;
  color: #51626f;
  margin-top: 0px;
  font-weight: 700;
}
