/* ===================================
   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-danger: #EF4444 !important;
    --bs-warning: #F59E0B !important;
    --bs-info: #3B82F6 !important;
    --bs-border-color: #b4b7bb !important;
    
    /* Custom Trevior variables */
    --trevior-blue: #0A3EFE;
    --trevior-blue-dark: #0125A7;
    --trevior-blue-light: #E3EBFB;
    --trevior-blue-info: #E3EBFB;
    --trevior-orange: #FA4100;
    --trevior-orange-hover: #D03600;
    --trevior-gray: #6B7280;
    --trevior-gray-light: #F3F4F6;
    --trevior-success: #10B981;
    --trevior-danger: #EF4444;
    --trevior-warning: #F59E0B;
}

/* ===================================
   Base Styles
   =================================== */
body {
    font-family: 'Roboto', sans-serif;
    background-color: white;
    color: var(--trevior-blue-dark);
    padding-top: 0;
    font-weight: 400;
}
a {
    color: var(--trevior-blue-dark);
}
.form-check-label {
    cursor: pointer;
}
/* Full-width background with constrained content */
.full-width-bg {
    width: 100%;
}

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

@media (min-width: 1400px) {
    .full-width-bg .row {
        max-width: 1320px;
    }
}
.h1, .h2, .h3, .h4, .h5, .h6, h1, h2, h3, h4, h5, h6 {
    color: var(--trevior-blue);
}
.bg-infoteritoire {
    background-color: var(--trevior-blue-info);
}
.no-list {
    list-style-type: none;
    padding-left: 0;
}
.bigger {
    font-size: 22px;
    font-weight: 700;
    line-height: 30px;
}
h1, .h1 {
    font-size: 2.6rem;
    line-height: 100%;
}
@media (max-width: 767px) {
    h1, .h1 {
        font-size: 2rem;
        line-height: 100%;
    }
}
.ico-square {
    width: 38px;
    height: 38px;
}
.ico-squarebig {
    width: 78px;
    height: 78px;
}
ul li {
    margin-top: .3em;
}
.price {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 40px;
}
.addition {
    font-size: 14px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 2em;
}
/* ===================================
   Bootstrap Class Overrides
   =================================== */
.text-primary {
    color: var(--trevior-blue) !important;
}

.text-orange {
    color: var(--trevior-orange) !important;
}
.text-dark {
    color: var(--trevior-blue-dark) !important;
}
.bg-primary {
    background-color: var(--trevior-blue) !important;
}
.bg-bleupale {
    background-color: var(--trevior-blue-light);
    border-bottom: 1px solid #D3E0F9;
    border-top: 1px solid #D3E0F9;
}
.form-bleupale {
    border-radius: 8px;
    background-color: var(--trevior-blue-light);
    border: 1px solid #D3E0F9;
}
.hrbleupale {
    background-color: #D3E0F9;
}
.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-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: #EEF3FD;
    color: #606671;
    font-weight: bold;
}
.btn-gris:hover {
    color: #EEF3FD;
    background-color: #606671;
}
.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;
    min-height: 70px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--trevior-blue-light);
}

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

.navbar-trevior .navbar-brand {
    font-size: 2rem;
    font-weight: 700;
    color: var(--trevior-blue) !important;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}
.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;
}

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

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

.navbar-trevior .navbar-nav .nav-item {
    display: flex;
    align-items: center;
}
.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: 500;
    padding: 0.5rem 1rem;
    position: relative;
    display: flex;
    align-items: center;
    height: 40px;
    line-height: 1;
}

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

/* Menu mobile : alignement à gauche */
@media (max-width: 991px) {
    .navbar-trevior .navbar-nav {
        align-items: flex-start;
    }

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

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

    .navbar-trevior .navbar-collapse {
        text-align: left;
    }

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

    .dropdown-menu {
        width: 100%;
    }
}

.navbar-trevior .navbar-nav .nav-link.active {
    color: white !important;
    background-color: var(--trevior-blue);
    border-radius: 8px;
    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-trevior .btn-trevior-orange:hover {
    background-color: var(--trevior-orange-hover);
}

/* 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: 2px 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;
}

.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 {
    background-color: var(--trevior-blue-light);
    color: var(--trevior-blue);
}

.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: 200px 0 150px;
    position: relative;
    display: flex;
    align-items: center;
}
@media (max-width: 768px) {
    .hero-section {
        padding: 150px 0 50px;
    }
}
/* ===================================
   Card Styles
   =================================== */
.card {
    border-radius: 12px;
    border: 1px solid #E3EBFB;
    box-shadow: 0 4px 40px 0px #D3E0F9;
    color: var(--trevior-blue-dark);
}
.card-auth {
    background-color: var(--trevior-blue-light);
    border-color: #D3E0F9;
}
.card-forfait-flex {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 1 0 !important;
    min-height: 100%;
}

/* ===================================
   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: var(--trevior-blue-dark);
    border-radius: 8px;
    border: 1px solid #D3E0F9;
    padding: 10px 12px;
    font-size: 1rem;
}
.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 {
    border-color: var(--trevior-blue);
    box-shadow: none;
}

.form-label {
    font-weight: 700;
    font-size: 22px !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: #D3E0F9 !important;
}
.btn-light:hover {
    background-color: #D3E0F9;
    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);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: white;
}

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

.btn-trevior-orange:hover {
    background-color: var(--trevior-orange-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    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
   =================================== */
.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: 2px solid var(--trevior-blue);
    font-weight: 600;
}

.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;
}

/* ===================================
   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);
}
footer .fas {
    color: var(--trevior-blue);
}
.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;
}

.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);
}

.badge.bg-popular {
    background-color: #ff6b6b;
    position: absolute;
    top: -10px;
    right: 10px;
}

.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;
}

/* ===================================
   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-title {
    font-size: 2rem;
    font-weight: bold;
}

.alert-detail-banner {
    background-color: #0040FF;
    color: white;
    border: none;
}

.alert-detail-banner-icon {
    font-size: 1.5rem;
}

.alert-detail-main-title {
    font-size: 1.75rem;
    font-weight: bold;
}

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

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

.alert-detail-section-content {
    line-height: 1.8;
}

.alert-detail-actions-list {
    line-height: 2;
}

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

.alert-detail-trends-list {
    line-height: 2;
    list-style: none;
    padding-left: 0;
}

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

.alert-detail-disclaimer {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.6;
}

.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;
}

.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;
}

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

.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-radius: 8px;
    outline: 1px #E3EBFB solid;
    outline-offset: -1px;
    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;
    outline: 1px #E3EBFB solid;
    outline-offset: -1px;
    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;
    line-height: 1.5;
}

.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;
    line-height: 1.5;
}

.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;
    line-height: 1.5;
}

.alert-detail-cycle-items {
    align-self: stretch;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 5px;
    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: 2rem 0;
}

.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.6;
    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-input-group {
    position: relative;
}

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

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

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

.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;
}

/* ===================================
   Print Styles
   =================================== */
@media print {
    .navbar-trevior,
    footer,
    .btn,
    .sidebar {
        display: none !important;
    }
    
    body {
        padding-top: 0 !important;
    }
}