/* ===================================
   TREVIOR.CSS - Complete Styles
   Extracted from all Twig templates
   =================================== */

/* Typography */
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

/* ===================================
   CSS Variables & Bootstrap Overrides
   =================================== */
:root,
[data-bs-theme=light] {
  /* Bootstrap primary colors override */
  --bs-primary: #0A3EFE !important;
  --bs-primary-rgb: 1, 44, 195 !important;
  --bs-primary-dark: #0A3EFE !important;
  --bs-primary-light: #E6ECFF !important;

  /* Other Bootstrap overrides */
  --bs-success: #92D050 !important;
  --bs-success-rgb: 146, 208, 80 !important;
  --bs-danger: #FA4100 !important;
  --bs-danger-rgb: 250, 65, 0 !important;
  --bs-warning: #FFB44C !important;
  --bs-warning-rgb: 255, 180, 76 !important;
  --bs-info: #0A3EFE !important;
  --bs-info-rgb: 10, 62, 254 !important;
  --bs-border-color: #b4b7bb !important;
  --bs-border-color-rgb: 180, 183, 187 !important;

  /* Custom Trevior variables */
  --trevior-blue: #0A3EFE;
  --trevior-blue-dark: #0125A7;
  --trevior-blue-light: #E3EBFB99;
  --trevior-blue-info: #E3EBFB;
  --trevior-orange: #E33C01;
  --trevior-orange-hover: #741E00;
  --trevior-gray: #6B7280;
  --trevior-gray-light: #F3F4F6;
  --trevior-success: #10B981;
  --trevior-danger: #EF4444;
  --trevior-warning: #F59E0B;
}

svg,
svg * {
  shape-rendering: crispEdges !important;
}

/* Optimize SVG rendering for mobile devices */
img[src$=".svg"],
img[src*=".svg"] {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
}

/* Ensure SVGs scale properly */
img.img-fluid[src$=".svg"],
img.img-fluid[src*=".svg"] {
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  -webkit-transform: translateZ(0);
}

/* SVG drop shadows - replaces removed SVG filters */
.dashboard-svg,
.alertes-svg,
img[src$="dashboard.svg"],
img[src$="dashboard-en.svg"],
img[src*="dashboard.svg"],
img[src*="dashboard-en.svg"],
img[src$="alertes.svg"],
img[src$="alertes-en.svg"],
img[src*="alertes.svg"],
img[src*="alertes-en.svg"],
img[src$="dashboard-test.svg"],
img[src$="dashboard-test-en.svg"],
img[src*="dashboard-test.svg"],
img[src*="dashboard-test-en.svg"] {
  filter: drop-shadow(0 4px 20px rgba(211, 224, 249, 0.5));
}

/* Map SVG - smaller drop shadow (stdDeviation was 6 instead of 20) */
.map-svg,
img[src$="map.svg"],
img[src*="map.svg"] {
  filter: drop-shadow(0 4px 6px rgba(211, 224, 249, 0.5));
}

@media (max-width: 767px) {

  .row,
  .container {
    --bs-gutter-x: 2rem;
  }
}

.w-md-auto {
  width: auto !important;
}

.card-title {
  color: var(--bs-primary);
}

#langDropdownMobile {
  position: absolute;
  right: 65px;
  top: 25px;
}

.navbar-toggler {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 1px solid #0A3EFE;
  color: #0A3EFE;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%230A3EFE' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-toggler:focus {
  background-color: #0125A7;
  color: #fff;
  box-shadow: none;

}

.navbar-toggler:focus .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===================================
   Base Styles
   =================================== */
body {
  font-family: 'Roboto', sans-serif;
  background-color: white;
  color: var(--trevior-blue-dark);
  padding-top: 0;
  font-weight: 400;
}

#main-content {
  padding-top: 110px;
}

@media (max-width: 768px) {
  #main-content {
    padding-top: 60px;
  }
}

a {
  color: var(--trevior-blue-dark);
}

.form-check-label {
  cursor: pointer;
}

/* Full-width background with constrained content */
.full-width-bg {
  width: 100%;
}

.accordion-button {
  color: #0A3EFE !important;
  font-weight: bold !important;
  font-size: 22px !important;
}

.accordion-header:hover,
.accordion-button:hover {
  background-color: #E3EBFB !important;
}

.accordion-button:focus {
  border: none !important;
  box-shadow: none !important;
}

.accordion-item {
  color: #0125A7 !important;
  border-color: #D3E0F9 !important;
}

.accordion-button::after {
  content: '+';
  background-image: none;
  color: #0A3EFE;
  font-weight: bold;
  font-size: 1.5rem;
  transform: none;
  transition: none;
  margin-right: 1rem;
  flex-shrink: 0;
}

.accordion-button:not(.collapsed) {
  background-color: #E3EBFB !important;
}

.accordion-button:not(.collapsed)::after {
  content: '−';
  padding-right: .5em;
  background-image: none;
  transform: none;
  transition: none;
}

.full-width-bg .row {
  max-width: 1140px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1400px) {
  .full-width-bg .row {
    max-width: 1320px;
    padding-left: 0px;
    padding-right: 0px;
  }
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--trevior-blue);
  font-weight: 700;
}

.bg-infoteritoire {
  background-color: var(--trevior-blue-info);
}

.no-list {
  list-style-type: none;
  padding-left: 0;
}

.no-list li {
  margin-top: 0;
}

.bigger {
  font-size: 22px;
  line-height: 30px;
}

@media (max-width: 767px) {
  .bigger {
    font-size: 18px;
    line-height: 22px;
  }
}

h1,
.h1 {
  font-size: 2.6rem;
  line-height: 100%;
}

@media (max-width: 767px) {

  h1,
  .h1 {
    font-size: 26px;
    line-height: 100%;
  }
}

.ico-square {
  width: 38px;
  height: 38px;
}

.ico-squarebig {
  width: 78px;
  height: 78px;
}

