:root {
  --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);


  --warning-color: #ffd93d;
  --danger-color: #ff123a;
  --dark-color: #2c3e50;
  --light-color: #ffffff;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --primary-dark: #2e49c2;
  --primary-light: #a1b2ff;
  --secondary-color: #212529;
  --success-color: #10b981;
  --error-color: #ef4444;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --text-muted: #9ca3af;
  --border-color: #e5e7eb;
  --bg-light: #f9fafb;
  --bg-card: #ffffff;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 25px rgba(0,0,0,0.15);

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  --border-radius-sm: 8px;
  --border-radius: 12px;

  --nb-h: 70px;
  --nb-w: 260px;
  --nb-bg: #fff;
  --nb-txt: #9c9fa6;
  --nb-link: #27367f;
  --nb-hover: #1b2658;
  --trans: .25s ease;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

body {
    margin: 0;
    font-family: var(--bs-body-font-family);
    font-size: var(--bs-body-font-size);
    font-weight: var(--bs-body-font-weight);
    line-height: var(--bs-body-line-height);
    color: var(--bs-body-color);
    text-align: var(--bs-body-text-align);
    background-color: var(--bs-body-bg);
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    overflow-x: clip !important;
}


@media (prefers-reduced-motion: reduce) {
    .form-control {
        transition: none;
    }
}

.form-control[type="file"] {
    overflow: hidden;
}

.form-control[type="file"]:not(:disabled):not([readonly]) {
    cursor: pointer;
}

.form-control::-webkit-date-and-time-value {
    height: 1em;
}

.form-control::placeholder {
    color: #c9c8c8;
    opacity: 1;
}

.form-control:disabled,
.form-control[readonly] {
    background-color: #e9ecef;
}

.form-control:hover:not(:disabled):not([readonly])::-webkit-file-upload-button {
    background-color: #dde0e3;
}

textarea.form-control {
    min-height: 2.875rem;
}

/* Animations */
.fade {
    transition: opacity 0.15s linear;
}

@media (prefers-reduced-motion: reduce) {
    .fade {
        transition: none;
    }
}

.placeholder {
    display: inline-block;
    min-height: 1em;
    vertical-align: middle;
    cursor: wait;
    background-color: currentColor;
    opacity: 0.5;
}

.placeholder.btn::before {
    display: inline-block;
    content: "";
}

/* Utility Classes */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.float-end {
    float: right !important;
}

.d-none {
    display: none !important;
}

.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.border {
    border: 1px solid #ebedf2 !important;
}

.border-0 {
    border: 0 !important;
}

/* Flexbox Utilities */
.flex-row {
    flex-direction: row !important;
}

.flex-column {
    flex-direction: column !important;
}

.justify-content-center {
    justify-content: center !important;
}

.justify-content-between,
.page-header {
    justify-content: space-between !important;
}

.align-items-start {
    align-items: flex-start !important;
}

.align-items-end {
    align-items: flex-end !important;
}

.align-items-center,
.page-header {
    align-items: center !important;
}

.align-items-stretch {
    align-items: stretch !important;
    padding: 22px !important;
}

.align-self-center {
    align-self: center !important;
}

/* Margin Utilities */
.m-0 {
    margin: 0 !important;
}

.m-auto {
    margin: auto !important;
}

.mt-5 {
    margin-top: 3rem !important;
}

.me-1 {
    margin-right: 0.25rem !important;
}

.me-auto,
.rtl .list-wrapper .remove {
    margin-right: auto !important;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.mb-1 {
    margin-bottom: 0.25rem !important;
}

.mb-2 {
    margin-bottom: 0.5rem !important;
}

.mb-3,
.template-demo .circle-progress-block {
    margin-bottom: 1rem !important;
}

.mb-4 {
    margin-bottom: 1.5rem !important;
}

.mb-5 {
    margin-bottom: 3rem !important;
}

.mb-auto {
    margin-bottom: auto !important;
}

/* Background Colors */

.bg-success {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-success-rgb), var(--bs-bg-opacity)) !important;
}

.bg-info {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-info-rgb), var(--bs-bg-opacity)) !important;
}

.bg-warning {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-warning-rgb), var(--bs-bg-opacity)) !important;
}

.bg-danger {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-danger-rgb), var(--bs-bg-opacity)) !important;
}
.bg-gradient {
    background-image: var(--bs-gradient) !important;
}