.price {
  font-size: 39px;
  font-weight: 700;
  margin-bottom: 5px;
  line-height: 40px;
}

.addition {
  font-size: 14px;
  font-weight: 400;
  text-align: center;
}

/* ===================================
   Bootstrap Class Overrides
   =================================== */

.mt-10 {
  margin-top: 6rem;
}

.mb-10 {
  margin-bottom: 6rem;
}

.text-primary {
  color: var(--trevior-blue) !important;
}

select,
.ts-wrapper {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-image: url("data:image/svg+xml,%3Csvg%20width%3D%2218%22%20height%3D%2212%22%20viewBox%3D%220%200%2018%2012%22%20fill%3D%22none%22%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%3E%3Cpath%20d%3D%22M15.7026%200L6.83352%209.09392L9.1309%2011.8028L18%202.7089L15.7026%200Z%22%20fill%3D%22%230A3EFE%22/%3E%3Cpath%20d%3D%22M2.29738%200.197179L11.1665%209.2911L8.8691%2012L0%202.90608L2.29738%200.197179Z%22%20fill%3D%22%230A3EFE%22/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 1rem center !important;
  background-size: 16px 10px !important;
  padding-right: 2.5rem !important;
}

.text-orange {
  color: var(--trevior-orange) !important;
}

.text-dark {
  color: var(--trevior-blue-dark) !important;
}

.text-muted {
  color: var(--trevior-blue-dark) !important;
}

.bg-primary {
  background-color: var(--trevior-blue) !important;
}

.alert-success {
  border-color: #D3E0F9;
  background-color: #E3EBFB;
  color: #0125A7
}

.bg-bleupale {
  background-color: #E3EBFB99;
  border-bottom: 1px solid #D3E0F9;
  border-top: 1px solid #D3E0F9;
}

.form-bleupale {
  border-radius: 8px;
  background-color: #E3EBFB99;
  border: 1px solid #D3E0F9;
  padding: 36px;
  box-shadow: 0px 4px 40px 0px #D3E0F9;
}

.hrbleupale {
  border-color: #E3EBFB;
  opacity: 1;
}

.alert-info {
  border-color: #D3E0F9;
  background-color: #E3EBFB;
  color: #0125A7;
}

/* .alert-danger {
  border-color: #D3E0F9;
  background-color: #E3EBFB;
  color: #0125A7;
} */

.asterix {
  color: #FA4100
}

.btn-primary {
  font-weight: 700;
  background-color: var(--trevior-blue) !important;
  border-color: var(--trevior-blue) !important;
}

.btn-primary:hover {
  background-color: var(--trevior-blue-dark) !important;
  border-color: var(--trevior-blue-dark) !important;
}

.btn-orange {
  background-color: var(--trevior-orange) !important;
  border-color: var(--trevior-orange) !important;
}

.btn-orange:hover {
  background-color: var(--trevior-orange-hover) !important;
  border-color: var(--trevior-orange-hover) !important;
}

.gap-20px {
  gap: 20px;
}

@media (max-width: 767px) {
  .gap-20px {
    gap: 0px;
  }

  .gap-20px span {
    line-height: 30px;
  }
}

.py-80px {
  padding-top: 80px;
  padding-bottom: 80px;
}

.btn-check:checked+.btn,
.btn.active,
.btn.show,
.btn:first-child:active,
:not(.btn-check)+.btn:active {
  background-color: var(--trevior-blue) !important;
  color: white !important;
}

.btn-gris {
  background-color: #E2E8F4;
  color: #0A3EFE;
  font-weight: bold;
  pointer-events: none;
  cursor: default;
}

@media (max-width: 767px) {
  .btn-gris {
    display: none;
  }
}

.btn-outline-primary {
  color: var(--trevior-blue) !important;
  border-color: var(--trevior-blue) !important;
}

.btn-outline-primary:hover {
  background-color: var(--trevior-blue) !important;
  border-color: var(--trevior-blue) !important;
  color: white !important;
}

.btn-check:checked+.btn-outline-primary {
  background-color: var(--trevior-blue);
  border-color: var(--trevior-blue);
  color: white;
}

.btn-outline-primary {
  border-color: #b4b7bb;
  color: #6c757d;
}

.btn-outline-primary:hover {
  background-color: #f8f9fa;
  border-color: var(--trevior-blue);
  color: var(--trevior-blue);
}

.text-danger {
  color: #ef4444 !important;
}

/* ===================================
   Navbar Styles
   =================================== */
.navbar-trevior {
  background-color: white;
  padding: 2em 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #D3E0F9;
}

@media (max-width: 768px) {
  .navbar-trevior {
    padding: 1em 0;
  }
}

.btn {
  border-radius: 8px;
}

.btn-group-frequency {
  border-radius: 8px;
  border: 1px solid #E3EBFB;
  margin-top: 40px
}

.btn-group-frequency .btn {
  border: none !important;
  border-radius: 8px;
  padding-left: 16px;
  padding-right: 16px;
}

.navbar-trevior.scrolled {
  background-color: white !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.navbar-trevior .navbar-brand {
  margin-right: 66px;
}

.navbar-trevior .navbar-brand-dashboard {
  margin-right: 24px;
}

.demo-input {
  height: 54px;
}

.demo-input,
.demo-btn {
  border-radius: 8px !important;
}

.demo-btn {
  z-index: 777 !important;
}

.navbar-trevior .navbar-brand img {
  max-height: 40px;
  width: auto;
  vertical-align: middle;
}

.popular {
  position: absolute;
  font-weight: 500;
  font-size: .8em;
  padding: 2px 8px;
  text-transform: uppercase;
  color: white;
  background-color: #FA4100;
  border-radius: 6px;
}

.brand-dot {
  color: var(--trevior-orange);
}

.navbar-trevior .navbar-nav {
  align-items: center;
  gap: .8em;
}

ul.no-space li {
  margin-top: 0;
}

.navbar-trevior .navbar-nav .nav-item {
  display: flex;
  align-items: center;
  margin-top: 0;
}

.nav-item .btn-light {
  border-radius: 8px;
  border-color: var(--trevior-blue) !important;
  color: var(--trevior-blue);
}

.navbar-trevior .navbar-nav .nav-link {
  color: var(--trevior-blue) !important;
  font-weight: 400;
  padding: 0.5rem 1rem;
  position: relative;
  display: flex;
  align-items: center;
  height: 40px;
  line-height: 1;
  border-radius: 8px;
  transition: all 300ms ease;
}

.navbar-trevior .navbar-nav .nav-link:hover {
  color: var(--trevior-blue) !important;
}

.flag {
  border-radius: 2px;
  width: 20px;
  height: 15px;
  display: inline-block;
  vertical-align: middle
}

/* Menu mobile : alignement à gauche */
@media (max-width: 991px) {
  .navbar-brand {
    padding: 0;
  }

  .navbar-trevior .navbar-nav {
    align-items: flex-start;
  }

  .navbar-trevior .navbar-nav .nav-item {
    width: 100%;
    justify-content: flex-start;
    border-bottom: 1px solid #D3E0F9;
  }

  .navbar-trevior .navbar-nav .nav-item.d-md-flex {
    border-bottom: none;
  }

  .navbar-trevior .navbar-nav .nav-link {
    justify-content: flex-start;
    width: 100%;
  }

  .navbar-trevior .navbar-collapse {
    text-align: left;
    padding-top: 1em;
  }

  .nav-item .btn-light,
  .nav-item .btn-outline-primary {
    width: 100%;
    text-align: left;
    justify-content: flex-start;
  }

  .dropdown-menu {
    position: absolute;
    top: 55px !important;
    right: 85px !important;
    width: auto;
  }
}

.dropdown-menu {
  border-color: #D3E0F9;
}

.dropdown-menu li:not(:last-child) {
  border-bottom: 1px solid #E3EBFB;
}

.navbar-trevior .navbar-nav .nav-link.active {
  color: white !important;
  background-color: var(--trevior-blue);
  font-weight: 700;
}

.navbar-trevior .btn-trevior-orange {
  background-color: var(--trevior-orange);
  color: white;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  border: none;
}

/* Navbar Dropdown */
.navbar-trevior .dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.navbar-trevior .dropdown-toggle::after {
  margin-left: 0.25rem;
}

/* Navbar Container Alignment */
.navbar-trevior .container {
  display: flex;
  align-items: center;
}

.navbar-trevior .navbar-collapse {
  align-items: center;
}

/* Navbar Login Button */
.navbar-trevior .btn-outline-primary {
  border: 1px solid var(--trevior-blue);
  color: var(--trevior-blue);
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: all 0.3s ease;
  height: 40px;
  display: flex;
  align-items: center;
  margin-left: 0.5rem;
}

@media (max-width: 728px) {
  .navbar-trevior .btn-outline-primary {
    margin-left: 0;
  }
}

.navbar-trevior .btn-outline-primary:hover {
  background-color: var(--trevior-blue);
  color: white;
  border-color: var(--trevior-blue);
}

/* Navbar Dropdown Items */
.navbar-trevior .dropdown-item {
  color: var(--trevior-blue);
  transition: all 0.3s ease;
}

.navbar-trevior .dropdown-item:hover {
  font-weight: bold;
  background-color: initial;
}

.navbar-trevior .dropdown-item.active,
.navbar-trevior .dropdown-item:active {
  background-color: var(--trevior-blue-light);
  color: var(--trevior-blue);
  font-weight: 700;
}

/* ===================================
   Hero Section Styles
   =================================== */
.hero-section {
  color: var(--trevior-blue);
  padding: 80px 0;
  position: relative;
  display: flex;
  align-items: center;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 24px 0;
  }
}

/* ===================================
   Card Styles
   =================================== */
.card {
  border-radius: 12px;
  border: 1px solid #D3E0F9;
  box-shadow: 0 4px 40px 0px var(--trevior-blue-light);
  color: var(--trevior-blue-dark);
}

.card-auth {
  background-color: var(--trevior-blue-light);
  border: 1px solid #D3E0F9;
  box-shadow: 0px 4px 40px 0px #D3E0F9;
  padding: 28px;
}

@media (max-width: 768px) {
  .card-auth {
    padding: 15px;
  }

  .card-body {
    padding: 0;
  }
}

.card-forfait-flex {
  display: flex !important;
  flex-direction: column !important;
  flex: 1 1 0 !important;
  min-height: 100%;
  position: relative;
}

/* ===================================
   Form Styles
   =================================== */
.form-control,
.form-select,
.form-check-input,
textarea.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="search"],
select {
  color: #0125A7;
  border-radius: 8px;
  border: 1px solid #D3E0F9;
  padding: 10px 12px;
  font-size: 1rem;
}

.ts-wrapper {
  min-height: 46px;
}

.form-select .ts-control:not(.rtl) {
  padding-right: 0 !important;
}

.form-select .ts-control {
  border: none;
  padding: 0;
  gap: 4px;
}

.ts-wrapper.multi .ts-control>div.item {
  background-color: var(--trevior-blue-light);
  color: var(--trevior-blue-dark);
  font-size: 0.875rem;
  border-radius: 8px;
  border: 1px solid #D3E0F9;
  margin: 0;
}

.ts-wrapper.multi .ts-control>div.clear-button {
  color: var(--trevior-blue);
  font-size: 30px;
  opacity: 1;
  margin: 0;
  padding: 0;
  padding-bottom: 10px;
}

.ts-wrapper.multi .ts-control>div.item .remove:hover {
  background-color: initial;
}

.form-select .ts-control input {
  font-size: 1rem;
  line-height: 1.5 !important;
  color: #0125A7;
}

.form-select .ts-control input::placeholder {
  font-size: 1rem;
  color: #0125A7;
}

.form-select .ts-dropdown {
  box-shadow: none;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #D3E0F9;
}

.form-select .ts-dropdown .option {
  padding: 10px 12px;
  color: var(--trevior-blue-dark);
  font-size: 1rem;
}

.form-select .ts-dropdown .active {
  background-color: var(--trevior-blue-light);
}