/* Keyframes */
@keyframes dropdownAnimation {
    from {
        opacity: 0;
        transform: translate3d(0, -30px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0px, 0);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

.fadeOut {
    animation-name: fadeOut;
}



.fadeInUp {
    animation-name: fadeInUp;
}

/* Reset Focus Styles */
[type="button"]:focus,
a:active,
a:focus,
a:visited,
button::-moz-focus-inner,
input[type="reset"]::-moz-focus-inner,
input[type="button"]::-moz-focus-inner,
input[type="submit"]::-moz-focus-inner,
input[type="file"] > input[type="button"]::-moz-focus-inner,
select::-moz-focus-inner,
input,
input:focus,
select:focus,
textarea:focus,
button:focus,
a:focus {
    outline: none;
    outline-width: 0;
    outline-color: transparent;
    box-shadow: none;
    outline-style: none;
    border-color: transparent;
}

textarea {
    resize: none;
    overflow-x: hidden;
}


address p {
    margin-bottom: 0;
}

/* Fullscreen */
*:-moz-full-screen,
*:-webkit-full-screen,
*:fullscreen *:-ms-fullscreen {
    overflow: auto;
}

/* Grid Utilities */
.grid-margin{
    margin-bottom: 2.5rem;
}

.stretch-card {
    display: flex;
    align-items: stretch;
    justify-content: stretch;
}

.stretch-card > .card {
    width: 100%;
    min-width: 100%;
}

/* Custom Text Utilities */
.text-gray,
.card .card-subtitle {
    color: #8c8c8c;
}

.text-small {
    font-size: 12px;
}


/* Font Weights */
.font-weight-light,
.font-weight-bold,
.font-weight-normal {
    font-family: 'Outfit', sans-serif;
}

/* Gradient Backgrounds */

.bg-gradient-success {
    background: linear-gradient(to right, #198ae3, #0dcaf0) !important;
    border: none !important;
}

.bg-gradient-info {
    background: linear-gradient(to right, #90caf9, #6904df 99%) !important;
    border: none !important;
}

.bg-gradient-danger {
    background: linear-gradient(to right, #191a19, #464a48) !important;
    border: none !important;
}

/* Dropdowns */
.dropdown .dropdown-menu {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    box-shadow: 0px 1px 15px 1px rgba(230, 234, 236, 0.35);
}

.dropdown .dropdown-menu .dropdown-item {
    font-size: 1rem;
    padding: 0.25rem 1.5rem;
}

.dropdown .dropdown-menu .dropdown-item:active {
    background: initial;
}

.dropdown .dropdown-menu .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #343434 !important;
}

/* Form Overrides */

.form-group.has-danger .form-control {
    border-color: #fe7c96;
}

.form-group .file-upload-default {
    visibility: hidden;
    position: absolute;
}

.form-group .file-upload-info {
    background: transparent;
}

/* Lists */
ul, ol, dl {
    padding-left: 1rem;
    font-size: 0.875rem;
}

ul li, ol li, dl li {
    line-height: 1.8;
}

/* Preview Lists */
.preview-list .preview-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.preview-list .preview-item:last-child {
    border-bottom: 0;
}

.preview-list .preview-item:hover {
    background: #e9ecef;
}

.preview-list .preview-item .form-check {
    margin-top: 8px;
    margin-right: 1rem;
}

.preview-list .preview-item .preview-thumbnail {
    color: white;
    position: relative;
}

.preview-list .preview-item .preview-thumbnail img,
.preview-list .preview-item .preview-thumbnail .preview-icon {
    width: 36px;
    height: 36px;
    border-radius: 100%;
}

.preview-list .preview-item .preview-thumbnail .preview-icon {
    padding: 6px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-list .preview-item .preview-thumbnail .preview-icon i {
    font-size: 1.125rem;
    margin: 0;
}

.preview-list .preview-item .preview-thumbnail .badge {
    border: 2px solid white;
    border-radius: 100%;
    bottom: 5px;
    display: block;
    height: 14px;
    left: -5px;
    padding: 0;
    position: absolute;
    width: 14px;
}

.preview-list .preview-item .preview-item-content {
    line-height: 1;
    padding-left: 15px;
}

.preview-list .preview-item .preview-item-content:first-child {
    padding-left: 0;
}

.preview-list .preview-item .preview-item-content p {
    margin-bottom: 10px;
}

.preview-list .preview-item .preview-item-content p .content-category {
    font-family: "source-sans-pro-semibold", sans-serif;
    padding-right: 15px;
    border-right: 1px solid #ebedf2;
}

.preview-list .preview-item .preview-item-content {
    padding-left: 0;
    padding-right: 1rem;
    margin-right: 0;
    margin-left: 10px;
}

.preview-list .preview-item .preview-actions {
    display: flex;
    flex-direction: row;
}


.page-body-wrapper {
    min-height: calc(100vh - 70px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    padding-left: 0;
    padding-right: 0;
}
.page-body-wrapper {
    width: 100%;
    min-height: 100vh;
}

.main-panel {
    -webkit-transition: width 0.25s ease, margin 0.25s ease;
    transition: width 0.25s ease, margin 0.25s ease;
    width: 100%;
    min-height: calc(100vh - 70px);
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    overflow-y: auto;
}

.content-wrapper {
    background: #f2edf3;
    padding: 2.75rem 1.25rem;
    width: 100%;
}

/*# sourceMappingURL=style.css.map */
.content-wrapper-customise {
    background: #f2edf3;
    padding: 2.75rem 1.25rem;
    width: 100%;
}
@media only screen and (max-width: 600px) {
    .content-wrapper-customise {
        background: #f2edf3;
        padding: 0.75rem 0rem;
        width: 100%;
    }
}

.speedometer {
    background: #0f0f0f;
    position: relative;

    border-radius: 50%;
}

.speedometer .speedNobe {
    position: absolute;
    width: 100%;
    z-index: 10;
    transition: all 1s;
}

.speedometer .speedPosition {
    position: absolute;
    text-align: center;
    line-height: 80px;
    font-family: 'Outfit', sans-serif;
    font-size: 30px;
    font-weight: bold;
    border-radius: 50%;

    background: #191919;
    color: #fff;
    box-shadow: 0 0 3px 3px black;
}

.speedometer .fonts {
    font-family: 'Outfit', sans-serif;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.speedometer .speedNobe div {
    background: #48a3cb;
    position: absolute;
    height: 100%;
    top: 0;
}

.speedometer .nob {
    transition: opacity 1s;
    position: absolute;
    opacity: 0.5;
}

.speedometer .nob {
    background: #eee;
    box-shadow: 0 0 2px 1px #eee;
}

.speedometer {
    color: #eee;
    text-align: left;
    overflow: hidden;
    opacity: 0.5;
    font-family: 'Outfit', sans-serif;
    font-size: 16px;
    font-weight: bold;
}

.speedometer .nob.bright {
    opacity: 1;
}

.speedometer .nob.danger {
    background: #ff113a;
    box-shadow: 0 0 2px 1px #ff113a;
}

.speedometer .bright {
    opacity: 1;
}

.speedometer .danger {
    color: #ff113a;
}

i#fullscreen-button {
    cursor: pointer;
}

#profileDropdownplus {
    overflow: hidden !important;
    /* width: 26% !important; */
    height: 100px;
}
@media only screen and (max-width: 768px) {
  #profileDropdownplus {
    overflow: hidden !important;
    height: 100px;
    margin-top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
  }
  .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown {
    position: absolute;
    font-size: 0.9rem;
    margin-top: 0px;
    padding: 0;
    left: 0;
    right: 0;
}
}

.vs-con-table {
    min-width: 800px;
}

#first-header {
    position: relative;
    height: 100vh;
}

.carousel-item {
    height: auto;
    min-height: 350px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}


.image-header {
    height: 64vh;
}

::placeholder {
    font-size: 10px;
    padding-left: 10px;
    font-style: italic;
}

.social .fa {
    color: grey;
    font-size: 22px;
    padding: 10px 15px;
    background: #3c3c3c;
}

a:hover {
    text-decoration: none;
    color: #f5f5f5 !important;
}

/* ==========================================================================
     Features 
     ========================================================================== */
.ftco-section {
    position: relative;
}
@media (max-width: 767.98px) {
    .ftco-section {
        padding: 6em 0;
    }
}
.prix_location {
    float: right;
}

.retour {
    color: #dc3545 !important;
}
.avance {
    color: #198754 !important;
}
.debut {
    color: #0d6efd !important;
}

.chip.text-white.me-0 {
    border-radius: 20px;
    padding: 0px 14px 0px 10px;
    background: #191a19 !important;
}

i.fa.fa-caret-down {
    color: #fff;
    font-size: 26px;
    transition: 0.4s;
}

.contact-wrap {
    background: #ffffff;
    border-radius: 15px;
}
a.btn{
    border: none;
    background: #000000;
}

h2.mb-3.services {
    background: #191a19;
    padding: 10px;
    border-radius: 33px;
    color: white;
    width: 59%;
    text-align: center;
    justify-content: center;
    margin: 0 auto;
}

button.btn {
    min-width: 40px;
    min-height: 40px;
}

@media (min-width: 1200px) {
    .container {
        max-width: 1200px !important;
    }
}
  
  .content {
    max-width: 50%;
  }
  
  .tagline {
    color: #302d2d;
    font-weight: bold;
    margin-bottom: 10px;
  }
  
  h1 {
    font-size: 2.5rem;
    color: #333;
  }

  .description {
    font-size: 1rem;
    color: #666;
    margin: 20px 0;
  }
  
  .services {
    list-style: none;
    padding: 0;
  }
  
  .services li {
    font-size: 1rem;
    color: #333;
    margin: 10px 0;
  }
  
  .image-container {
    max-width: 40%;
  }
  
  .image-container img {
    width: 100%;
    border-radius: 10px;
  }
  
  /* Responsive Design */
  @media (max-width: 1024px) {

  
    .content {
      max-width: 100%;
    }
  
    h1 {
      font-size: 2rem;
    }
  
    .description {
      font-size: 0.95rem;
    }
  
    .image-container {
      max-width: 80%;
      margin-top: 20px;
    }
  }
  

  
  @media (max-width: 480px) {
  
    h1 {
      font-size: 1.5rem;
    }
  
    .description {
      font-size: 0.85rem;
    }
  
    .services li {
      font-size: 0.9rem;
    }
  
    .image-container {
      max-width: 100%;
    }
  }

.card.card-img-holder .card-img-absolute {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
}
.contract-btn {
  padding: 10px 15px;
  border: 2px solid var(--light-gray);

  background: linear-gradient(135deg, #8741dd, #290292);
    color: white;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;

}

.signature-btn {
  padding: 10px 15px;
  border: 2px solid var(--light-gray);

  background: linear-gradient(135deg, #41ddc3, #06a8b7);
    color: white;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;

}
.accept-btn {
  padding: 10px 15px;
  border: 2px solid var(--light-gray);

  background: linear-gradient(135deg, #20dcc0, #03683a);
    color: white;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;

}
.refuse-btn {
  padding: 10px 15px;
  border: 2px solid var(--light-gray);

  background: linear-gradient(135deg, #dc2042, #920202);
    color: white;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;

}

.view-btn {
  padding: 10px 15px;
  border: 2px solid var(--light-gray);

  background: linear-gradient(135deg, #74b9ff, #0984e3);
    color: white;
  cursor: pointer;
  transition: var(--transition);
  font-size: 16px;

}

.view-btn:first-child {
  border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.view-btn:last-child {
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  border-left: none;
}

.view-btn.active {
  background: var(--secondary-color);
  color: #fff;
  border-color: var(--secondary-color);
}

.view-btn:hover:not(.active) {
  background: linear-gradient(135deg, #56a0e9, #087ad1);
    color: white;
}
 /*==========================================================================================*/
 
.signature-app {
    min-height: 100vh;
    background: #f7f7f7;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
}

/* Header glassmorphism */
.app-header {
    backdrop-filter: blur(20px);
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}


.header-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-circle {
    width: 48px;
    height: 48px;
    background: var(--primary-gradient, linear-gradient(135deg, #667eea, #764ba2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.logo-circle svg {
    width: 24px;
    height: 24px;
}

.header-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.header-text p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.reservation-badge {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background: var(--primary-gradient, linear-gradient(135deg, #667eea, #764ba2));
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    color: white;
    box-shadow: var(--shadow-lg);
}

.badge-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Main content */
.app-main {
    padding: 2rem;
}

.signature-container-modern {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}



.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.step.completed {
    color: var(--success);
}

.step.active {
    color: var(--primary);
    transform: scale(1.05);
}

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    border: 2px solid currentColor;
    background: currentColor;
    color: white;
    transition: all 0.3s ease;
}

.step:not(.completed):not(.active) .step-circle {
    background: transparent;
    color: currentColor;
}

.step-line {
    width: 60px;
    height: 2px;
    background: var(--border);
    border-radius: 1px;
}

.step span {
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #fff;
}

/* Carte de signature moderne */
.signature-card-modern {
    position: relative;
    background: var(--surface);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.6;
}

.card-content {
    padding: 2.5rem;
}

.signature-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    text-align: left;
}


.header-content-inner p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.5;
}

/* Zone de signature moderne */
.signature-zone {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: white;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.06);
    border: 2px solid var(--border);
    transition: all 0.3s ease;
    margin-bottom: 2rem;
}

.signature-zone:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.signature-zone.is-drawing {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.2);
}

.signature-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.02;
}

.grid-pattern {
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(var(--text-primary) 1px, transparent 1px),
        linear-gradient(90deg, var(--text-primary) 1px, transparent 1px);
    background-size: 20px 20px;
}

.signature-pad-modern {
    position: relative;
    z-index: 2;
    border-radius: 14px;
}

.signature-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
}

.placeholder-content {
    text-align: center;
    color: var(--text-secondary);
}

.pen-animation {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--primary);
    animation: float 3s ease-in-out infinite;
}

.pen-animation svg {
    width: 100%;
    height: 100%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }
}

.placeholder-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.placeholder-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.signature-line {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0.3;
}

/* Actions modernes */
.signature-actions-modern {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn-secondary-modern {
    background: var(--secondary);
    color: white;
}

.btn-secondary-modern:hover:not(:disabled) {
    background: #9fadbf;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 2;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.btn-primary-modern:hover .btn-shine {
    left: 100%;
}

/* Animation de chargement moderne */
.loading-dots {
    display: flex;
    gap: 4px;
}

.loading-dots span {
    width: 6px;
    height: 6px;
    background: currentColor;
    border-radius: 50%;
    animation: dot-pulse 1.4s infinite both;
}

.loading-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loading-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes dot-pulse {

    0%,
    80%,
    100% {
        transform: scale(0);
        opacity: 0.5;
    }

    40% {
        transform: scale(1);
        opacity: 1;
    }
}



.security-badge {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--surface);
    backdrop-filter: blur(20px);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    color: var(--success);
    font-size: 0.875rem;
    font-weight: 500;
    box-shadow: var(--shadow-lg);
}

.security-badge svg {
    width: 20px;
    height: 20px;
}

/* Responsive */

@media (max-width: 480px) {
    .header-text h1 {
        font-size: 1.25rem;
    }

    .progress-steps {
        flex-wrap: wrap;
        justify-content: center;
    }

    .signature-zone {
        height: 250px;
    }

    .header-content-inner h2 {
        font-size: 1.5rem;
    }

    .card-content {
        padding: 1rem;
    }
}

/* Animations subtiles */
@media (prefers-reduced-motion: no-preference) {
    .signature-card-modern {
        animation: slideUp 0.6s ease-out;
    }

    @keyframes slideUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

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

/* Mode sombre (optionnel) */
@media (prefers-color-scheme: dark) {
    :root {
        --surface: rgba(30, 41, 59, 0.95);
        --text-primary: #f1f5f9;
        --text-secondary: #94a3b8;
        --border: rgba(71, 85, 105, 0.3);
    }

    .signature-zone {
        background: #1e293b;
    }

    .grid-pattern {
        background-image:
            linear-gradient(rgba(148, 163, 184, 0.1) 1px, transparent 1px),
            linear-gradient(90deg, rgba(148, 163, 184, 0.1) 1px, transparent 1px);
    }
}

/* Header */

.header-stats {
  display: flex;
  gap: 1rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
      margin-right: 5px;
}

.stat-label {
  font-size: 0.875rem;
  opacity: 0.9;
}

/* Map Section */
.map-section {
  display: none;
  background: var(--card-background);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
}

.map-controls {
  display: flex;
  height: 500px;
}

.vehicle-info-panel {
  width: 350px;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: white;
  padding: 1.5rem;
}

.panel-header {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 2rem;
  text-align: center;
}

.speedometer-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.odometer-display {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.25rem;
  font-size: 2rem;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 2rem;
}

.odometer-display .unit {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 0.5rem;
}

.address-display {
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--border-radius-sm);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.history-btn {
  width: 100%;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius-sm);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease;
}

.history-btn:hover {
  transform: translateY(-2px);
}

.map-container {
  flex: 1;
  position: relative;
}

#map {
  width: 100%;
  height: 100%;
}

/* Main Content */


.content-card {
  background: var(--card-background);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* Search and Filters */
.search-filters-section {
  background: linear-gradient(135deg, #f8fafc, #e2e8f0);
  padding: 2rem;

}

.search-bar-container {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}


.search-input-group {
  display: flex;
  flex: 1;
  max-width: 500px;
}

.search-input {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}


/* Filter Chips */
.filter-chips {
  margin-bottom: 1.5rem;
}

.chip-group {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.filter-chip {
  position: relative;
  cursor: pointer;
}

.filter-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.chip-content {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.2s ease;
}

.filter-chip input:checked+.chip-content {
  background: #667eea;
  border-color: #667eea;
  color: white;
}

.chip-content:hover {
  border-color: #667eea;
  transform: translateY(-1px);
}


/* Vehicles Grid */
.vehicles-grid_car {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.vehicle-card {
  background: var(--card-background);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  position: relative;
  border: 1px solid var(--border-color);
}


.status-indicator_car {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  margin: 10px 30px;
}



.vehicle-image {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: transform 0.3s ease;
  border-radius: 12px;
}

.vehicle-card:hover .vehicle-image {
  transform: scale(1.05);
}

.vehicle-header {
  margin-bottom: 1rem;
}

.vehicle-agency {
    font-size: 0.875rem;
    background: #667eea;
    padding: 4px 11px;
    color: #fff;
    border-radius: 10px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.detail-label {
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.detail-value {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.875rem;
}

.detail-value.registration {
  font-family: 'Courier New', monospace;
  background: #f3f4f6;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
}

.availability-section {
  margin-bottom: 1rem;
  display: flex;
  justify-content: center;
      align-items: center;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 600;
}


/* Vehicle Actions */
.vehicle-actions {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.action-group {
  display: flex;
  gap: 0.5rem;
}

.info-btn {
  background: rgba(37, 99, 235, 0.1);
  color: #667eea;
}

.info-btn:hover {
  background: #667eea;
  color: white;
}

.report-btn {
  background: rgba(168, 85, 247, 0.1);
  color: #a855f7;
}

.report-btn:hover {
  background: #a855f7;
  color: white;
}

.location-btn {
  background: rgba(34, 197, 94, 0.1);
  color: var(--success-color);
}

.location-btn:hover {
  background: var(--success-color);
  color: white;
}

.maintenance-btn {
  background: rgba(245, 158, 11, 0.1);
  color: #f59e0b;
}

.maintenance-btn:hover {
  background: #f59e0b;
  color: white;
}


.delete-btn {
  background: rgba(220, 38, 38, 0.1);
  color: var(--danger-color);
}

.delete-btn:hover {
  background: var(--danger-color);
  color: white;
}

/* Pagination */
.pagination-container {
  padding: 2rem;
  display: flex;
  justify-content: center;
  background: #f8fafc;
  border-top: 1px solid var(--border-color);
}

.form-section {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.modern-form-group {
  margin-bottom: 1.5rem;
}

.form-navigation {
  text-align: center;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-color);
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .vehicles-grid_car {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  }
}


.vehicle-card {
  animation: fadeInUp 0.5s ease forwards;
}

.vehicle-card:nth-child(1) {
  animation-delay: 0.1s;
}

.vehicle-card:nth-child(2) {
  animation-delay: 0.2s;
}

.vehicle-card:nth-child(3) {
  animation-delay: 0.3s;
}

.vehicle-card:nth-child(4) {
  animation-delay: 0.4s;
}

.vehicle-card:nth-child(5) {
  animation-delay: 0.5s;
}

.vehicle-card:nth-child(6) {
  animation-delay: 0.6s;
}


@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #1d4ed8;
}


/* Print Styles */
@media print {
  .vehicle-dashboard {
    background: white;
  }
  .search-filters-section,
  .vehicle-actions,
  .pagination-container {
    display: none;
  }

  .vehicles-grid_car {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .vehicle-card {
    break-inside: avoid;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}

/* Focus Management for Accessibility */
.action-btn:focus,
.modern-input:focus,
.modern-select:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* File Upload Styles */
.file-upload-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.file-upload-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #f8fafc;
  border: 2px dashed var(--border-color);
  border-radius: var(--border-radius-sm);
  color: var(--text-secondary);
  font-size: 0.875rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  justify-content: center;
}

.file-upload-label:hover {
  border-color: #667eea;
  background: rgba(37, 99, 235, 0.05);
  color: #667eea;
}

.file-upload-input:focus+.file-upload-label {
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.section-subtitle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 1rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
}


/* VS Components Override */
.vs-select {
  border-radius: var(--border-radius-sm) !important;
}

.vs-input {
  border-radius: var(--border-radius-sm) !important;
}

/* Map Styles Enhancement */
.map-section.active {
  display: block !important;
  animation: slideDown 0.3s ease;
}

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

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

/* Enhanced Tooltips */
[data-toggle="tooltip"] {
  position: relative;
}

/* Status Indicators Enhancement */
.status-indicator_car .alert-badge {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Card Hover Effects */
.vehicle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, transparent, rgba(37, 99, 235, 0.02));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.vehicle-card:hover::before {
  opacity: 1;
}

/* Enhanced Search Bar */
.search-input-group {
  position: relative;
}

.search-input-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #667eea;
  transition: width 0.3s ease;
}



/* Enhanced Buttons */
.action-btn {
  position: relative;
  overflow: hidden;
}


.action-btn:hover::before {
  width: 100px;
  height: 100px;
}


/* Grid Enhancement */
@supports (display: grid) {
  .vehicles-grid_car {
    display: grid;
  }
}

@supports not (display: grid) {
  .vehicles-grid_car {
    display: flex;
    flex-wrap: wrap;
  }

  .vehicle-card {
    flex: 1 1 300px;
  }
}


/* Performance Optimizations */
.vehicle-card {
  will-change: transform;
}

.action-btn {
  will-change: transform, background-color;
}

/* Print Optimizations */
@media print {

  .vehicle-actions,
  .search-filters-section,
  .map-section {
    display: none !important;
  }

  .vehicle-card {
    break-inside: avoid-page;
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }

  .vehicles-grid_car {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
  }
}


.agences-container {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  background: #f8fafc;
  min-height: 100vh;
}

/* Header Styles */
.page-header {
  background: white;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}


.header-left {
  display: flex;
  align-items: center;
  gap: 16px;
}


.btn-icon {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-edit {
  background: #fef5e7;
  color: #d69e2e;
}

.btn-edit:hover {
  background: #fed7aa;
}

.btn-delete {
  background: #fed7d7;
  color: #e53e3e;
}

.btn-delete:hover {
  background: #fbb6ce;
}

/* Filters Section */
.filters-section {
  background: white;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  align-items: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.search-box {
  position: relative;
  flex: 1;
  min-width: 300px;
}
.search-box i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
}

.search-box input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.search-box input:focus {
  outline: none;
  border-color: #667eea;
}


/* Grid Layout */
.agences-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  gap: 24px;
}

/* Card Styles */
.agence-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s;
  border: 1px solid #e2e8f0;
}

.agence-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.contract-badge {
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
      margin-left: 10px;
}

.contract-standard {
  background: #e6fffa;
  color: #319795;
}

.contract-premium {
  background: #fef5e7;
  color: #d69e2e;
}

.contract-enterprise {
  background: #f0fff4;
  color: #38a169;
}

.card-content {
  padding: 20px;
}

.agence-name {
  font-size: 20px;
  font-weight: 700;
  color: #1a202c;
  margin: 0 0 16px 0;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
  color: #4a5568;
  font-size: 14px;
}

.contact-item i {
  width: 16px;
  color: #667eea;
}

.legal-info {
  border-top: 1px solid #e2e8f0;
  padding-top: 16px;
}

.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 12px;
}

.legal-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.legal-item .label {
  font-size: 11px;
  font-weight: 600;
  color: #a0aec0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.legal-item .value {
  font-size: 13px;
  font-weight: 600;
  color: #2d3748;
}

/* Form Styles */
.form-section {
  margin-bottom: 15px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px solid #e2e8f0;
}

.section-title i {
  color: #667eea;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
      margin-bottom: 1.5rem;
      cursor: pointer;
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: #4a5568;
}

.form-group input  {
  padding: 8px 5px;
  border: 1px #b4b3b6b5 solid;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
      cursor: auto;
}
.form-group select  {
      cursor: pointer;
          border: 1px #b4b3b6b5 solid;
}

.form-group input:focus {
  outline: none;
  border-color: #667eea;
}

/* Contract Selection */
.contract-selection {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.contract-option {
  border-radius: 12px;
  padding: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

.contract-option:hover {
  border-color: #cbd5e0;
}

.contract-option.active {
border-color: #667eea;
    box-shadow: 0 3px 8px #667eea;
}

.contract-image {
  position: relative;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
}

.contract-image img {
  width: 100%;

  object-fit: cover;
}

.contract-overlay {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 24px;
  height: 24px;
  background: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  opacity: 0;
  transition: opacity 0.2s;
}

.contract-option.active .contract-overlay {
  opacity: 1;
}

.contract-info h4 {
  font-size: 16px;
  font-weight: 600;
  color: #2d3748;
  margin: 0 0 4px 0;
}

.contract-info p {
  font-size: 14px;
  color: #718096;
  margin: 0;
}
/* Page Title Component */
.page-title {
  margin: 0;
  font-size: 1.5rem; /* 32px - largest size for better hierarchy */
  font-weight: 700;
  color: #454ec1; /* Fallback color */
}

/* Icon styling within page title */
.page-title .page-title-icon {
  display: inline-block;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  text-align: center;
}

.page-title .page-title-icon i {
  font-size: 0.9375rem; /* 15px */
  line-height: 36px;
}

/* Loading States */
.loading {
  opacity: 0.6;
  pointer-events: none;
}



.agence-card {
  animation: fadeInUp 0.3s ease-out;
}

/* Smooth transitions */
* {
  transition: all 0.2s ease;
}

/* Focus states for accessibility */
button:focus,
input:focus,
select:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}



/* Variables CSS pour cohérence */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.title-section {
  display: flex;
  align-items: center;
  gap: 1rem;
}


/* Cards de statistiques */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}


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


.stat-content h3 {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
}

.stat-content p {
  margin: 0.25rem 0 0 0;
  color: #e9e9e9;
  font-weight: 500;
}

/* Container des marques */
.brands-container {
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.brands-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--gray-200);
  background: var(--gray-50);
}

.brands-header h3 {
  margin: 0;
  color: var(--gray-900);
  font-weight: 600;
}

/* Vue Grille */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  padding: 2rem;
}

.brand-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
}

.brand-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.brand-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.brand-card:hover .brand-image img {
  transform: scale(1.05);
}

.brand-card:hover .brand-overlay {
  opacity: 1;
}

.brand-actions {
  display: flex;
  gap: 0.5rem;
}

.action-btn.edit {
  background: #667eea;
}

.action-btn.edit:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.action-btn.delete {
  background: var(--danger-color);
}

.action-btn.delete:hover {
  background: #dc2626;
  transform: scale(1.1);
}

.brand-info {
  padding: 1.5rem;
}

.brand-name {
  margin: 0 0 1rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray-900);
}

.brand-status {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}


/* Pagination moderne */
.pagination-modern {
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}


.btn-close-modern {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.btn-close-modern:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.form-group-modern {
  margin-bottom: 1.5rem;
}

.input-wrapper {
  position: relative;
}


.form-control-modern {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--border-radius);
  font-size: 1rem;
  transition: all 0.3s ease;
  background: var(--gray-50);
}

.form-control-modern:focus {
  outline: none;
  border-color: #667eea;
  background: white;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Upload de fichier moderne */
.file-upload-modern {
  margin-top: 0.5rem;
}

.upload-area {
  border: 2px dashed var(--gray-300);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  background: var(--gray-50);
  transition: all 0.3s ease;
  cursor: pointer;
}

.upload-area:hover {
  border-color: #667eea;
  background: rgba(99, 102, 241, 0.05);
}

.upload-icon {
  width: 60px;
  height: 60px;
  background: #667eea;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.upload-text h4 {
  margin: 0 0 0.5rem 0;
  color: var(--gray-700);
  font-weight: 600;
}

.upload-text p {
  margin: 0;
  color: var(--gray-500);
  font-size: 0.875rem;
}


.btn-secondary-modern {
  padding: 0.75rem 1.5rem;
  font-size: 11px;
  border: 2px solid var(--gray-300);
  background: white;
  color: var(--gray-700);
  border-radius: var(--border-radius);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-secondary-modern:hover {
  background: var(--gray-50);
  border-color: var(--gray-400);
}

.btn-primary-modern {
    padding: 0.75rem 1.5rem;
    border: none;
    background: linear-gradient(135deg, #667eea, #667eea);
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 12px;
}

.btn-primary-modern:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #fff;
}

/* Responsive Design */

@media (max-width: 480px) {

  
  .page-title {
    font-size: 1.5rem;
  }
  
  .title-section {
    flex-direction: column;
    text-align: center;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }
  
  .brand-card {
    max-width: 100%;
  }
  
  .brand-image {
    height: 180px;
  }
  
  .brand-info {
    padding: 1rem;
  }
  
  .brand-name {
    font-size: 1.125rem;
  }
  
  .brand-status {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat-card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .stat-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .stat-content h3 {
    font-size: 1.5rem;
  }
  
  .upload-icon {
    width: 50px;
    height: 50px;
    font-size: 1.25rem;
  }
  
  .upload-text h4 {
    font-size: 1rem;
  }
  
  .upload-text p {
    font-size: 0.8rem;
  }
}


.brand-card,
.stat-card {
  animation: fadeInUp 0.6s ease forwards;
}

.brand-card:nth-child(1) { animation-delay: 0.1s; }
.brand-card:nth-child(2) { animation-delay: 0.2s; }
.brand-card:nth-child(3) { animation-delay: 0.3s; }
.brand-card:nth-child(4) { animation-delay: 0.4s; }
.brand-card:nth-child(5) { animation-delay: 0.5s; }
.brand-card:nth-child(6) { animation-delay: 0.6s; }


@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Améliorations pour le toggle switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
  flex-shrink: 0;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--gray-300);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 24px;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

input:checked + .toggle-slider {
  background-color: var(--success-color);
  box-shadow: inset 0 2px 4px rgba(16, 185, 129, 0.2);
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

input:focus + .toggle-slider {
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Hover effects pour améliorer l'UX */
.toggle-slider:hover {
  transform: scale(1.05);
}

.toggle-slider:active {
  transform: scale(0.95);
}

/* Style pour le texte du statut */
.status-text {
  font-weight: 500;
  color: var(--gray-600);
  transition: all 0.3s ease;
  font-size: 0.875rem;
  white-space: nowrap;
}

.status-text.active {
  color: var(--success-color);
  font-weight: 600;
}

/* Amélioration de l'accessibilité */
.toggle-switch:focus-within .toggle-slider {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Animation au survol des cartes */
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

.brand-card:hover .toggle-switch {
  animation: pulse 1s ease-in-out;
}
/* Global Styles */
.content-wrapper-customise {
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
  padding: 2rem;
}

/* Enhanced Header */

.stats-overview {
  display: flex;
  gap: 1rem;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

/* Main Content */
.main-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 24px;

}

.search-section.mobile {
  grid-template-columns: 1fr;
  gap: 1rem;
}

.search-input-group {
  display: flex;
  gap: 0.5rem;
}

.search-input-wrapper {
  display: flex;
  gap: 0.5rem;
}

.search-input {
  flex: 1;
}


/* Filter Options */

.filter-title {
  color: var(--gray-700);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--gray-700);
}

.custom-checkbox input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-400);
  border-radius: 4px;
  margin-right: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark {
  background: var(--primary-gradient);
  border-color: transparent;
}

.custom-checkbox input[type="checkbox"]:checked+.checkmark::after {
  content: '✓';
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
}

/* Data Card */
.data-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

/* Enhanced Table Styles */
.table-container {
  overflow-x: auto;
}

.table-header {
  background: var(--gray-100);
  font-weight: 600;
  color: var(--gray-700);
  padding: 1rem;
  border-bottom: 2px solid var(--gray-200);

}

/* Table Cell Styles */
.reservation-number {
  display: flex;
  align-items: center;
}

.number-badge {
  background: var(--primary-gradient);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.client-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-info .phone-link {
  color: #667eea;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.contact-info .phone-link:hover {
  color: #667eea;
}

.vehicle-details {
  font-size: 0.8rem;
  color: var(--gray-600);
  margin-bottom: 1rem;
}

.date-start,
.date-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
}

.date-start i {
  color: var(--success-color);
}

.date-end i {
  color: var(--danger-color);
}

.location-tag {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 150px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.location-tag.delivery {
  background: rgba(78, 205, 196, 0.1);
  color: var(--success-color);
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.location-tag.return {
  background: rgba(255, 107, 157, 0.1);
  color: var(--danger-color);
  border: 1px solid rgba(255, 107, 157, 0.3);
}

.finance-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.advance,
.remaining {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.label {
  color: var(--gray-600);
  font-weight: 500;
}

.advance-amount {
  color: var(--success-color);
  font-weight: 600;
}

.remaining-amount {
  color: var(--warning-color);
  font-weight: 600;
}

.action-buttons {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 11px;
  justify-content: center;
}


.invoice-btn {
  background: rgba(78, 205, 196, 0.1);
  color: var(--success-color);
}

.invoice-btn:hover {
  background: var(--success-color);
  color: white;
  transform: translateY(-2px);
}

/* Enhanced Mobile Cards */
.mobile-grid {
  display: grid;
  gap: 1.5rem;
  padding: 1rem;
}

.location-card {
  background: var(--light-color);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

.location-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.reservation-badge {
  font-size: 1.1rem;
  font-weight: 700;
}

.card-actions {
  display: -webkit-inline-box;
  gap: 0.5rem;
  background: transparent;
}

.card-action-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.card-content {
  padding: 1.5rem;
}

.info-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--gray-200);
}

.info-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.info-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--gray-700);
}

.detail-item i {
  width: 16px;
  color: var(--gray-500);
}

.detail-item a {
  color: #667eea;
  text-decoration: none;
}

.location-type {
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-size: 0.8rem;
}

.location-type.delivery {
  background: rgba(78, 205, 196, 0.1);
  color: var(--success-color);
}

.location-type.return {
  background: rgba(255, 107, 157, 0.1);
  color: var(--danger-color);
}

.finance-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.finance-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.finance-item.advance {
  background: rgba(78, 205, 196, 0.1);
  border: 1px solid rgba(78, 205, 196, 0.3);
}

.finance-item.remaining {
  background: rgba(255, 211, 61, 0.1);
  border: 1px solid rgba(255, 211, 61, 0.3);
}

.finance-item .label {
  font-size: 0.8rem;
  color: var(--gray-600);
  font-weight: 500;
}

.finance-item .amount {
  font-size: 1.1rem;
  font-weight: 700;
}

.finance-item.advance .amount {
  color: var(--success-color);
}

.finance-item.remaining .amount {
  color: #e67e22;
}

/* Empty State */

.empty-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, var(--gray-300), var(--gray-400));
  border-radius: 50%;
    margin-bottom: 20px;
  opacity: 0.6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gray-600);
}

/* Loading State */
.loading-state {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.loading-state p {
  color: var(--gray-600);
  font-size: 1rem;
}

/* Enhanced Pagination */
.pagination-wrapper {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pagination-info {
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .content-wrapper-customise {
    padding: 1rem;
  }

}

@media (max-width: 480px) {
  .location-card {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .card-content {
    padding: 1rem;
  }

  .info-section {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
}


@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

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

.location-card {
  animation: fadeInUp 0.6s ease-out;
}

/* Custom scrollbar */
.table-container::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.table-container::-webkit-scrollbar-track {
  background: var(--gray-200);
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-thumb:hover {
  background: #5a6fd8;
}

/* Hover effects for better UX */
.custom-checkbox:hover .checkmark {
  border-color: #667eea;
}

.phone-link:hover {
  transform: translateX(3px);
}


.reservation-system {
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
  min-height: 100vh;
}

/* En-tête */
.header-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.title-container {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-title {
  font-size: 28px;
  font-weight: 700;
  color: #2d3748;
  margin: 0;
}

.subtitle {
  color: #718096;
  margin: 5px 0 0 0;
  font-size: 14px;
}

.stats-container {
  display: flex;
  gap: 20px;
}

.stat-available,.available {
  background: linear-gradient(45deg, #48bb78, #38a169);
  color: #fff;
}

.stat-reserved,.busy {
  background: linear-gradient(45deg, #f56565, #e53e3e);
  color: #fff;
}


.stat-label {
  font-size: 12px;
  opacity: 0.9;
}


.search-container {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.search-filters {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-select {
  border-radius: 12px;
  font-size: 14px;
  min-width: 150px;
  transition: all 0.3s ease;
  min-width: 200px;
}

.filter-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input-wrapper {
  position: relative;
  flex: 1;
  min-width: 300px;
}

.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #a0aec0;
}

.search-input {
  width: 100%;
  border-radius: 12px;
  font-size: 14px;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.clear-btn {
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #a0aec0;
  cursor: pointer;
  padding: 5px;
}
.search-btn {
  background: linear-gradient(45deg, #667eea, #764ba2);
  color: white;
  border: none;
  border-radius: 12px;
  padding: 9px 20px;
  min-width: 50px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.search-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.search-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}
/* Légende */
.legend-section {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  padding: 15px 25px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  align-items: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #4a5568;
}

.legend-color {
  width: 16px;
  height: 16px;
  border-radius: 4px;
}

.legend-color.available {
  background: #48bb78;
}

.legend-color.reserved {
  background: #f56565;
}

.legend-color.today {
  background: #ed8936;
  border: 2px solid #dd6b20;
}

/* Loading */
.loading-container {
  text-align: center;
  padding: 60px 20px;
  color: white;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* État vide */

/* Grille des véhicules */
.vehicle-grid {
  display: grid;
  gap: 25px;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
}

.vehicle-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.vehicle-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* En-tête du véhicule */
.vehicle-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f7fafc;
}

.vehicle-name {
    font-size: 14px;
    font-weight: 700;
    color: #764ba2;
}

.vehicle-plate {
    color: #718096;
    font-size: 13px;
}

.vehicle-status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
}

.vehicle-status.disponible {
  background: #c6f6d5;
  color: #22543d;
}

.vehicle-status.indisponible {
  background: #fed7d7;
  color: #742a2a;
}
.status-badge.available {

  color: var(--success-color);

}

.status-badge.unavailable {

  color: var(--danger-color);

}

/* Calendrier */
.calendar-container {
  margin-bottom: 20px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.calendar-header h4 {
  color: #2d3748;
  margin: 0;
  font-size: 18px;
}

.calendar-navigation {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-btn {
  background: #f7fafc;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 99;
}

.nav-btn:hover {
  background: #edf2f7;
  transform: scale(1.1);
}

.current-period {
  font-weight: 600;
  color: #4a5568;
  min-width: 200px;
  text-align: center;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 10px;
}

.month-label {
  font-size: 10px;
  color: #a0aec0;
  text-transform: uppercase;
  font-weight: 600;
}

.date-number {
  font-size: 16px;
  font-weight: 700;
  color: #2d3748;
  margin: 2px 0;
}

.day-label {
  font-size: 10px;
  color: #718096;
  text-transform: uppercase;
}

.reservation-status {
    width: 35px;
    height: 35px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    margin: 5px;
}

.reservation-status.available {
  background: #48bb78;
  color: white;
}

.reservation-status.reserved {
  background: #f56565;
  color: white;
}

.reservation-status.today {
  border: 3px solid #ed8936;
  box-shadow: 0 0 0 2px rgba(237, 137, 54, 0.2);
}

.reservation-status:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Actions du véhicule */
.vehicle-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.action-btn {
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.action-btn.primary {
  background: #667eea;
  color: white;
}

.action-btn.secondary {
  background: #718096;
  color: white;
}

.action-btn.danger {
  background: #f56565;
  color: white;
}

.action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Pagination */
.pagination-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 30px;
  padding: 20px 25px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}

.page-btn {
  background: #f7fafc;
  border: none;
  width: 35px;
  height: 35px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.page-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-btn:not(:disabled):hover {
  background: #edf2f7;
  transform: scale(1.1);
}

.page-numbers {
  display: flex;
  gap: 5px;
}

.page-number {
  width: 35px;
  height: 35px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.page-number.active {
  background: #667eea;
  color: white;
}

.page-number:not(.active):hover {
  background: #edf2f7;
}

/* Responsive */

@media (max-width: 360px) {
  .main-title {
    font-size: 20px;
  }
  
  .calendar-grid {
    grid-template-columns: repeat(3, 1fr) !important; /* Encore moins de colonnes */
    gap: 5px;
  }
  
  .stat-card {
    padding: 10px;
    min-width: 80px;
  }
  
  .stat-number {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .main-title {
    font-size: 24px;
  }

  .stat-card {
    padding: 15px;
    min-width: 100px;
  }
  
  .stat-number {
    font-size: 20px;
  }
  
  .calendar-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .vehicle-actions {
    flex-direction: column;
  }
  
  .action-btn {
    flex: none;
  }
}


/* Animations personnalisées */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.vehicle-card {
  animation: fadeInUp 0.6s ease-out;
}

.vehicle-card:nth-child(odd) {
  animation-delay: 0.1s;
}

.vehicle-card:nth-child(even) {
  animation-delay: 0.2s;
}

/* Effet de survol avancé pour les dates */
.reservation-status {
  position: relative;
  overflow: hidden;
}

.reservation-status::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transition: all 0.3s ease;
  transform: translate(-50%, -50%);
}

.reservation-status:hover::before {
  width: 100%;
  height: 100%;
}

/* Amélioration de l'accessibilité */
.reservation-status:focus {
  outline: 3px solid #667eea;
  outline-offset: 2px;
}


/* Thème sombre (optionnel) */
@media (prefers-color-scheme: dark) {
  .reservation-system {
    background: linear-gradient(135deg, #1a202c 0%, #2d3748 100%);
  }
  
  .header-section,
  .search-container,
  .legend-section,
  .vehicle-card,
  .pagination-section {
    background: rgba(26, 32, 44, 0.95);
    color: #e2e8f0;
  }
  .main-title {
    color: #e2e8f0;
  }
  
  .filter-select,
  .search-input {
    background: #2d3748;
    border-color: #4a5568;
    color: #e2e8f0;
  }
  
}
.reservation-card {
  background: linear-gradient(135deg, #ffffff, #f7f8fa);
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.card {
  background: #fff;
}

i.fa.fa-plus,
i.fa.fa-minus {
  cursor: pointer;
}

#option {
  display: none;
}

#option1 {
  display: none;
}

#option2 {
  display: none;
}

.btn_inc_dec,
.btn_inc_dec1,
.btn_inc_dec2 {
  width: 2%;
  display: inline;
  justify-content: center;
  border-radius: 36px;
  padding: 6px 12px;
}

@media(max-width: 992px) {
  form {
    width: 80%;
  }
}

@media(max-width: 575px) {
  form {
    width: 100%;
  }
}

.signature {
  border: 3px solid #191a19;
  border-radius: 10px;
}
/* Component Overrides */
.badge {
    border-radius: 0.125rem;
    font-size: 11px;
    font-weight: initial;
    line-height: 1;
    padding: 0.375rem 0.5625rem;
    font-family: 'Outfit', sans-serif;
}

.badge.badge-pill {
    border-radius: 10rem;
}

/* Badge Variations */
.badge-primary {
    border: 1px solid #052b4a;
    background: #052b4a;
    color: #ffffff;
}

.badge-secondary {
    border: 1px solid #c3bdbd;
    background: #c3bdbd;
    color: #ffffff;
}

.badge-success,
.preview-list .preview-item .preview-thumbnail .badge.badge-online {
    border: 1px solid #1bcfb4;
    background: #1bcfb4;
    color: #ffffff;
}

.badge-info,
.preview-list .preview-item .preview-thumbnail .badge.badge-offline {
    border: 1px solid #198ae3;
    background: #198ae3;
    color: #ffffff;
}

.badge-warning,
.preview-list .preview-item .preview-thumbnail .badge.badge-busy {
    border: 1px solid #fed713;
    background: #fed713;
    color: #ffffff;
}

.badge-danger {
    border: 1px solid #fe7c96;
    background: #fe7c96;
    color: #ffffff;
}

.badge-light {
    border: 1px solid #f8f9fa;
    background: #f8f9fa;
    color: #ffffff;
}

.badge-dark {
    border: 1px solid #3e4b5b;
    background: #3e4b5b;
    color: #ffffff;
}

/* Badge Gradient Variations */

.badge-gradient-success {
    background: linear-gradient(to right, #84d9d2, #07cdae);
    color: #ffffff;
}
.badge-gradient-confirme {
    background: linear-gradient(to right, #667eea, #007bff);
    color: #ffffff;
}

.badge-gradient-info {
    background: linear-gradient(to right, #90caf9, #047edf 99%);
    color: #ffffff;
}

.badge-gradient-warning {
    background: linear-gradient(to right, #f6e384, #ffd500);
    color: #ffffff;
}

.badge-gradient-danger {
    background: linear-gradient(to right, #ffbf96, #fe7096);
    color: #ffffff;
}
.badge-gradient-confirme,
.badge-gradient-success,
.badge-gradient-info,
.badge-gradient-warning,
.badge-gradient-danger
 {
  padding: 5px 17px;
  border-radius: 9px;
}

.card .card-title {
  color: #ffffff;
  margin-bottom: 0.75rem;
  text-transform: capitalize;
  font-family: 'Outfit', sans-serif;
  padding: 7px 0px;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
}

/* Style commun */
.chercher {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.search_bar {
  display: flex;
  gap: 10px;
      width: 100%;

    justify-content: flex-end;

}

.search_bar button i {
  margin-right: 8px;
}

.classification {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}



.classification .checkbox {
  margin-right: 10px;
}

/* Style spécifique pour la version mobile */
@media (max-width: 768px) {
  .chercher {
    flex-direction: column;
    gap: 15px;
  }


  .btn-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
  }

  .btn-container button {
    width: 100%;
    /* Le bouton prend toute la largeur */
  }

  .classification {
    gap: 10px;
  }
    .reservation-system {
    padding: 15px;
  }
  
  .header-section {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
  
  .stats-container {
    justify-content: center;
  }
  
  .search-filters {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-input-wrapper {
    min-width: auto;
  }
  
  .filter-select {
    min-width: auto;
  }
  
  .vehicle-grid {
    grid-template-columns: 1fr;
  }
  
  .vehicle-card {
    padding: 20px;
  }
  
  .vehicle-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }
  
  .calendar-header {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .calendar-navigation {
    justify-content: center;
  }
  
  .calendar-grid {
    grid-template-columns: repeat(auto-fill, minmax(50px, 1fr));
    gap: 8px;
  }
  
  .date-cell {
    font-size: 12px;
  }
  
  .date-number {
    font-size: 14px !important;
  }
  
  .reservation-status {
    width: 30px;
    height: 30px;
    font-size: 12px;
  }
  
  .vehicle-actions {
    justify-content: center;
  }
  
  .action-btn {
    min-width: 0;
    justify-content: center;
  }
  
  .pagination-section {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .legend-section {
    flex-wrap: wrap;
    justify-content: center;
  }
    .content-wrapper-customise {
    padding: 0.5rem;
  }

  .page-header {
    margin-bottom: 1rem;
  }


  .search-section {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  .pagination-wrapper {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .finance-details {
    grid-template-columns: 1fr;
  }
    .header-content {
    flex-direction: column;
    text-align: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .brands-grid {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  
  .brands-header {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }
 
  
  .btn-secondary-modern{
    justify-content: center;
  }
    .agences-container {
    padding: 12px;
  }
  
  .page-header {
    padding: 16px;
  }
  
  .page-title {
    font-size: 24px;
  }
  
  .filters-section {
    flex-direction: column;
    gap: 12px;
  }
  
  .search-box {
    max-width: none;
  }
  
  .filter-select {
    width: 100%;
  }
  
  .agences-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .contract-selection {
    grid-template-columns: 1fr;
  }
  
  .legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .card-actions {
    gap: 6px;
  }
  
  .btn-icon {
    width: 32px;
    height: 32px;
  }
   .vehicle-dashboard {
    padding: 0.5rem;
  }

  .page-title {
    font-size: 1.5rem;
  }

  .search-bar-container {
    flex-direction: column;
  }

  .filter-select {
    min-width: 100%;
  }

  .vehicles-grid_car {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1rem;
  }

  .map-controls {
    flex-direction: column;
    height: auto;
  }

  .vehicle-info-panel {
    width: 100%;
  }

  .map-container {
    height: 400px;
  }

  .vehicle-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .action-group {
    justify-content: center;
  }
     .app-main {
        padding: 1rem;
    }

    .header-content {
        padding: 1rem;
    }

    .header-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .logo-section {
        flex-direction: column;
        text-align: center;
    }

    .progress-steps {
        padding: 1rem;
        gap: 0.5rem;
    }

    .step span {
        font-size: 0.625rem;
    }

    .step-line {
        width: 30px;
    }

    .signature-header {
        flex-direction: column;
        text-align: center;
    }

    .card-content {
        padding: 1.5rem;
    }

    .signature-zone {
        height: 280px;
    }

    .signature-actions-modern {
        flex-direction: column;
    }

    .signature-line {
        width: 200px;
    }
       h1 {
      font-size: 1.8rem;
    }
  
    .description {
      font-size: 0.9rem;
    }
      .modal-dialog {
    margin: 1rem;
  }
  

  .modal-body {
    padding: 1rem;
  }
  
  .modal-footer {
    gap: 0.5rem;
  }
    .container {
    padding: 0 15px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .progress-indicator {
    padding: 25px 20px;
  }
  
  .steps-container {
    flex-direction: column;
    gap: 20px;
  }
  
  .step {
    flex-direction: row;
    gap: 15px;
  }
  
  .step-circle {
    margin-bottom: 0;
    width: 40px;
    height: 40px;
  }
  
  .section-header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
    padding: 25px 20px;
  }
  
  .section-icon {
    margin-right: 0;
  }
    .desktop-view {
    display: none;
  }
  
  .mobile-view {
    display: block;
  }

  .page-title {
    font-size: 1.5rem;
  }
  
  .btn-text {
    display: none;
  }
  
  .add-client-btn {
    padding: 0.75rem;
    border-radius: 50%;
    width: 50px;
    height: 50px;
  }
  
  .contact-row {
    grid-template-columns: 1fr;
  }
  
  
  .form-section {
    padding: 1rem;
  }

}

/* Style spécifique pour la version desktop */
@media (min-width: 769px) {
  .chercher {
    flex-direction: row;
    justify-content: space-between;
  }

  .search_bar {
    flex-direction: row;
    gap: 20px;
  }

  .btn-container {
    display: flex;
    justify-content: flex-end;
  }

  .btn-container button {
    width: auto;
  }

  .classification {
    display: flex;
    gap: 20px;
  }

  .classification .form-check {
    flex-direction: row;
  }
}

.form-group .row {
  align-items: center;
  margin-bottom: 0;
}

/* Inputs avec design moderne */
.form-control,
.form-select {
  border-radius: 12px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(5px);
}

.form-control:focus,
.form-select:focus {
  background: white;
  outline: none;
    border-color: #6c5ce7;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.form-control:hover,
.form-select:hover {
  background: white;
}

/* Labels avec indicateur obligatoire */
.text-danger {
  color: #ef4444 !important;
  font-weight: 600;
}

/* Section conducteur avec animation */
#infomationconducteur {
  background: rgba(248, 250, 252, 0.8);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 1rem 0;
  border-left: 4px solid #10b981;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-origin: top;
    display: none;
}

#infomationconducteur.show {
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scaleY(0.95);
  }

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



/* Checkboxes avec style moderne */
.vs-checkbox {
  margin: 1.5rem 0;
}

.vs-checkbox label {
  font-weight: 500;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 0.5rem 0;
}

/* Boutons radio avec design moderne */
input[type="radio"] {
  margin-right: 0.5rem;
  margin-left: 1rem;
  transform: scale(1.2);
  accent-color: #667eea;
}

input[type="radio"]:first-of-type {
  margin-left: 0;
}


/* Boutons avec design moderne */
.btn {
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}


.btn-danger {
  background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
  color: white;
}

.btn-danger:hover {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  transform: translateY(-2px);
}


/* Micro-animations pour une meilleure UX */
.form-control,
.form-select,
.btn{
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Effet de focus amélioré */
.form-control:focus-within,
.form-select:focus-within {
  transform: translateY(-1px);
}

/* Animation de loading pour les inputs */
.form-control.loading {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

/* Default: visible on mobile */
.mobile-cards-reservations {
  display: block;
  margin-bottom: 18px;
}

/* Hide on devices wider than 768px (e.g., tablets and desktops) */
@media screen and (min-width: 768px) {
  .mobile-cards-reservations {
    display: none;
  }
}

.title-container {
  display: flex;
}

.chercher.row {
  width: 100%;
  display: -webkit-inline-box;
}

/* Container principal */
.maintenance-container {
  padding: 20px;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  min-height: 100vh;
}

/* Header moderne */
.page-header-modern {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 30px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.page-header-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary-gradient);
}

.header-stats {
  display: flex;
  gap: 20px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  opacity: 0.9;
  margin-top: 5px;
}

/* Section de recherche */
.search-section {
  margin-bottom: 30px;
}

.search-container {
  background: #fff;
  border-radius: var(--border-radius);
  padding: 25px;
  box-shadow: var(--shadow);
}

.search-filters {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.modern-select {
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.modern-select:focus-within {
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.search-input-container {
  flex: 1;
  position: relative;
  display: flex;
  align-items: center;
  max-width: 500px;
}

.search-icon {
  position: absolute;
  left: 15px;
  color: #7f8c8d;
  z-index: 2;
}

/* Section tableau */
.table-section {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-header {
  padding: 25px 30px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  border-bottom: 1px solid #dee2e6;
  justify-content: space-between;
  align-items: center;

}

.table-header h3 {
  margin: 0;
  color: var(--dark-color);
  font-size: 20px;
  font-weight: 600;
}

/* Tableau moderne */
.modern-table {
  width: 100%;
}

.table-header-cell {
  background: #f8f9fa !important;
  color: var(--dark-color) !important;
  font-weight: 600 !important;
  padding: 20px 15px !important;
  border-bottom: 2px solid #667eea !important;
}

.table-header-cell i {
  margin-right: 8px;
  color: #667eea;
}



/* Cellules du tableau */
.status-cell {
  padding: 15px !important;
}

.status-indicator {
width: 147px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 10px;
    padding: 8px;
}

.status-indicator.status-good {
  background: linear-gradient(135deg, var(--success-color), #45b7b8);
  color: white;
}

.status-indicator.status-warning {
  background: linear-gradient(135deg, var(--warning-color), #f39c12);
  color: white;
}

.status-indicator.status-danger {
  background: linear-gradient(135deg, var(--danger-color), #e74c3c);
  color: white;
}

.vehicle-cell {
  padding: 15px !important;
}

.vehicle-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
      text-align: left;
}

.last-update {
color: #7f8c8d;
    text-align: left;
}

.nature-cell {
  padding: 15px !important;
}

.nature-badge {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
    padding: 8px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 400;
    white-space: nowrap;
}

.date-cell, .km-cell {
  padding: 5px !important;
}

.date-info, .km-info {
display: flex;
    flex-direction: column;
    background: rgba(78, 205, 196, 0.1);
    color: #373b39;
    border: 1px solid #58e4a3;
    padding: 6px;
    border-radius: 11px;
    align-items: center;
}

.date-current, .km-current {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.date-label, .km-label {
  font-size: 12px;
  color: #7f8c8d;
  font-weight: 500;
}

.date-value, .km-value {
  font-weight: 600;
  color: var(--dark-color);
}

.date-value.next, .km-value.next {
  color: #667eea;
}

.cost-cell {
  padding: 15px !important;
}

.cost-value {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8px 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    min-width: 80px;
    display: inline-block;
    white-space: nowrap;
}

.provider-cell {
  padding: 15px !important;
}

.provider-name {
  font-weight: 500;
  color: var(--dark-color);
}

.invoice-cell {
  padding: 15px !important;
}

.download-btn {
  background: linear-gradient(135deg, var(--success-color), #45b7b8);
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  margin: 4px 0px;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.no-invoice {
  color: #7f8c8d;
  font-style: italic;
  font-size: 14px;
}

.actions-cell {
  padding: 15px !important;
}

.edit-btn {
  background: linear-gradient(135deg, var(--warning-color), #f39c12);
  color: white;
}

.edit-btn:hover {
  background: var(--warning-color);
  color: white;
  transform: scale(1.1);
}

.delete-btn {
  background: linear-gradient(135deg, var(--danger-color), #e74c3c);
  color: white;
}

.action-btn:hover {
  transform: translateY(-2px) scale(1.1);
  box-shadow: var(--shadow);
}

/* Vue mobile avec cards */
.mobile-cards-maintenance {
  display: none ;
  padding: 20px;
  gap: 20px;
  flex-direction: column;
}

.maintenance-card {
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: var(--transition);
}

.maintenance-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.card-content {
  padding: 20px;
}

.maintenance-nature {
  margin-bottom: 15px;
}

.maintenance-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid #f1f3f4;
}

.detail-row:last-child {
  border-bottom: none;
}

.detail-row .label {
  font-weight: 500;
  color: var(--dark-color);
  font-size: 13px;
}

.detail-row .value {
    color: #7f8c8d;
    font-size: 13px;
}

.detail-row .value.cost {
  background: var(--primary-gradient);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 600;
}

.card-actions {
  padding: 15px 20px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* Pagination */


.modern-form {
  display: flex;
  flex-direction: column;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

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

.modern-label i {
  color: #667eea;
  width: 16px;
}

.modern-input, .modern-select {
  border-radius: var(--border-radius);
  font-size: 16px;
  transition: var(--transition);
  background: white;
  padding: 5px;
}


.file-upload-container {
  position: relative;
}

.file-input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 992px) {
  .desktop-table {
    display: none;
  }
  
  .mobile-cards-maintenance {
    display: flex;
  }
  
  .page-header-modern {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .search-filters {
    flex-direction: column;
    align-items: stretch;
  }

  .search-input-container {
    max-width: none;
  }
}



@media (max-width: 576px) {
  
  .page-title {
    font-size: 24px;
  }
  
  .card-header {
    padding: 15px;
  }
  
  .card-content {
    padding: 15px;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.maintenance-card, .table-row {
  animation: fadeIn 0.5s ease-out;
}

/* Classes d'état pour les icônes */
.status-good {
  background: linear-gradient(135deg, var(--success-color), #45b7b8);
}

.status-warning {
  background: linear-gradient(135deg, var(--warning-color), #f39c12);
}

.status-danger {
  background: linear-gradient(135deg, var(--danger-color), #e74c3c);
}

/* Améliorations pour l'accessibilité */
.action-btn:focus {
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

.modern-input:focus, .modern-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Ajout des styles SweetAlert personnalisés */
.modern-swal-popup {
  border-radius: 12px !important;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15) !important;
}

/* Animations d'entrée pour les éléments */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translate3d(-30px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translate3d(30px, 0, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.page-header-modern {
  animation: slideInUp 0.6s ease-out;
}

.search-section {
  animation: slideInLeft 0.6s ease-out 0.1s both;
}

.table-section {
  animation: slideInUp 0.6s ease-out 0.2s both;
}

/* Amélioration des focus states */
.modern-input:focus,
.modern-select:focus {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.15), 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

/* États de hover pour les cartes */
.maintenance-card {
  position: relative;
  overflow: hidden;
}

.maintenance-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transition: left 0.5s;
}

.maintenance-card:hover::before {
  left: 100%;
}

/* Améliorations pour les boutons d'action */
.action-btn {
  position: relative;
  overflow: hidden;
}

.action-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255,255,255,0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.3s, height 0.3s;
}

/* Styles pour les badges de statut améliorés */
.status-indicator {
  position: relative;
}

.status-indicator::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 50%;
  background: inherit;
  opacity: 0;
  transform: scale(0);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Amélioration des formulaires */
.modern-form .form-group {
  position: relative;
}

.modern-input:focus + .modern-label,
.modern-input:not(:placeholder-shown) + .modern-label {
  transform: translateY(-25px) scale(0.8);
  color: #667eea;
}

@keyframes shake {
  0%, 20%, 40%, 60%, 80% {
    transform: translateX(0);
  }
  10%, 30%, 50%, 70%, 90% {
    transform: translateX(-5px);
  }
}

/* Styles pour les états vides */
.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: #7f8c8d;
}

.empty-state i {
  font-size: 48px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.empty-state h3 {
  margin: 0 0 10px 0;
  font-size: 24px;
}

.empty-state p {
  margin: 0;
  font-size: 16px;
}

/* Responsive amélioré */
@media (max-width: 480px) {
  .maintenance-container {
    padding: 10px;
  }
  
  .page-header-modern {
    padding: 15px;
  }
  
  .page-title {
    font-size: 20px;
  }
  
  .stat-card {
    padding: 15px;
    min-width: 100px;
  }
  
  .stat-number {
    font-size: 24px;
  }
  
  .search-container {
    padding: 15px;
  }
  
  .table-header {
    padding: 15px;
  }
  
  .maintenance-card {
    margin: 0 -5px;
  }
  
  .card-header {
    padding: 12px;
  }
  
  .card-content {
    padding: 12px;
    text-align: left;
  }
  
  .action-btn {
    width: 35px;
    height: 35px;
    font-size: 14px;
  }
}

/* Dark mode support (optionnel) */
@media (prefers-color-scheme: dark) {
  :root {
    --white: #2c3e50;
    --light-color: #34495e;
    --dark-color: #ecf0f1;
  }
  
  .maintenance-container {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  }
  
  .modern-input,
  .modern-select {
    background: #34495e;
    color: #ecf0f1;
    border-color: #4a5f7a;
  }
  
  .table-row:hover {
    background-color: #34495e !important;
  }
}
.table-row {
  transition: var(--transition);
  border-bottom: 1px solid var(--gray-200);
}

.table-row:hover {
  background-color: var(--gray-100);
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* High contrast mode */
@media (prefers-contrast: high) {
  .action-btn,
  
  .status-indicator {
    border: 2px solid white !important;
  }
}

/* Layout principal */
.content-wrapper-customise {
  padding: 2rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e5e7eb 100%);
  min-height: 100vh;
}

.page-subtitle {
  color: var(--text-secondary);
  margin: 0.5rem 0 0 0;
  font-size: 1rem;
}

.add-client-btn {
  background: linear-gradient(135deg, #667eea, var(--primary-light));
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: var(--border-radius);
  color: white;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}

.add-client-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Statistiques */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: white;
      background: #bfcafe85;
}

.stat-icon.active {
  background: linear-gradient(135deg, var(--success-color), #059669);
}

.stat-icon.inactive {
  background: linear-gradient(135deg, var(--danger-color), #dc2626);
}

.stat-icon.total {
  background: linear-gradient(135deg, var(--info-color), #2563eb);
}


.stat-label {
  color: var(--light-color);
  font-size: 0.875rem;
  font-weight: 500;
}

/* Header de table */
.table-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
  background: #f9fafb;
}

.search-filter-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-secondary);
}

.search-input:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.filter-buttons {
  display: flex;
  gap: 0.5rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border: 2px solid var(--border-color);
  background: white;
  border-radius: var(--border-radius);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: #667eea;
  color: #667eea;
}

.filter-btn.active {
  background: #667eea;
  border-color: #667eea;
  color: white;
}

/* Vue Desktop */
.desktop-view {
  display: block;
}

/* Colonnes spécifiques */
.client-info {
  padding: 1rem !important;
}

.client-avatar {
  display: inline-block;
  margin-right: 1rem;
}

.avatar-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.avatar-circle.male {
  background: linear-gradient(135deg, #6975de, #7450a9);
}

.avatar-circle.female {
  background: linear-gradient(135deg, #ec4899, #db2778);
}

.client-details {
  display: inline-block;
  vertical-align: top;
}

.client-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 1rem;
}

.client-id {
  color: var(--text-secondary);
  font-size: 0.75rem;
  margin: 0.25rem 0;
}

.client-time {
  color: var(--text-secondary);
  font-size: 0.75rem;
}

.contact-info {
  padding: 1rem !important;
    margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

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

.contact-icon {
  width: 16px;
  margin-right: 0.5rem;
  color: var(--text-secondary);
}

.info-column {
  padding: 1rem !important;
}

.info-item {
  display: flex;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

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

.info-label {
  font-weight: 500;
  color: var(--text-secondary);
  margin-right: 0.5rem;
  min-width: 40px;
}

.info-value {
  color: var(--text-primary);
}

.info-comment {
  color: #667eea;
  cursor: pointer;
}
a {
    text-decoration: none;
    color: #fff;
}
.status-column {
  padding: 1rem !important;
}

.status-badge {
  display: contents;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.status-active {

  color: var(--success-color);

}

.status-inactive {
  color: var(--danger-color);

}

.state-column {
  padding: 1rem !important;
}

.state-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 500;
}

.state-good {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success-color);
}

.state-bad {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.actions-column {
  padding: 1rem !important;
}

.action-btn {
  width: 35px;
  height: 35px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition);
}

.block-btn {
  background: rgba(59, 130, 246, 0.1);
  color: var(--info-color);
}

.block-btn:hover {
  background: #2c5caa70;
  color: white;
  transform: scale(1.1);
}

.delete-btn {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.delete-btn:hover {
  background: var(--danger-color);
  color: white;
  transform: scale(1.1);
}

/* Vue Mobile */
.mobile-view {
  display: none;
}

.client-cards {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.client-card {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  overflow: hidden;
  transition: var(--transition);
  background: #ffffff;
}

.client-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.client-avatar-mobile .avatar-circle {
  width: 40px;
  height: 40px;
  font-size: 1rem;
}

.client-info-mobile {
  flex: 1;
  display: flex;
}

.client-name-mobile {
  font-weight: 600;
  color: #ffffff;
  font-size: 12px;
}

.client-meta {
  color: #fffdcc;
    font-size: 10px;
    margin-top: 0.25rem;

}

.status-mobile {
  margin-left: auto;
}

.status-badge-mobile {
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.status-badge-mobile.active {
    background: rgb(80 231 181 / 54%);
    color: #ffffff;
}

.status-badge-mobile.inactive {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger-color);
}

.card-body {
  padding: 1rem;
      text-align: left;
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.contact-item-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.contact-item-mobile i {
  width: 16px;
  color: #667eea;
}

.address-row, .state-row, .time-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.address-row i {
  width: 16px;
  color: #667eea;
}

.state-label {
  font-weight: 500;
  color: var(--text-secondary);
}

.state-value.good {
  color: var(--success-color);
  font-weight: 500;
}

.state-value.bad {
  color: var(--danger-color);
  font-weight: 500;
}

.time-row {
  color: var(--text-secondary);
  font-size: 0.75rem;
}


/* Pagination */
.pagination-container {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  background: #f9fafb;
  display: flex;
  justify-content: center;
}

.modern-alert {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  color: var(--danger-color);
  border-radius: var(--border-radius);
  padding: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.form-section {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  padding: 1.5rem;
  background: #f9fafb;
}

.modern-label {
  display: block;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
}

.modern-input:focus, .modern-select:focus {
  outline: none;
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}


/* Responsive Design */
@media (max-width: 1024px) {
  .content-wrapper-customise {
    padding: 1rem;
  }
 
  
  .search-filter-section {
    flex-direction: column;
    align-items: stretch;
  }
  
  .search-box {
    min-width: auto;
  }
  
  .stats-row {
    grid-template-columns: 1fr;
  }
}


@media (max-width: 480px) {
  .content-wrapper-customise {
    padding: 0.5rem;
  }
 
  
  .page-title {
    font-size: 1.25rem;
  }
  
  .stat-card {
    padding: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .client-cards {
    padding: 0.5rem;
  }
  .reservation-info h4 {
    color: white;
    font-size: 14px;
}

}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.client-card,
.stat-card {
  animation: fadeIn 0.5s ease-out;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: #667eea;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Print styles */
@media print {
  .header-actions,
  .actions-column,
  .card-actions,
  .pagination-container {
    display: none !important;
  }

}

/* Password Section */
.password-section {
  margin-top: 2rem;
}

.password-form .form-group {
  margin-bottom: 1.5rem;
}

.password-form .form-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 0.5rem;
}

.input-wrapper {
  position: relative;
}

.password-form .form-control {
  width: 100%;
  padding: 0.875rem 1rem;
  
  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fff;
}

.password-form .form-control:focus {
  outline: none;
  border-color: #6c5ce7;
  box-shadow: 0 0 0 3px rgba(108, 92, 231, 0.1);
}

.btn-update {
  width: 100%;
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, #6c5ce7, #a29bfe);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-update:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(108, 92, 231, 0.3);
}

/* Main Card */
.main-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.main-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.card-body {
  padding: 2rem;
}

/* Info Sections */
.info-section {
  margin-bottom: 3rem;
}

.info-section:last-child {
  margin-bottom: 0;
}

.form-control {
  width: 100%;
      font-family: 'Outfit', sans-serif;

  border-radius: 10px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: #fff;
  border: none;
}


.disabled-field {
  background: linear-gradient(135deg, #f8f9ff, #e3e8ff) !important;
  color: #4a5568 !important;
  cursor: not-allowed;
  border-color: #cbd5e0;
}

.price-field {
  font-weight: 600;
  color: #38a169 !important;
}



@media (max-width: 767.98px) {


  
  .card-header,
  .card-body {
    padding: 1.5rem;
  }
  

  .card-title {
    font-size: 1.3rem;
  }
  
  .section-header {
    font-size: 1.2rem;
  }
  
  .form-control,
  .password-form .form-control {
    padding: 0.75rem;
  }
  
  .btn-update {
    padding: 0.75rem 1rem;
  }
}

@media (max-width: 575.98px) {

  
  .card-title {
    font-size: 1.2rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  
  .section-header {
    font-size: 1.1rem;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

/* Loading States */
.form-control:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-update:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* Smooth Animations */
* {
  box-sizing: border-box;
}


@keyframes float {
  0%, 100% { transform: translateY(-10px) rotate(-5deg); }
  50% { transform: translateY(-30px) rotate(5deg); }
}


@keyframes twinkle {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.8; }
}


@keyframes shimmer {
  0% { transform: translateX(-20px); }
  100% { transform: translateX(20px); }
}

.step.active,
.step.completed {
  color: white;
  transform: scale(1.05);
}

.step-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-bottom: 12px;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border: 2px solid transparent;
}

.step.active .step-circle {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.1);
}

.step.completed .step-circle {
  background: rgba(255, 255, 255, 0.9);
  color: #667eea;
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

/* Formulaire */


.form-section {
  animation: slideIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* En-tête de section moderne */
.section-header {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  padding: 17px;
  background: linear-gradient(135deg, var(--bg-light), rgba(244, 190, 44, 0.02));
  border-radius: 16px;
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.section-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #667eea, var(--primary-dark));
}

.section-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--border-radius);
  background: linear-gradient(135deg, #667eea, var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  margin-right: 20px;
  box-shadow: var(--shadow-lg);
  font-size: 1.5rem;
  transition: var(--transition);
}

.section-icon:hover {
  transform: rotate(5deg) scale(1.05);
}

.section-content {
  flex: 1;
}

/* Grille de formulaire */
.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

/* Groupes de formulaire modernes */
.form-group {
  position: relative;
}

.form-group.has-error {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.form-label {
display: block;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-size: 0.7rem;
    transition: var(--transition);
  
}

.required {
  color: var(--error-color);
  font-weight: 700;
}

.input-container {
  position: relative;
}

/* Inputs modernes avec effet flottant */
.input-wrapper,
.select-wrapper,
.date-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 16px;
  color: var(--text-muted);
  z-index: 2;
  transition: var(--transition);
  font-size: 1.1rem;
}

.form-input,
.form-select {
  width: 100%;
  padding: 18px 16px 18px 48px;
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 1rem;
  background: var(--bg-card);
  transition: var(--transition);
  outline: none;
  position: relative;
  z-index: 1;
}

.form-input:focus,
.form-select:focus {
  border-color: #667eea;
  box-shadow: 0 0 0 4px rgba(244, 190, 44, 0.1);
  transform: translateY(-2px);
}

.form-input:focus + .input-line,
.form-select:focus + .select-line {
  transform: scaleX(1);
}

.form-input:focus ~ .input-icon,
.form-select:focus ~ .input-icon {
  color: #667eea;
  transform: scale(1.1);
}

.input-line,
.select-line,
.date-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #667eea, var(--primary-dark));
  transform: scaleX(0);
  transition: transform 0.3s ease;
  z-index: 3;
  border-radius: 1px;
}

.form-input.error,
.form-select.error {
  border-color: var(--error-color);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
  background-color: rgba(239, 68, 68, 0.02);
}

/* Select personnalisé */
.form-select {
  appearance: none;
  cursor: pointer;
  background-image: none;
}

.select-arrow {
  position: absolute;
  right: 16px;
  pointer-events: none;
  color: var(--text-muted);
  transition: var(--transition);
  z-index: 2;
}

.select-wrapper:hover .select-arrow {
  color: #667eea;
  transform: rotate(180deg);
}

/* Date picker moderne */
.date-picker {
  width: 100%;
  min-height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 18px 16px 18px 48px;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius);
  color: var(--text-light);
  transition: var(--transition);
  position: relative;
}

.date-picker:hover {
  border-color: #667eea;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.date-placeholder {
  color: var(--text-muted);
  font-style: italic;
}

.btn-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes ripple {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

.fade-enter-active,
.fade-leave-active {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-enter-from,
.fade-leave-to {
  opacity: 0;
  transform: translateY(10px);
}

/* Responsive Design */
@media (max-width: 1024px) {
  
  .form-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
  }
}


@media (max-width: 480px) {

  .form-input,
  .form-select,
  .date-picker {
    padding: 16px 14px 16px 44px;
    font-size: 0.95rem;
  }
  
  .input-icon {
    left: 14px;
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1rem;
  }
  
}

/* Améliorations d'accessibilité */
.form-input:focus-visible,
.form-select:focus-visible,
.btn-back:focus-visible,
.btn-next:focus-visible{
  outline: 2px solid #667eea;
  outline-offset: 2px;
}

/* Animations au scroll */
@media (prefers-reduced-motion: no-preference) {
  .form-section {
    opacity: 0;
    animation: slideInUp 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  }
  
  @keyframes slideInUp {
    from {
      opacity: 0;
      transform: translateY(40px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

/* États de hover plus fluides */
.form-input:hover,
.form-select:hover,
.date-picker:hover {
  border-color: var(--primary-light);
}

/* Indicateurs de chargement */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}



/* Styles pour les options de select */
.form-select option {
  padding: 12px;
  background: var(--bg-card);
  color: var(--text-dark);
}

.form-select option:hover {
  background: #667eea;
  color: white;
}


.stat-card {
  background: var(--primary-gradient);
  color: white;
  padding: 0.7rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid var(--gray-200);
  min-width: 120px;
  display: flex;
  align-items: center;
}

.v-timeago {
    font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
    font-size: 11px !important;
    cursor: pointer;
    color: #657786;
    text-decoration: none;
    line-height: 20px;
    list-style-image: none;
    list-style-position: outside;
    list-style-type: none;
    letter-spacing: .1px;
}

h4.reservationNum {
    font-size: 14px;
}


/*navbar*/

/* Base */
.d-flex, .page-header, .list-wrapper ul li, 
.navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown .dropdown-item,
.navbar .navbar-menu-wrapper .navbar-nav .nav-item.nav-profile .nav-link { display: flex !important; }

.ms-0, .rtl .preview-list .preview-item .preview-thumbnail .preview-icon i,
.rtl .list-wrapper .remove, .rtl .navbar .navbar-menu-wrapper .search-field { margin-left: 0 !important; }

.dropdownAnimation, .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .dropdown-menu { 
  animation: dropdownAnimation var(--trans) both; 
}

/* Navbar */
.navbar {
  font-family: 'Outfit', sans-serif;
  background: transparent;
  transition: background var(--trans);
  position: absolute;
  left: 0; top: 0; width: 100%; z-index: 99;
  padding: 0; border: none;
}

.navbar.navbar-scroll { background: #151613 !important; max-height: 75px; }
.navbar.fixed-top + .page-body-wrapper { padding-top: var(--nb-h); }

/* Brand */
.navbar .navbar-brand-wrapper {
  transition: width var(--trans), background var(--trans);
  background: var(--nb-bg); width: var(--nb-w); height: var(--nb-h);
}

.navbar .navbar-brand {
  color: var(--nb-link); font-size: 1.5rem; line-height: 48px;
  margin: 0; padding: .25rem 0; width: 100%;
}

.navbar .navbar-brand:hover { color: var(--nb-hover); }
.navbar .navbar-brand img { width: calc(var(--nb-w) - 120px); max-width: 150px; margin: auto; vertical-align: middle; }
.navbar .navbar-brand.brand-logo-mini { display: none; }
.navbar .navbar-brand.brand-logo-mini img { width: calc(var(--nb-h) - 50px); max-width: 100%; height: 28px; margin: auto; }

/* Menu */
.navbar .navbar-menu-wrapper {
  transition: width var(--trans); color: var(--nb-txt);
  padding: 0 24px; width: calc(100% - var(--nb-w)); height: var(--nb-h);
}

.navbar .navbar-toggler {
  border: 0; color: inherit; height: var(--nb-h); border-radius: 0;
  padding: 0 20px 0 5px; display: block; font-size: 1.5rem;
}

.navbar .navbar-toggler:focus { box-shadow: none; }

/* Search */
.navbar .search-field .input-group { background: transparent; }
.navbar .search-field .input-group input { font-size: .875rem; padding: .5rem; }
.navbar .search-field .input-group input::placeholder { 
  font-size: .875rem; color: var(--nb-txt); font-family: inherit; 
}
.navbar .search-field .input-group i { font-size: 17px; margin-right: 0; color: var(--nb-txt); }

/* Count */
.navbar .count-indicator { position: relative; }
.navbar .count-indicator .count-symbol,
.navbar .count-indicator .count-number {
  position: absolute; border-radius: 100%; border: 2px solid #fff;
}
.navbar .count-indicator .count-symbol { top: 17px; right: -3px; width: 10px; height: 10px; }
.navbar .count-indicator .count-number {
  min-width: 14px; height: 14px; font-size: .5rem; color: #fff;
  bottom: 16px; right: -5px; line-height: 1; text-align: center;
}

/* Nav */
.navbar .navbar-nav { flex-direction: row; align-items: center; }
.navbar .navbar-nav .nav-item .nav-link {
 display: flex; align-items: center;color: #302c2c;margin: 10px;
}
.navbar .navbar-nav .nav-item .nav-link i { font-size: 1.25rem; }

/* Dropdown */
.navbar .navbar-nav .nav-item.dropdown .dropdown-toggle:after { color: #052b4a; font-size: 1rem; }
.navbar .navbar-nav .nav-item.dropdown .dropdown-menu {
  border: none; border-radius: 5px; box-shadow: 0 3px 21px rgba(0,0,0,.2);
}
.navbar .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown {
  position: absolute; font-size: .9rem; padding: 0;    margin: auto;
}
.navbar .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown .dropdown-item {
  margin: 0; padding: 11px 13px; cursor: pointer; align-items: center;
}
.navbar .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown .dropdown-item i { font-size: 17px; }
.navbar .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown .dropdown-item .ellipsis {
  max-width: 100%; overflow: hidden; text-overflow: ellipsis; font-size: 11px;
}
.navbar .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown .dropdown-divider { margin: 0; }

/* Profile */
.navbar .nav-profile .nav-link .nav-profile-img { position: relative; width: 32px; height: 32px; }
.navbar .nav-profile .nav-link .nav-profile-img img { width: 32px; height: 32px; border-radius: 100%; }
.navbar .nav-profile .nav-link .nav-profile-img .availability-status {
  position: absolute; width: 10px; height: 10px; border-radius: 100%;
  border: 2px solid #fff; bottom: 5px; right: -5px;
}
.navbar .nav-profile .nav-link .nav-profile-img .availability-status.online { background: #1bcfb4; }
.navbar .nav-profile .nav-link .nav-profile-img .availability-status.offline { background: #fe7c96; }
.navbar .nav-profile .nav-link .nav-profile-img .availability-status.busy { background: #fed713; }
.navbar .nav-profile .nav-link .nav-profile-text { margin-left: 1.25rem;color: #302c2c; }
.navbar .nav-profile .nav-link .nav-profile-text p { line-height: 1; }

/* Right */

.navbar .navbar-right .wrap {
  position: relative; display: flex; align-items: center; z-index: 5; margin-left: 20px;
}
.navbar .navbar-right .wrap .icon {
  position: relative; display: flex; align-items: center; justify-content: center;
  height: 50px; width: 50px; background: transparent; border-radius: 50%;
  font-size: 21px; color: #fff; transition: all .5s; border: 1px solid #fff;
}
.navbar .navbar-right .wrap .icon:hover { background: #d5d5d5; color: #1b1b1b; }
.navbar .navbar-right .wrap .text { margin-left: 10px; top: 3px; position: relative; }
.navbar .navbar-right .wrap .text h5 a { color: #fff; transition: all .5s; }
.navbar .navbar-right .wrap .text p { font-size: 12px; line-height: 12px; color: #fff; margin-bottom: 4px; }

/* Dark */
.navbar-brand, .navbar-brand:hover { color: #fff; }
.navbar-nav .nav-link { color: #fff; }
.navbar-nav .nav-link:hover { color: rgba(255,255,255,.55); }
.navbar-nav .nav-link.disabled { color: rgba(255,255,255,.25); }
.navbar-nav .show > .nav-link, .navbar-nav .nav-link.active { color: #fff; }
.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='rgba%28255, 255, 255, 0.55%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive */
@media (min-width: 576px) {
  .navbar-nav { flex-direction: row; }
  .navbar-nav .dropdown-menu { position: absolute; }
  .navbar-nav .nav-link { padding: 0 .5rem; }
  .navbar-toggler { display: none; }
}

@media (max-width: 991px) {
  .navbar { flex-direction: row; }
  .navbar .navbar-brand-wrapper { width: 75px; }
  .navbar .navbar-brand.brand-logo { display: none; }
  .navbar .navbar-brand.brand-logo-mini { display: inline-block; }
  .navbar .navbar-menu-wrapper { width: auto; padding: 0 15px; }
  .navbar .navbar-toggler:not(.navbar-toggler-right) { display: none; }
  .navbar .navbar-toggler.navbar-toggler-right { padding: 0 11px 0 15px; border-right: none; }
  .navbar .navbar-nav .nav-item.dropdown { position: static; }
  .navbar .navbar-nav .nav-item.dropdown .navbar-dropdown {
    top: var(--nb-h); width: 100%; overflow-y: scroll; max-height: 600px; min-height: 100px;
  }
  .dropdown-menu.dropdown-menu-right.navbar-dropdown.preview-list.show { min-height: 600px !important; }
  .navbar .navbar-right { display: none; }
}

@media (min-width: 992px) {
  .navbar .navbar-menu-wrapper .navbar-nav.navbar-nav-right { margin-left: auto; }
  .navbar .navbar-nav .nav-item.dropdown { position: static; }
  .navbar .navbar-nav .nav-item.dropdown .navbar-dropdown { left: 63%; width: 32%; overflow: scroll; height: 406px; }
}

@media (max-width: 767px) {
  .navbar .navbar-nav .nav-item .nav-link { margin: 0 .8rem; }
  .navbar .nav-profile .nav-link .nav-profile-text { display: none; }
}

@media (max-width: 480px) {
  .navbar .navbar-brand-wrapper { width: 55px; }
  .navbar .navbar-brand-wrapper .brand-logo-mini { padding-top: 0; }
}

/* RTL */
.rtl .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown { right: auto; left: 0; }
.rtl .navbar .navbar-menu-wrapper .navbar-nav .nav-item.dropdown .dropdown-menu.navbar-dropdown .dropdown-item i { 
  margin-left: 10px; margin-right: 0 !important; 
}
.rtl .navbar .nav-profile .nav-link .nav-profile-text { margin-left: 0; margin-right: 1.25rem; }
.rtl .navbar .navbar-menu-wrapper .navbar-nav.navbar-nav-right { margin-left: 0; margin-right: auto; }

ul.navbar-nav.navbar-nav-right { color: #556080; }

/*style du modal*/
/* ===== MODAL BASE ===== */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1055;
  display: none;
  width: 100%;
  height: 100%;
  overflow: auto;
}

.modal-backdrop {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
}

.modal-dialog {
  position: relative;
  width: auto;
  max-width: 900px;
  pointer-events: none;
}

/* ===== ANIMATIONS ===== */
.modal.fade .modal-dialog {
  transform: translate(0, -50px) scale(0.95);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal.show .modal-dialog {
  transform: translate(0, 0) scale(1);
}

/* ===== HEADER ===== */
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.modal-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

/* ===== BODY ===== */
.modal-body {
  flex: 1;
  padding: 2rem;
  overflow-y: auto;
  max-height: calc(100vh - 200px);
}

/* ===== FOOTER ===== */
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  border-top: 1px solid #e2e8f0;
}

/* ===== RESPONSIVE ===== */

/* ===== PAGINATION MODERNE ===== */

.modern-pagination {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  background: white;
  border-radius: var(--border-radius);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.modern-pagination .vs-pagination--nav {
  color: white !important;
  border: none !important;
  border-radius: 8px !important;
  margin: 0 4px !important;
  transition: var(--transition) !important;
  padding: 6px;
}

.modern-pagination .vs-pagination--nav:hover {
  transform: translateY(-2px) !important;
}

.modern-pagination .vs-pagination--active {
  background: #667eea !important;
  color: white !important;
  transform: scale(1.1) !important;
  box-shadow: var(--shadow) !important;
}
/* ===== CARD HEADER ===== */
.card-header {
  padding: 1rem;
  background: var(--primary-gradient);
  color: white;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.card-header .vehicle-info h4 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

.card-header .plate {
  background: rgba(255,255,255,0.2);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 12px;
  margin-top: 5px;
  display: inline-block;
}
/* ==========================================================================
   Footer Styles - 
   ========================================================================== */

/* Base footer styles */
.footer,
footer {
    font-family: 'Outfit', sans-serif;
    transition: all 0.25s ease;
    padding: 30px 1rem;
}

.footer {
    background: #f2edf3;
    color: var(--dark-color, #333); /* Fallback for color(dark) */
    border-top: 1px solid #e7dee9;
    font-size: calc(0.875rem - 0.05rem);
}

.footer a {
    color: #1bcfb4;
    font-size: inherit;
}

/* Dark footer variant */
.bg-grey,
footer {
    background: #272a34;
    color: grey;
}

footer a,
footer p {
    font-size: 17px;
}

footer h3 {
    font-size: 19px;
    font-weight: 900;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 33px 0;
    position: relative;
}

footer h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -20px;
    width: 22%;
    height: 1px;
    background: grey;
}

/* Security footer */
.security-footer {
    display: flex;
    justify-content: center;
}

/* Media Queries */
@media (max-width: 991px) {
    .footer {
        margin-left: 0;
        width: 100%;
    }
}

@media (max-width: 600px) {
    footer a,
    footer p {
        font-size: 15px !important;
    }
}
/* Optimized Icon Wrapper Styles */
.icon-wrapper {
  width: 50px;
  height: 50px;
  padding: 10px;
  background: var(--primary-gradient, linear-gradient(135deg, #667eea, #764ba2));
  border-radius: var(--border-radius, 15px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem; /* 24px equivalent */
}

/* Variants - use modifier classes if different sizes/styles are needed */
.icon-wrapper--small {
  width: 48px;
  height: 48px;
  font-size: 1.25rem; /* 20px equivalent */
}

.icon-wrapper--round {
  border-radius: 50%;
}
/* Optimized Alert Styles */
.alert {
  position: relative;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--border-radius, 12px);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-weight: 500;
  backdrop-filter: blur(10px);
}

.alert-danger {
  background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
  border-left: 4px solid var(--error-color, #ef4444);
  color: var(--error-color, #dc2626);
}

.alert-dark {
  background-color: #191a19;
  color: #ffffff;
  border-color: #191a19;
  justify-content: center;
  width: 90%;
  margin: 0 auto 1.5rem auto;
}

.alert-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.alert-icon.warning {
  background: var(--warning-color);
}

.alert-icon.danger {
  background: var(--danger-color);
}

.alert-icon.success {
  background: var(--success-color);
}

.alert-content {
  flex: 1;
}

.alert-content strong {
  display: block;
  color: var(--error-color);
  font-weight: 600;
  margin-bottom: 4px;
}

.alert-content p {
  color: #991b1b;
  margin: 0;
  font-size: 0.95rem;
}

.alert-close {
  background: none;
  border: none;
  color: var(--error-color);
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  transition: var(--transition);
  flex-shrink: 0;
}

.alert-close:hover {
  background: rgba(239, 68, 68, 0.1);
  transform: scale(1.1);
}
/* Optimized Loading Spinner */
.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid var(--border-color, #f3f3f3);
  border-top: 4px solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Progress Overrides */
.progress {
    display: flex;
    height: 8px;
    overflow: hidden;
    font-size: 0.75rem;
    background-color: #e9ecef;
    border-radius: 3px;
}

.progress .progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: #0d6efd;
    border-radius: 3px;
    transition: width 0.6s ease;
}

.progress.progress-sm {
    height: 0.375rem;
}
.progress.progress-md {
    height: 8px;
}
.progress.progress-lg {
    height: 15px;
}
.progress.progress-xl {
    height: 18px;
}

/* Progress steps */
.progress-section {
    display: flex;
    justify-content: center;
}
.progress-steps {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--primary-gradient, linear-gradient(135deg, #667eea, #764ba2));
    padding: 1.5rem 2rem;
    border-radius: 20px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

/* Progress Indicator moderne */
.progress-indicator {
  padding: 40px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  position: relative;
  overflow: hidden;
}
.progress-indicator::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/><circle cx="80" cy="40" r="1" fill="white" opacity="0.1"/><circle cx="40" cy="80" r="1.5" fill="white" opacity="0.1"/></svg>');
  animation: twinkle 8s linear infinite;
}
.progress-track {
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  margin-bottom: 30px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 1));
  border-radius: 2px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4));
  animation: shimmer 1.5s infinite;
}

@media (prefers-reduced-motion: reduce) {
    .progress-bar {
        transition: none;
    }
}


h5.modal-title-section {
    font-size: 16px;
}
p.modal-subtitle {
    font-size: 13px;
}