.form-control::placeholder,
.form-select::placeholder,
textarea.form-control::placeholder,
input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder,
input[type="tel"]::placeholder,
input[type="number"]::placeholder,
input[type="date"]::placeholder,
input[type="search"]::placeholder,
select::placeholder {
  color: #969fc0;
  opacity: 1;
}

.contact-label {
  color: var(--trevior-blue);
}

.form-check-input {
  padding: initial !important;
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="search"]:focus,
select:focus {
  color: var(--trevior-blue-dark);
  border-color: var(--trevior-blue);
  box-shadow: none;
}

.form-control:disabled,
.form-select:disabled {
  color: var(--trevior-blue-light);
  background-color: white;
  cursor: not-allowed;
}

.form-label,
label {
  color: var(--trevior-blue);
  font-weight: 700;
  font-size: 20px !important;
  line-height: 100%;
  margin-bottom: 0.5rem;
}

.form-check-input {
  border: 1px solid #b4b7bb;
}

.form-check-input:checked {
  background-color: var(--trevior-blue);
  border-color: var(--trevior-blue);
}

.btn-light {
  background-color: white;
  color: var(--trevior-blue);
  border-color: var(--trevior-blue-light) !important;
}

.btn-light:hover {
  background-color: white;
  font-weight: bold;
  color: var(--trevior-blue);
}

/* ===================================
   Button Styles
   =================================== */
.btn-trevior-primary {
  background-color: var(--trevior-blue);
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  transition: all 0.3s ease;
}

.btn-trevior-primary:hover {
  background-color: var(--trevior-blue-dark);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  color: white;
}

.btn-trevior-orange {
  background-color: #FA4100;
  color: white;
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 0.5rem;
  border: none;
  transition: all 0.3s ease;
}

.btn-trevior-orange:hover,
.btn-trevior-orange:active,
.btn.btn-trevior-orange:active:first-child:active {
  background-color: #E33C01 !important;
  color: white;
}

/* ===================================
   Feature & Benefits Sections
   =================================== */
.feature-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--trevior-blue-light) 0%, #E6F2FF 100%);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: var(--trevior-blue);
}

.benefit-card {
  padding: 2rem;
  border-radius: 1rem;
  background: white;
  text-align: center;
  transition: all 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Alert & Notification Styles
   =================================== */
.alert-card {
  border-left: 4px solid;
  padding: 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  background: white;
}

.alert-card.alert-high {
  border-left-color: var(--trevior-danger);
}

.alert-card.alert-medium {
  border-left-color: var(--trevior-warning);
}

.alert-card.alert-low {
  border-left-color: var(--trevior-success);
}

/* ===================================
   Dashboard Styles
   =================================== */
.dashboard-wrapper {
  margin-top: 108px;
}

.admin_title,
.user_title {
  margin-top: 24px;
}

@media (max-width: 768px) {

  .dashboard-wrapper {
    margin-top: 70px;
  }

  .admin_title,
  .user_title {
    margin-top: 0;
  }
}

.header-separator {
  width: 1px;
  background-color: #D3E0F9;
  margin: 0;
  align-self: stretch;
  border: none;
  opacity: 1;
}

.sidebar {
  background: white;
  min-height: calc(100vh - 76px);
  border-right: 1px solid #e5e7eb;
  padding: 2rem 0;
}

.sidebar .nav-link {
  color: var(--trevior-gray);
  padding: 0.75rem 1.5rem;
  margin-bottom: 0.25rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.sidebar .nav-link:hover {
  background: var(--trevior-gray-light);
  color: var(--trevior-blue);
}

.sidebar .nav-link.active {
  background: var(--trevior-blue-light);
  color: var(--trevior-blue);
  font-weight: 600;
}

.stat-card {
  background: white;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: var(--trevior-blue);
}

.stat-label {
  color: var(--trevior-gray);
  font-size: 0.875rem;
}

/* ===================================
   Table Styles
   =================================== */
.table th {
  color: var(--trevior-blue);
  border-bottom: 1px solid #D3E0F9;
  font-weight: 700;
}

.table {
  --bs-table-border-color: #D3E0F9;
}

.table td {
  color: var(--trevior-blue-dark);
}

.table td a {
  text-decoration: none;
}

.table td a:hover {
  text-decoration: underline;
}

.table tbody tr:hover {
  --bs-table-hover-bg: var(--trevior-blue-light);
  transition: background-color 0.3s ease;
}

.table .badge {
  min-width: 87px;
  --bs-badge-font-size: 1em;
  --bs-badge-padding-y: 0.625em;
  --bs-badge-padding-x: 1em;
}

.table .btn {
  --bs-btn-padding-y: 0.625rem;
  --bs-btn-line-height: 0.875em;
  font-size: 1rem;
}

.download-btn {
  width: 130px;
}

.regenerate-btn {
  height: 36px;
}



/* ===================================
   Selected Plan Badge
   =================================== */
.selected-plan-badge {
  font-size: 1.1rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.selected-plan-badge i {
  color: #28a745;
}

/* ===================================
   Footer Styles
   =================================== */
footer {
  background-color: #f2f2f2;
  color: var(--trevior-blue-dark);
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer h5 {
  font-weight: 600;
  margin-bottom: 1rem;
}

footer a {
  color: var(--trevior-blue-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--trevior-blue-dark);
  text-decoration: underline;
}

.footer-logo-img {
  max-width: 150px;
}

/* ===================================
   Animation Classes
   =================================== */
.basket-item {
  animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   Utility Classes
   =================================== */
.shadow-soft {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--trevior-blue) 0%, #0066FF 100%);
}

.bg-gradient-orange {
  background: linear-gradient(135deg, var(--trevior-orange) 0%, #FF6B00 100%);
}

.text-gradient {
  background: linear-gradient(135deg, var(--trevior-blue) 0%, #0066FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===================================
   Responsive Adjustments
   =================================== */
@media (max-width: 768px) {
  .hero-gradient {
    padding: 6rem 0 3rem;
  }

  .navbar-trevior .navbar-brand {
    font-size: 1.5rem;
  }

  .price-display {
    font-size: 2rem;
  }

  .sidebar {
    border-right: none;
    border-bottom: 1px solid #e5e7eb;
    min-height: auto;
    padding: 1rem 0;
  }
}

/* ===================================
   Specific Page Styles
   =================================== */

/* Auth Pages */
.auth-container {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--trevior-blue-light) 0%, #E6F2FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.auth-card {
  background: white;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 450px;
}

/* FAQ Page */
.faq-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 1.5rem 0;
}

.faq-question {
  font-weight: 600;
  color: var(--trevior-blue);
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--trevior-blue-dark);
}

/* Contact Page */
.contact-icon {
  font-size: 2rem;
  color: var(--trevior-blue);
  margin-bottom: 1rem;
}

/* ===================================
   Dashboard Styles (extracted from templates)
   =================================== */

/* Dashboard Override */
body.dashboard-page {
  padding-top: 0;
  background-color: #f8f9fa;
}

/* Dashboard Header */
.dashboard-header {
  background-color: white;
  border-bottom: 1px solid #dee2e6;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 50;
  padding: 0;
  box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
  background-color: white !important;
}

.sidebar-sticky {
  position: sticky;
  top: 72px;
  height: calc(100vh - 72px);
  padding-top: 1rem;
  overflow-x: hidden;
  overflow-y: auto;
}

.sidebar .nav-link {
  font-weight: 500;
  color: #333;
  padding: 0.5rem 1rem;
  margin: 0.25rem 1rem;
  border-radius: 0.375rem;
}

.sidebar .nav-link:hover {
  background-color: #f3f4f6;
}

.sidebar .nav-link.active {
  color: var(--trevior-blue);
  background-color: var(--trevior-blue-light);
}

.sidebar .nav-link i {
  width: 20px;
  margin-right: 8px;
}

/* Main content area */
main.dashboard-main {
  margin-left: 200px;
  padding-top: 0;
}

@media (max-width: 767.98px) {
  .sidebar {
    position: static;
    padding-top: 1rem;
  }

  main.dashboard-main {
    margin-left: 0;
  }
}

/* Stats Cards */
.stats-card {
  border: none;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  transition: transform 0.2s;
}

.stats-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* ===================================
   Alert List Styles
   =================================== */

.alerts-container {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.alerts-header {
  color: #ff6b35;
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.search-box,
.alerts-search-box {
  position: relative;
  margin-bottom: 30px;
}

.search-box input,
.alerts-search-box input {
  width: 100%;
  padding: 12px 45px 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 16px;
}

.search-box button,
.alerts-search-box button {
  position: absolute;
  right: 5px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #007bff;
  font-size: 20px;
  cursor: pointer;
  padding: 5px 10px;
}

.clear-search-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.clear-search-icon {
  font-size: 16px;
}

.search-btn {
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sector-section {
  margin-bottom: 35px;
}

.sector-title {
  color: #007bff;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

.alert-item,
.alert-list-item {
  display: flex;
  align-items: flex-start;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  border-left: 4px solid transparent;
  transition: all 0.3s ease;
}

.alert-item:last-child,
.alert-list-item:last-child {
  border-bottom: none;
}

.alert-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.alert-item.unread {
  border-left-color: var(--trevior-blue);
  background-color: #f8f9ff;
}

.alert-number {
  font-weight: 600;
  color: #333;
  min-width: 25px;
  margin-right: 10px;
}

.alert-date {
  font-weight: 600;
  color: #333;
  min-width: 110px;
  margin-right: 10px;
  font-size: 14px;
}

.alert-content {
  flex: 1;
  margin-right: 15px;
}

.alert-title,
.alert-title-link {
  color: #333;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 0;
  text-decoration: none;
}

.alert-title-link:hover {
  color: #007bff;
  text-decoration: underline;
}

.alert-impact {
  min-width: 70px;
  text-align: center;
  margin-right: 15px;
}

.impact-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
}

.impact-faible {
  color: #28a745;
  background: #e8f5e9;
}

.impact-moyen {
  color: #ff9800;
  background: #fff3e0;
}

.impact-eleve {
  color: #dc3545;
  background: #ffebee;
}

.pdf-button,
.pdf-btn {
  background: #1e40af;
  color: white !important;
  border: none;
  padding: 5px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
}

.pdf-button:hover,
.pdf-btn:hover {
  background: #1e3a8a;
  color: white !important;
  text-decoration: none;
}

.no-alerts,
.no-alerts-message {
  text-align: center;
  padding: 40px;
  color: #666;
  font-style: italic;
}

.priority-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-left: 10px;
  font-weight: 600;
}

.priority-critique {
  background: #dc3545;
  color: white;
}

.priority-urgente {
  background: #ffc107;
  color: #333;
}

/* Badge Styles for Impact Levels */
.bg-Élevé,
.bg-high {
  background-color: #dc3545 !important;
}

.bg-Moyen,
.bg-medium {
  background-color: #ffc107 !important;
  color: #000 !important;
}

.bg-Faible,
.bg-low {
  background-color: #28a745 !important;
}

/* Upload Zone */
.upload-zone {
  border: 2px dashed #dee2e6;
  border-radius: 0.375rem;
  background-color: #f8f9fa;
  transition: all 0.3s ease;
}

.upload-zone.dragover {
  border-color: var(--trevior-blue);
  background-color: #e7f1ff;
}

.upload-placeholder {
  cursor: pointer;
}

.file-preview {
  padding: 1rem;
}

/* ===================================
   Contact Page Styles
   =================================== */

.min-vh-50 {
  min-height: 50vh;
}

.contact-icon-wrapper {
  width: 48px;
  height: 48px;
  background: var(--trevior-blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-info-card {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  transition: transform 0.3s ease;
}

.contact-info-card:hover {
  transform: translateY(-2px);
}

.contact-info-card h5 {
  color: #333;
  font-size: 1.1rem;
  text-align: left !important;
}

.contact-info-card a,
.contact-info-card p {
  text-align: left !important;
}

.success-icon-wrapper {
  width: 120px;
  height: 120px;
  background: #28a745;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 3rem;
}

#successConfirmation .lead {
  max-width: 600px;
  margin: 0 auto;
}

/* ===================================
   Privacy & Terms Pages
   =================================== */

.content-wrapper {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  font-size: 1.05rem;
  line-height: 1.8;
}

.content-wrapper h2 {
  color: var(--trevior-blue);
  padding-top: 1rem;
  border-top: 1px solid #eee;
  margin-top: 2rem;
}

.content-wrapper h2:first-of-type {
  border-top: none;
  padding-top: 0;
}

.content-wrapper h3 {
  color: #333;
}

.content-wrapper ul {
  margin-bottom: 1.5rem;
}

.content-wrapper li {
  margin-bottom: 0.5rem;
}

/* ===================================
   Forfaits (Plans) Page Styles
   =================================== */

.forfait-card {
  transition: all 0.3s ease;
  border: 2px solid #e0e0e0;
}

.forfait-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--trevior-blue);
}

.price-display {
  color: var(--trevior-blue);
}


.comparison-table th {
  background-color: #f8f9fa;
  font-weight: 600;
}

.comparison-table td {
  vertical-align: middle;
}

.pricing-option {
  cursor: pointer;
  transition: all 0.3s ease;
}

.pricing-option:hover {
  border-color: var(--trevior-blue) !important;
  background-color: #f8f9fa;
}

.form-check-input:checked+.form-check-label .pricing-option {
  border-color: var(--trevior-blue) !important;
  background-color: #f0f7ff;
}

.form-check-label {
  font-size: 16px !important;
}

/* ===================================
   Home Page Styles
   =================================== */

.hero-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.hero-subtitle {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.95;
  color: white;
}

.feature-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

/* ===================================
   Responsive Styles for Dashboard
   =================================== */

@media (max-width: 768px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .search-box {
    min-width: 100%;
    margin-top: 1rem;
  }

  .alert-item .row>div {
    margin-bottom: 0.5rem;
  }
}

/* ===================================
   Alert Detail Page Styles
   =================================== */

.alert-detail-forfait-title {
  font-size: 42px;
  font-weight: 700;
}

.alert-detail-banner {
  background-color: #0040FF;
  color: white;
  border: none;
  min-height: 46px;
  font-size: 18px;
  padding: 8px 12px;
}

.alert-detail-banner-icon {
  font-size: 30px;
}

.alert-detail-banner-text {
  line-height: 1.2;
}

.alert-detail-main-title {
  font-size: 42px;
  font-weight: 700;
}

@media (max-width: 768px) {
  .alert-detail-main-title {
    font-size: 32px;
  }
}

.alert-detail-summary {
  font-size: 1.1rem;
}

.alert-detail-section-title {
  font-size: 1.5rem;
  font-weight: bold;
}

.alert-detail-action-icon {
  color: #0040FF;
}

.alert-detail-trends-list {
  padding-left: 1em;
}

.alert-detail-source-link {
  text-decoration: underline;
  color: #0040FF;
}

.alert-detail-disclaimer {
  font-size: 0.85rem;
  color: var(--trevior-blue-dark);
}

.alert-detail-impact-badge {
  padding: 0.5rem 1rem;
}

.alert-detail-info-table-container {
  width: 100%;
  max-width: 100%;
  border-radius: 8px;
  border: 1px #D3E0F9 solid;
  margin-bottom: 20px;
  overflow: hidden;
}

.alert-detail-info-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin-bottom: 0;
}

.alert-detail-info-table th {
  text-align: center;
  color: #0A3EFE;
  font-size: 16px;
  font-weight: 700;
  padding: 10px 8px;
  border-bottom: 1px #D3E0F9 solid;
  border-right: 1px #D3E0F9 solid;
  vertical-align: middle;
}

.alert-detail-info-table th:last-child {
  border-right: none;
}

.alert-detail-info-table td {
  text-align: center;
  color: #0125A7;
  font-size: 16px;
  font-weight: 400;
  padding: 10px 8px;
  border-right: 1px #D3E0F9 solid;
  vertical-align: middle;
  border-bottom: 0;
}

.alert-detail-info-table td:last-child {
  border-right: none;
}

.alert-detail-info-table .badge {
  --bs-badge-font-size: 1em;
  --bs-badge-padding-y: 0.5em;
  --bs-badge-padding-x: 1em;
}

@media (max-width: 767.98px) {

  .alert-detail-info-table,
  .alert-detail-info-table thead,
  .alert-detail-info-table tbody,
  .alert-detail-info-table th,
  .alert-detail-info-table td,
  .alert-detail-info-table tr {
    display: block;
  }

  .alert-detail-info-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }

  .alert-detail-info-table tr {
    /* border: 1px #D3E0F9 solid; */
    padding: 0;
  }

  .alert-detail-info-table td {
    border: none;
    border-bottom: 1px #D3E0F9 solid;
    position: relative;
    padding: 12px 12px 12px 40%;
    text-align: right;
  }

  .alert-detail-info-table td:last-child {
    border-bottom: none;
  }

  .alert-detail-info-table td:before {
    content: attr(data-label);
    position: absolute;
    left: 12px;
    width: 35%;
    padding-right: 10px;
    white-space: nowrap;
    font-weight: 700;
    color: #0A3EFE;
    text-align: left;
  }
}

.alert-detail-sidebar-container {
  width: 100%;
  height: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-end;
  gap: 30px;
  display: inline-flex;
}

.alert-detail-sidebar-buttons {
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  display: inline-flex;
}

.alert-detail-btn-print {
  width: 134px;
  height: 46px;
  padding: 12px 1px;
  background: #0A3EFE;
  border: none;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  text-align: center;
  color: white;
  font-size: 18px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.alert-detail-btn-print:hover {
  opacity: 0.9;
  color: white;
  text-decoration: none;
}

.alert-detail-btn-close {
  width: 55px;
  height: 46px;
  padding: 12px 1px;
  background: #FA4100;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  text-align: center;
  color: white;
  font-size: 22px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s;
}

.alert-detail-btn-close:hover {
  opacity: 0.9;
  color: white;
  text-decoration: none;
}

.alert-detail-sidebar-cards {
  align-self: stretch;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 18px;
  display: flex;
}

.alert-detail-sidebar-card {
  align-self: stretch;
  padding: 12px;
  border-radius: 8px;
  outline: 1px #D3E0F9 solid;
  outline-offset: -1px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  display: flex;
}

.alert-detail-sidebar-card-title {
  align-self: stretch;
  color: #0A3EFE;
  font-size: 22px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  word-wrap: break-word;
}

.alert-detail-sidebar-card-content {
  align-self: stretch;
  color: #0125A7;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  word-wrap: break-word;
}

.alert-detail-impact-card {
  padding: 12px;
  align-items: center;
}

.alert-detail-impact-list {
  width: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 4px;
  display: flex;
}

.alert-detail-impact-item {
  align-self: stretch;
  justify-content: flex-start;
  align-items: center;
  gap: 10px;
  display: inline-flex;
}

.alert-detail-impact-badge-high {
  width: 85px;
  height: 51px;
  padding: 14px 0;
  background: #FA4100;
  border-top-left-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  text-align: center;
  color: white;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  word-wrap: break-word;
  flex-shrink: 0;
}

.alert-detail-impact-badge-medium {
  width: 85px;
  height: 51px;
  padding: 14px 0;
  background: #FFB44C;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  text-align: center;
  color: white;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  word-wrap: break-word;
  flex-shrink: 0;
}

.alert-detail-impact-badge-low {
  width: 85px;
  height: 51px;
  padding: 14px 0;
  background: #92D050;
  border-bottom-left-radius: 8px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  display: flex;
  text-align: center;
  color: white;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  word-wrap: break-word;
  flex-shrink: 0;
}

.alert-detail-impact-text {
  color: #0125A7;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  word-wrap: break-word;
}

.alert-detail-cycle-content {
  width: 100%;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  display: flex;
}

.alert-detail-cycle-desc {
  width: 100%;
  color: #0125A7;
  font-size: 16px;
  font-family: Roboto, sans-serif;
  font-weight: 400;
  word-wrap: break-word;
  margin: 0;
}

.alert-detail-cycle-items {
  align-self: stretch;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.alert-detail-cycle-item {
  align-self: stretch;
  justify-content: flex-start;
  align-items: center;
  gap: 6px;
  display: inline-flex;
  align-items: baseline;
}

.alert-detail-cycle-letter {
  width: 18px;
  height: 18px;
  color: #0A3EFE;
  background: var(--trevior-blue-light);
  border-radius: 2px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 14px;
  font-family: Roboto, sans-serif;
  font-weight: 700;
  text-align: center;
}

/* Reminder months grid */
.reminder-months-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.reminder-month-btn {
  height: 100px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--trevior-blue-light);
  color: #C2D2F4;
  border: 1px solid #D3E0F9;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 700;
  cursor: default;
}

.reminder-month-btn.active {
  background-color: var(--trevior-blue);
  color: white;
  border: none;
}

@media print {

  .alert-detail-btn,
  .alert-detail-navbar,
  .alert-detail-sidebar,
  .alert-detail-card-header {
    display: none !important;
  }

  .alert-detail-main-content {
    width: 100% !important;
    max-width: 100% !important;
  }

  .alert-detail-container-fluid {
    padding: 0 !important;
  }
}

/* ===================================
   Profile Page Styles
   =================================== */

.profile-container {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.profile-header {
  margin-bottom: 2.5rem;
}

.profile-header-title {
  font-size: 36px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  color: var(--trevior-blue);
  line-height: 1.2;
}

.profile-header-subtitle {
  color: #6B7280;
  font-size: 0.95rem;
}

.profile-section {
  margin-bottom: 30px;
}

.profile-section-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.profile-form-label {
  color: var(--trevior-blue);
  margin-bottom: 10px;
}

.profile-form-control,
.profile-form-control.form-select {
  border: 1px solid #D3E0F9;
  border-radius: 8px;
  padding: 12px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  background-color: white;
  color: var(--trevior-blue-dark);
  height: 46px;
}

.profile-form-control:focus {
  border-color: #D3E0F9;
  box-shadow: none;
  outline: none;
}

.profile-form-control::placeholder {
  color: var(--trevior-blue-dark);
}

.profile-btn-primary {
  background-color: var(--trevior-blue);
  border-color: var(--trevior-blue);
  color: white;
  padding: 12px;
  font-weight: 700;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  height: 46px;
  text-align: center;
}

.profile-btn-primary:hover {
  background-color: var(--trevior-blue-dark);
  border-color: var(--trevior-blue-dark);
  color: white;
}

.profile-btn-warning {
  background-color: #FEA932;
  border-color: #FEA932;
  color: white;
  padding: 12px;
  font-weight: 700;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  height: 46px;
  text-align: center;
}

.profile-btn-warning:hover {
  background-color: #E6992A;
  border-color: #E6992A;
  color: white;
}

.profile-btn-danger {
  background-color: var(--trevior-orange);
  border-color: var(--trevior-orange);
  color: white;
  padding: 12px;
  font-weight: 700;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  height: 46px;
  text-align: center;
}

.profile-btn-danger:hover {
  background-color: var(--trevior-orange-hover);
  border-color: var(--trevior-orange-hover);
  color: white;
}

.profile-warning-box {
  background-color: var(--trevior-blue-light);
  border: 1px solid #D3E0F9;
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 20px;
}

.profile-warning-box i {
  color: var(--trevior-blue-dark);
  margin-right: 0;
  font-size: 1.1rem;
}

.profile-warning-box strong {
  color: var(--trevior-blue-dark);
  font-weight: 700;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

.profile-warning-text {
  color: var(--trevior-blue-dark);
  margin-top: 0;
  line-height: 1.2;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.profile-sidebar {
  background-color: white;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #D3E0F9;
}


.profile-sidebar-title {
  font-size: 20px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  color: var(--trevior-blue);
  line-height: 1.2;
}

.profile-sidebar-label {
  font-weight: 700;
  color: var(--trevior-blue-dark);
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
}

.profile-sidebar-value {
  color: var(--trevior-blue-dark);
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  line-height: 1.5;
}

.profile-sidebar-price {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  color: var(--trevior-blue-dark);
}

.profile-sidebar-link {
  color: var(--trevior-blue);
  text-decoration: underline;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.profile-sidebar-link:hover {
  text-decoration: underline;
  color: var(--trevior-blue);
}

.profile-sidebar-btn {
  width: 100%;
  height: 46px;
  padding: 12px;
  border-radius: 8px;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-align: center;
}


.profile-sidebar-btn.btn-outline-warning {
  border: 1px solid var(--trevior-orange);
  color: var(--trevior-orange);
  background-color: white;
}

.profile-sidebar-btn.btn-outline-warning:hover {
  background-color: var(--trevior-orange);
  color: white;
  border-color: var(--trevior-orange);
}

.profile-sidebar-badge {
  min-width: 100px;
  width: fit-content;
  height: 36px;
  font-size: 18px;
  line-height: 1.2;
}

.profile-input-group {
  position: relative;
}

.profile-password-toggle {
  background-color: white;
  border-color: #D3E0F9;
  color: var(--trevior-blue-dark);
  height: 46px;
  width: 46px;
}

.profile-password-toggle:hover {
  border-color: #D3E0F9;
  color: var(--trevior-blue-dark);
}

.profile-password-toggle:focus {
  box-shadow: none;
  background-color: white;
  border-color: #D3E0F9;
}

.btn.profile-password-toggle:active {
  border-color: #D3E0F9;
  background-color: white !important;
  color: var(--trevior-blue-dark) !important;
}

.profile-checkbox-label {
  color: var(--trevior-blue-dark);
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

.profile-checkbox-label a {
  color: var(--trevior-blue);
  text-decoration: none;
}

.profile-checkbox-label a:hover {
  text-decoration: underline;
}

.profile-container .form-check-input {
  width: 20px;
  height: 20px;
  background-color: white;
  border: 1px solid #D3E0F9;
}

.profile-container .form-check-input:checked {
  background-color: var(--trevior-blue);
  border-color: var(--trevior-blue);
}


.profile-container input[type="text"],
.profile-container input[type="email"],
.profile-container input[type="tel"],
.profile-container input[type="password"],
.profile-container select {
  color: var(--trevior-blue-dark);
  font-size: 16px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
}

/* ===================================
   KPI Card Styles
   =================================== */

.kpi-card {
  border: 1px solid #D3E0F9;
  border-radius: 8px;
  padding: 12px;
  background-color: white;
}

/* ===================================
   Regenerate PDF Button Spinner Styles
   =================================== */
.regenerate-spinner {
  display: none;
}

.regenerate-spinner.show {
  display: inline-block;
}

.regenerate-icon.hide {
  display: none;
}

/* ===================================
   Reminder Shield Icon
   =================================== */
.reminder-shield-icon {
  flex-shrink: 0;
}

/* ===================================
   Pagination Styles
   =================================== */
.pagination-container {
  width: 100%;
  height: 100%;
  padding-left: 44px;
  padding-right: 44px;
  position: relative;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 10px;
  display: inline-flex;
}

.pagination {
  display: flex;
  align-items: center;
  border-radius: 8px;
  border: 1px solid #D3E0F9;
  overflow: hidden;
}

.pagination .page-item {
  margin: 0;
}

.pagination .page-link {
  height: 46px;
  padding: 14px 16px;
  background: white;
  border-radius: 8px;
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  color: var(--trevior-blue);
  position: relative;
  overflow: hidden;
  box-shadow: none;
}

.pagination .page-link:hover:not(.disabled) {
  background: var(--trevior-blue);
  color: white;
}

.pagination .page-item.disabled .page-link {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.pagination .page-item.active .page-link {
  width: 47px;
  height: 46px;
  padding: 12px 2px;
  background: #E3EBFB;
  border-left: 1px solid #D3E0F9;
  border-right: 1px solid #D3E0F9;
  border-top: none;
  border-bottom: none;
  justify-content: center;
  align-items: center;
  color: var(--trevior-blue);
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  text-align: center;
  display: inline-flex;
}

.pagination .page-link i {
  color: var(--trevior-blue);
  font-size: 12px;
}

.pagination .page-link:focus {
  box-shadow: none;
  z-index: initial;
}

.pagination-select {
  width: auto;
  min-width: 60px;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--trevior-blue);
}

/* ===================================
   Year Filter Buttons
   =================================== */
.year-filter-btn {
  height: 46px;
  width: 80px;
  border-radius: 8px;
  border: 1px solid #E3EBFB;
  background: white;
  color: var(--trevior-blue);
  font-size: 18px;
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.year-filter-btn:hover {
  border-color: var(--trevior-blue);
  background: #f8f9fa;
}

.year-filter-btn.active {
  background: var(--trevior-blue);
  color: white;
  border-color: var(--trevior-blue);
  font-weight: 700;
}

.reminders-year-table {
  display: block;
}

.reminders-year-table.d-none {
  display: none !important;
}

/* ===================================
   Print Styles
   =================================== */
@media print {

  .navbar-trevior,
  footer,
  .btn,
  .sidebar {
    display: none !important;
  }

  body {
    padding-top: 0 !important;
  }
}