:root {
    --color-primary-button: #BC9C5C;
    --color-primary-button-hover: #ad8d4e;
}

body {
    font-family: "Lato", sans-serif;
    background-color: #EBEBEB;
    font-size: 14px;
    min-height: 100vh;
}

tbody, td, tfoot, th, thead, tr {
    font-size: 14px;
}

.btn-primary {
    background-color: var(--color-primary-button);
    border-color: var(--color-primary-button);
}

.btn-primary:hover {
    background-color: var(--color-primary-button-hover);
    border-color: var(--color-primary-button-hover);
}

.btn,
.form-control {
    font-size: 14px !important;
}

.form-control {
    background-color: #EBEBEB;
    border-color: #EBEBEB !important;
}

.form-control:not(textarea) {
    height: 44px;
}

img {
    width: 100%;
    height: auto;
}

.iti__selected-dial-code {
    display: none !important;
}

.iti.iti--allow-dropdown {
    width: 100%;
}

/* Alertes (messages d'erreur/succès) */
.alert {
    border-radius: 5px;
    padding: 1rem;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.alert.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}
.alert.alert-success {
    background-color: #d4edda;
    color: #155724;
}

/* Titre de la page */
.reset-password h2 {
    color: #CBB263; /* Nuance dorée */
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Formulaire (card) */
.reset-password form {
    background-color: #ffffff;
    border: 1px solid #BFA456;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 5px 15px rgba(34, 55, 43, 0.2);
    transition: box-shadow 0.3s ease;
}
.reset-password form:hover {
    box-shadow: 0 8px 25px rgba(34, 55, 43, 0.3);
}

/* Labels des champs */
.reset-password label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: #22372B;
}

/* Champs de saisie */
.reset-password .form-control {
    border: 1px solid #ced4da;
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 1rem;
    color: #22372B;
    background-color: #fdfdfd;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.reset-password .form-control:focus {
    border-color: #BFA456;
    box-shadow: 0 0 8px rgba(191, 164, 86, 0.5);
    outline: none;
}

/* Bouton principal */
.reset-password .btn-primary {
    background-color: #BFA456;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s ease;
}
.reset-password .btn-primary:hover {
    background-color: #C8AD60;
}

/* Liens (ex : "Mot de passe oublié ?", "Envoyer") */
.reset-password a {
    color: #BFA456;
    text-decoration: none;
    transition: color 0.3s ease;
}
.reset-password a:hover {
    color: #CBB263;
    text-decoration: underline;
}

/* Alertes (messages d'erreur ou d'information) */
.reset-password .alert {
    border-radius: 5px;
    padding: 1rem;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}
.reset-password .alert.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
}
.reset-password .alert.alert-success {
    background-color: #d4edda;
    color: #155724;
}

.account-validation {
    min-height: 100vh;
}

/* Titre principal */
.account-validation h2 {
    color: #CBB263;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
}

/* Titres des étapes */
.account-validation h5 {
    color: #BFA456;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Alertes personnalisées */
.account-validation .alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
}
.account-validation .alert-success {
    background: #d4edda;
    color: #155724;
}
.account-validation .alert-info {
    background: #e2e3e5;
    color: #383d41;
}

/* Boutons */
.account-validation .btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 8px;
    transition: background 0.3s, transform 0.2s ease;
}
.account-validation .btn:hover {
    transform: translateY(-2px);
}
.account-validation .btn-outline-primary {
    background: transparent;
    border: 2px solid #007bff;
    color: #007bff;
}
.account-validation .btn-outline-primary:hover {
    background: #007bff;
    color: #fff;
}
.account-validation .btn-primary {
    background: #007bff;
    border: none;
    color: #fff;
}
.account-validation .btn-primary:hover {
    background: #0069d9;
}
.account-validation .btn-success {
    background: #28a745;
    border: none;
    color: #fff;
}
.account-validation .btn-success:hover {
    background: #218838;
}

/* Champs de formulaire */
.account-validation .form-control {
    border: 1px solid #ced4da;
    border-radius: 8px;
    padding: 0.75rem;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.account-validation .form-control:focus {
    border-color: #007bff;
    box-shadow: 0 0 8px rgba(0,123,255,0.25);
    outline: none;
}

/* Labels */
.account-validation label.form-label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

/* Marges utilitaires */
.account-validation .mt-5 {
    margin-top: 3rem;
}
.account-validation .mb-4 {
    margin-bottom: 1.5rem;
}
.account-validation .mb-5 {
    margin-bottom: 3rem;
}

/* ---------------------------
   Dashboard - Design Moderne
-----------------------------*/
/* Fond général avec dégradé sombre */
.dashboard {
    min-height: 100vh;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
}

/* Titre principal */
.dashboard-title {
    color: #CBB263;
    font-size: 2.5rem;
    font-weight: 700;
}

/* Menu de navigation */
.dashboard-menu {
    margin-top: 2rem;
}
.dashboard-btn {
    margin: 0.5rem;
    padding: 0.75rem 1.5rem;
    background-color: #BFA456;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.dashboard-btn:hover {
    background-color: #C8AD60;
    transform: translateY(-3px);
}

/* Contenu du dashboard : cartes */
.dashboard-content {
    margin-top: 3rem;
}
.dashboard-card {
    background-color: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 10px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    color: #333;
}
.dashboard-card .card-title {
    color: #22372B;
    font-weight: 700;
}
.dashboard-card .card-text {
    color: #333;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .dashboard-btn {
        width: 100%;
        text-align: center;
    }
}

.account-update-container .col_2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
}

.delete-photo-btn {
    background-color: rgba(255, 255, 255, 0.8);
    border: none;
    color: red;
    font-weight: bold;
    transition: background-color 0.2s ease;
}

.delete-photo-btn:hover {
    background-color: rgba(255, 0, 0, 0.15);
}

.custom-file-uploader {
    background-color: #ebebeb;
    border: 1px dashed #bc9d5d;
    transition: background-color 0.3s ease;
}

.custom-file-uploader:hover {
    background-color: #e6e5e5;
}

.custom-file-uploader .upload-instructions {
    pointer-events: none;
}

#upload-zone {
    border: 2px dashed #ced4da;
    padding: 30px;
    text-align: center;
    background: #f9f9f9;
    cursor: pointer;
    border-radius: 10px;
    transition: background 0.3s;
}

#upload-zone:hover {
    background: #e9ecef;
}

/* Titre principal */
.listing-tickets h2 {
  color: #BFA456;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-transform: uppercase;
  text-align: center;
}

/* Sous-titre ou titre de section */
.listing-tickets h4 {
  color: #22372B; 
  font-weight: 600;
}

/* Alertes (optionnel, si vous souhaitez personnaliser) */
.listing-tickets .alert {
  border-radius: 4px;
  font-size: 0.95rem;
}

/* Bouton principal */
.listing-tickets .btn.btn-primary {
  background-color: var(--color-primary-button);
  border-color: var(--color-primary-button);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}
.listing-tickets .btn.btn-primary:hover {
  background-color: var(--color-primary-button-hover);
  border-color: var(--color-primary-button-hover);
}

/* Table responsive */
.listing-tickets .table-responsive {
  margin-top: 1rem;
  border: none;
}

/* Table + bordures */
.listing-tickets .table {
  border: 1px solid #CBB263; /* Bordure discrète autour de la table */
  font-size: 0.95rem;
}
.listing-tickets .table thead {
  background-color: #BFA456;
  color: #1D2E25;
}
.listing-tickets .table thead th {
  border-color: #CBB263;
}

/* Couleur des bordures dans le tableau */
.listing-tickets .table-bordered > :not(caption) > * > * {
  border-color: #CBB263;
}

/* Centrage vertical des cellules */
.listing-tickets .table td,
.listing-tickets .table th {
  vertical-align: middle;
}

/* Badge "Nouvelle réponse" (rouge) */
.listing-tickets .badge.bg-danger {
  background-color: #d9534f !important; /* Rouge Bootstrap par défaut ou #c03030 si vous préférez */
  color: #fff !important;
  font-weight: 600;
  text-transform: uppercase;
}

/* Liens ou boutons "Voir" */
.listing-tickets .btn-outline-primary {
  color: #253B2D;
  border-color: #253B2D;
}
.listing-tickets .btn-outline-primary:hover {
  background-color: #253B2D;
  color: #fff;
}

.creation-ticket .container {
  background-color: #fff;
  border-radius: 8px;
  padding: 2.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

/* Titre principal */
.creation-ticket h2 {
  color: #BFA456;
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 1.5rem;
  text-align: center;
  text-transform: uppercase;
}

/* Bouton de retour (optionnel) */
.creation-ticket a.btn.btn-warning {
  background-color: #F0AD4E;
  border-color: #eea236;
  color: #fff;
  transition: background-color 0.3s;
}
.creation-ticket a.btn.btn-warning:hover {
  background-color: #e6953a;
  border-color: #d5842a;
}

/* Label du formulaire */
.creation-ticket label {
  font-weight: 600;
  color: #333;
}

/* Champs du formulaire */
.creation-ticket .form-control {
  border-radius: 4px;
  border: 1px solid #ddd;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.creation-ticket .form-control:focus {
  border-color: #BFA456;
  box-shadow: 0 0 0 0.2rem rgba(191, 164, 86, 0.25);
}

/* Zone d'upload cliquable */
.creation-ticket #upload-zone {
    background-color: #ebebeb;
    border: 1px dashed #dfbc74;
    border-radius: 6px;
    padding: 35px 15px !important;
    color: #888;
    transition: background-color 0.3s, border-color 0.3s;
    cursor: pointer;
}
.creation-ticket #upload-zone:hover {
  background-color: #f0f0f0;
  border-color: #BFA456;
}

/* Spinner d'upload */
.creation-ticket #upload-spinner {
  margin-top: 1rem;
}
.creation-ticket #upload-spinner p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* Prévisualisation des fichiers uploadés */
.creation-ticket #preview-files {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
}

/* Style individuel des fichiers uploadés */
.creation-ticket .uploaded-file {
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fafafa;
  padding: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}
.creation-ticket .uploaded-file small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Bouton de suppression d'un fichier uploadé */
.creation-ticket .btn-close {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: #dc3545;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 0.8rem;
  line-height: 18px;
  cursor: pointer;
}

/* Bouton de soumission */
.creation-ticket button.btn-primary {
    background-color: var(--color-primary-button);
    border-color: var(--color-primary-button);
    transition: background-color 0.3s, border-color 0.3s;
}
.creation-ticket button.btn-primary:hover {
  background-color: var(--color-primary-button-hover);
  border-color: var(--color-primary-button-hover);
}

.detail-ticket .container {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Titre principal du ticket */
.detail-ticket h2 {
  color: #BFA456;
  font-size: 2rem;
  font-weight: bold;
  text-align: center;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* Titres secondaires et informations */
.detail-ticket h5 {
  color: #333;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-size: 18px;
}

.detail-ticket p {
  color: #555;
  line-height: 1.6;
}

/* Badge de statut du ticket */
.detail-ticket .badge {
  font-size: 14px;
  line-height: 1.7;
  font-weight: 500;
  padding: 0.4em 0.7em;
  border-radius: 4px;
}

/* Section des fichiers attachés au ticket */
.detail-ticket .attached-files {
  margin-bottom: 1.5rem;
}
.detail-ticket .attached-files h5 {
  margin-bottom: 1rem;
  color: #333;
}
.detail-ticket .attached-files a {
  color: #BFA456;
  text-decoration: none;
  transition: color 0.3s;
}
.detail-ticket .attached-files a:hover {
  color: #a58b40;
}

/* Formulaire de réponse */

.detail-ticket form#response-form .form-control {
  border-radius: 4px;
  border: 1px solid #ccc;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.detail-ticket form#response-form .form-control:focus {
  border-color: #BFA456;
  box-shadow: 0 0 0 0.2rem rgba(191, 164, 86, 0.25);
}

/* Zone d'upload des fichiers de réponse */
.detail-ticket #upload-zone-response {
    background-color: #ebebeb;
    border: 1px dashed #cead6a;
    border-radius: 6px;
    padding: 35px 15px !important;
    text-align: center;
    color: #888;
    margin-bottom: 1rem;
    transition: border-color 0.3s, background-color 0.3s;
    cursor: pointer;
}
.detail-ticket #upload-zone-response:hover {
  background-color: #f0f0f0;
  border-color: #BFA456;
}

/* Spinner pour l'upload des fichiers */
.detail-ticket #upload-spinner-response {
  margin-top: 1rem;
}
.detail-ticket #upload-spinner-response p {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #555;
}

/* Zone de prévisualisation des fichiers uploadés pour la réponse */
.detail-ticket #preview-files-response {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
}

/* Style individuel d'un fichier uploadé */
.detail-ticket .uploaded-file {
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fafafa;
  padding: 0.5rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
  width: 100px;
  text-align: center;
  position: relative;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.detail-ticket .uploaded-file small {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: #666;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Liste des réponses */
.detail-ticket .response {
  border: 2px solid #EBEBEB;
  border-radius: 5px;
  margin-bottom: 1.5rem;
}

.detail-ticket .response .name {
    background: #F1F1F1;
    border-bottom: 2px solid #EBEBEB;
    padding: 15px;
    display: flex;
    align-items: center;
}

.detail-ticket .response .name svg {
    margin-right: 10px;
}

.detail-ticket .response .message {
    padding: 20px 15px;
}

.detail-ticket .response .date {
    margin: 0 15px;
    text-align: right;
    border-top: 1px solid #D9D9D9;
    padding: 10px 0;
}

.detail-ticket .response strong {
  color: #333;
}
.detail-ticket .response p {
  margin: 0;
  color: #555;
}
.detail-ticket .response small {
  color: #888;
}

/* Style spécial pour les réponses d'admin */

.detail-ticket .admin-response strong {
  color: #007bff;
  margin-right: 8px;
}
.detail-ticket .admin-response p {
  margin: 0.5rem 0;
  color: #333;
}
.detail-ticket .admin-response small {
  color: #555;
}

.site-header {
    background-color: #FFF;
    box-shadow: 0px -5px 8.7px 4px rgba(0, 0, 0, 0.25);
}

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

.site-header .nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-header .nav-menu .nav-link {
    color: #3A4744;
    text-align: center;
    font-family: Lato;
    font-style: normal;
    line-height: normal;
    padding: 30px 20px;
}

.site-header .nav-right .btn-bg {
    display: inline-flex;
    padding: 10px 25px 10px 25px;
    align-items: center;
    border-radius: 28px;
    background-color: #BC9C5C;
    border: 1px solid #BC9C5C;
    color: #FFF;
    transition: .2s;
}

.site-header .nav-right .btn-bg:hover {
    background-color: var(--color-primary-button-hover);
    border-color: var(--color-primary-button-hover);
}

.site-header .nav-right .btn-logout:hover {
    color: #BC9C5C;
}

.card-connexion {
    margin: 75px 0;
    display: grid;
    grid-template-columns: 45% 55%;
}

.connexion-form-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 0px 0px 15px;
}

.connexion-form-wrapper {
    padding: 75px 80px;
    background-color: #FFF;
    border-radius: 0px 15px 15px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.connexion-form-wrapper .connexion-heading {
    color: #43735F;
    text-align: center;
    font-family: Lato;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
}

.connexion-form-wrapper .form-control {
    border-radius: 5px;
    background: #EBEBEB;
    padding: 12px 20px;
    display: block;
    width: 100%;
    height: 50px;
    border: 0;
}

.connexion-form-wrapper .form-group {
    margin-bottom: 25px;
}

.connexion-form-wrapper .connexion-checkbox {
    position: relative;
}

.connexion-form-wrapper .connexion-checkbox [type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.connexion-form-wrapper .connexion-checkbox label {
    position: relative;
    color: #43735F;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    padding-left: 35px;
    cursor: pointer;
}

.connexion-form-wrapper .connexion-checkbox label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    background-color: #D9D9D9;
    border-radius: 3px;
}

.connexion-form-wrapper .connexion-checkbox [type="checkbox"]:checked ~ label:before {
    content: '\f00c';
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 5 Pro";
    background-color: #bc9d5d;
    color: #FFF;
    font-size: 13px;
    padding-top: 2px;
}

.connexion-form-wrapper .flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.connexion-form-wrapper .login-mb-oublie {
    color: #7f7f7f;
    text-decoration: none;
    transition: .2s;
}

.connexion-form-wrapper .login-mb-oublie:hover {
    color: #BC9C5C;
}

.connexion-form-wrapper .submit-btn {
    border-radius: 50px;
    background: #BC9C5C;
    color: #FFF;
    padding: 12px 5px;
    width: 100%;
    border: 0;
    margin-bottom: 20px;
    transition: .2s;
}

.connexion-form-wrapper .submit-btn:hover {
    background-color: #43735F;
}

.connexion-link-inscrit {
    text-align: center;
    margin-bottom: 0;
}

.connexion-link-inscrit span {
    color: rgba(0, 0, 0, 0.50);
    font-family: Lato;
    font-style: normal;
    font-size: 18px;
}

.connexion-link-inscrit a {
    color: #43735F;
    font-family: Lato;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: .2s;
}

.connexion-link-inscrit a:hover {
    color: #BC9C5C;
}

.connexion-link-inscrit a:before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 6px;
    width: 55px;
    height: 2px;
    background-color: #bc9d5d;
    border-radius: 10px;
}

.forgot-password .submit-btn {
    margin-top: 0;
}

.back-login {
    text-align: center;
    margin-bottom: 0;
}

.back-login span {
    color: rgba(0, 0, 0, 0.50);
    font-family: Lato;
    font-style: normal;
    font-size: 18px;
}

.back-login a {
    color: #BC9C5C;
    font-family: Lato;
    font-size: 20px;
    font-style: normal;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    transition: .2s;
}

.back-login a:hover {
    color: #43735F;
}

.back-login a:before {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 6px;
    width: 55px;
    height: 2px;
    background-color: #43735F;
    border-radius: 10px;
}

#registrationForm .col_2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 15px;
}

.inscription-page .connexion-form-wrapper .connexion-heading {
    margin-bottom: 10px;
}

.switch-user-type {
    display: flex;
    justify-content: center;
    align-items: center;
    width: fit-content;
    margin: 25px auto 50px;
    background: #EBEBEB;
    border-radius: 30px;
    overflow: hidden;
}

.switch-user-type a {
    text-align: center;
    padding: 12px 25px;
    text-decoration: none;
    color: #555;
    transition: all 0.3s ease;
}

.switch-user-type a:hover,
.switch-user-type a.active {
    background-color: #BC9C5C;
    color: #fff;
}

.step-lines {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 10px;
}

.step-lines .line {
    height: 6px;
    width: 100%;
    background-color: #3A4744;
    border-radius: 10px;
    margin-top: 8px;
}

.step-lines .line.active {
    background-color: #BC9C5C;
}

.step-validation .subtitle {
    color: #0B3224;
    text-align: center;
    max-width: 432px;
    margin: 0 auto 50px;
}

.step-validation .gray {
    text-align: center;
    color: rgba(0, 0, 0, 0.50);
}

.step-validation .code-inputs {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-gap: 12px;
    margin-bottom: 15px;
}

.step-validation .code-inputs input {
    border-radius: 5px;
    background: #EBEBEB;
    width: 55px;
    height: 55px;
    border: 1px solid transparent;
    text-align: center;
    font-size: 22px;
    font-weight: 700;
}

.step-validation .code-inputs input::-webkit-outer-spin-button,
.step-validation .code-inputs input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.step-validation .code-inputs input[type=number] {
  -moz-appearance: textfield;
}

.step-validation .code-inputs input.error {
    border-color: #ed0505;
}

.resend-code {
    text-align: center;
    margin-bottom: 25px;
}

.resend-code span {
    color: #43735F;
}

.resend-code a {
    color: #BC9C5C;
}

.step-validation .submit-btn svg {
    margin-left: 8px;
    position: relative;
    top: -2px;
}

.email-modification > p {
    text-align: center;
    margin-bottom: 25px;
}

.email-modification > p span {
    color: #43735F;
}

.email-modification > p a {
    color: #BC9C5C;
}

.email-modification [name="telephone"] {
    padding-left: 50px;
}

.connexion-form-wrapper .connexion-checkbox {
    position: relative;
}

.switch-2fa [type="radio"] {
    position: absolute;
    opacity: 0;
}

.switch-2fa label {
    position: relative;
    color: #43735F;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
}

.switch-2fa label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    background-color: #D9D9D9;
    border-radius: 3px;
}

.switch-2fa [type="radio"]:checked ~ label:before {
    content: '\f00c';
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 5 Pro";
    background-color: #bc9d5d;
    color: #FFF;
    font-size: 13px;
    padding-top: 2px;
}

.trust-device-checkbox {
    position: relative;
    text-align: center;
}

.trust-device-checkbox [type="checkbox"] {
    position: absolute;
    opacity: 0;
}

.trust-device-checkbox label {
    position: relative;
    color: #43735F;
    font-family: Lato;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    padding-left: 35px;
    margin: 15px 0 25px;;
    cursor: pointer;
}

.trust-device-checkbox label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 22px;
    height: 22px;
    background-color: #D9D9D9;
    border-radius: 3px;
}

.trust-device-checkbox [type="checkbox"]:checked ~ label:before {
    content: '\f00c';
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Font Awesome 5 Pro";
    background-color: #bc9d5d;
    color: #FFF;
    font-size: 13px;
    padding-top: 2px;
}

[name="update_info"],
[name="update_password"],
[name="update_info"]:focus,
[name="update_password"]:focus {
    padding: 10px 25px 10px 25px;
    align-items: center;
    border-radius: 5px;
    background-color: #BC9C5C;
    border: 1px solid #BC9C5C;
    color: #FFF;
    transition: .2s;
}

.investir-filter .container {
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem auto;
    background-color: #FFF;
}

.investir-filter h2 {
    color: #CBB263;
    text-align: center;
    font-family: Lato;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px !important;
}

.investir-filter h3 {
    color: rgba(0, 0, 0, 0.50);
    font-family: Lato;
    font-style: normal;
    font-size: 22px;
    text-align: center;
    margin-bottom: 40px;
}

.search-form .columns {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.search-form .columns > div {
    width: 100%;
}

.search-form label {
    margin-bottom: 5px;
    font-size: 14px;
    color: #6C6C6C;
    text-align: left;
    display: block;
}

.search-form input,
.search-form select {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.search-form button,
.search-form button:focus {
    display: inline-flex;
    padding: 10px 40px 10px 40px;
    align-items: center;
    border-radius: 50px;
    background-color: var(--color-primary-button);
    border: 1px solid var(--color-primary-button);
    color: #FFF;
    font-size: 14px;
    margin-top: 25px !important;
    width: fit-content;
    transition: .2s;
}

.panier-card .container {
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem auto;
    background-color: #FFF;
}

.panier-card h4 {
    color: #CBB263;
    text-align: center;
    font-family: Lato;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.panier-card thead th {
    background-color: #43735F;
    color: #FFF;
    padding: 15px 10px;
    font-weight: 500;
} 

.product-selection .container {
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem auto;
    background-color: #FFF;
}

.product-selection h3 {
    color: #CBB263;
    text-align: center;
    font-family: Lato;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.gestion-products-card .listing-products  {
    padding-top: 25px;
    border-top: 1px solid #ebebeb;
}

.listing-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
}

.listing-products .card .card-img-top {
    height: 250px;
    object-fit: cover;
    border-radius: 10px 10px 0px 0px;
    border: 0 !important;
}

.gestion-products-card .listing-products .card .card-img-top {
    border: 2px solid #EBEBEB !important;
}

.listing-products .card .card-text {
    color: rgb(107 107 107);
}

.listing-products .card .btn-success {
    background-color: #BC9C5C;
    border-color: #BC9C5C;
}

.btn-invest-pack {
    display: block;
    width: fit-content;
    margin: 45px auto 0px;
    background-color: #BC9C5C;
    border-color: #BC9C5C;
}

.btn-invest-pack:hover {
    background-color: #43735F;
    border-color: #43735F;
}

.modal .close {
    background-color: unset;
    border: 0;
}

.modal .close span {
    font-size: 24px;
}

.modal-detail-product .modal-dialog {
  max-width: 850px;
}

.modal-detail-product .modal-content {
  border: none;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: unset;
}

.modal-detail-product .modal-header {
  background: #43735F;
  padding: 20px 25px;
  border-bottom: none;
}

.modal-detail-product .modal-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
}

.modal-detail-product .close {
  font-size: 1.5rem;
  color: #fff;
  opacity: 1;
}

.modal-detail-product .modal-body {
    background: #f9f9f9;
    padding: 30px 25px;
    border-radius: 12px !important;
}

.modal-detail-product .section-title {
    margin-bottom: 15px;
    font-size: 16px;
    font-weight: 500;
    color: #565656;
    border-bottom: 1px solid #D9D9D9;
    padding-bottom: 10px;
}

.modal-detail-product .info-group {
    margin-bottom: 25px;
}

.modal-detail-product .info-group p {
    margin: 8px 0;
    color: #000;
}

.modal-detail-product .price-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

.modal-detail-product .price-table th,
.modal-detail-product .price-table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: left;
}

.modal-detail-product .frais-columns {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
}

.modal-detail-product .frais-columns.grid-2 {
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 25px;
}

.modal-detail-product .frais-columns .title {
    border-radius: 2px 2px 0px 0px;
    background: #BC9C5C;
    text-align: center;
    color: #FFF;
    padding: 5px 5px 6px;
}

.modal-detail-product .frais-columns .value {
    padding: 5px 5px 6px;
    border-radius: 0px 0px 2px 2px;
    background: #EBEBEB;
    color: #7D7D7D;
    text-align: center;
}

.modal-detail-product .price-table th {
  background: #437360;
  color: #fff;
}

.modal-detail-product .photo-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.modal-detail-product .photo-gallery .photo-item {
  flex: 1 1 calc(50% - 10px);
  border: 1px solid #ddd;
  padding: 0px;
  background: #fff;
  border-radius: 5px;
}

.modal-detail-product .photo-gallery .photo-item img {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 5px;
    max-height: 250px;
    object-fit: cover;
}

.modal-detail-product .owner-info {
  background: #fff;
  padding: 15px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  margin-bottom: 20px;
}

.modal-detail-product .owner-info h6 {
  margin-top: 0;
  font-size: 1.15rem;
  color: #333;
}

.modal-detail-product .modal-footer {
    background: unset;
    padding: 15px 0;
    border: 0;
}

.modal-detail-product .btn-secondary {
  background-color: #6c757d;
  border-color: #6c757d;
  color: #fff;
}

.listing-products .card {
    border-radius: 10px;
    border: 0;
}

.panier-card [type="submit"] {
    display: block;
    width: fit-content;
}

.panier-card .btn-success {
    background-color: #0ca716;
    border-color: #0ca716;
}

.portefeuille-card .container {
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem auto;
    background-color: #FFF;
}

.portefeuille-card h2 {
    color: #CBB263;
    text-align: center;
    font-family: Lato;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 25px;
}

.empty-portfeuille .btn,
.empty-portfeuille .btn:focus {
    display: inline-flex;
    padding: 10px 25px 10px 25px;
    align-items: center;
    border-radius: 28px;
    background-color: #BC9C5C;
    border: 1px solid #BC9C5C;
    color: #FFF;
    transition: .2s;
}

.empty-portfeuille .btn:hover {
    background-color: #43735F;
    border: 1px solid #43735F;
}

.portefeuille-card:hover {
  transform: translateY(-3px);
}

.portefeuille-card .table {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 8px;
overflow: hidden;
}

.portefeuille-card .btn {
  padding: 8px 16px;
  font-size: 0.9rem;
  border-radius: 5px;
  transition: background 0.3s;
}

.portefeuille-card .btn-info {
  background: #17a2b8;
  color: #ffffff;
  border: none;
}

.portefeuille-card .btn-info:hover {
  background: #138496;
}

.portefeuille-card canvas {
  background: #f4f4f4;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
}

.portefeuille-recap {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 20px;
    max-width: 767px;
    margin: 40px auto 0;
}

.portefeuille-recap .column {
    text-align: center;
}

.portefeuille-recap .column-title {
    padding: 6px 10px 6px 10px;
    border-radius: 2px 2px 0px 0px;
    background: #43735F;
    color: #FFF;
}

.portefeuille-recap .column-value {
    border-radius: 0px 0px 2px 2px;
    background: #EBEBEB;
    padding: 6px 10px 6px 10px;
    color: #7D7D7D;
}

.portefeuille-recap .column-value .colorgreen {
    color: #009520;
    margin-left: 6px;
}

.portefeuille-recap .column-value .colorred {
    color: #ff0d0d;
    margin-left: 6px;
}

.portefeuille-card .table-striped thead th {
    background-color: #43735F;
    color: #FFF;
    padding: 15px 10px;
    font-weight: 500;
}

.modal-detail-commande .modal-header {
  background: #43735F;
  padding: 20px 25px;
  border-bottom: none;
}

.modal-detail-commande .modal-title {
  color: #fff;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 5px;
}

.modal-detail-commande .close {
  font-size: 1.5rem;
  color: #fff;
  opacity: 1;
}

.modal-detail-commande .modal-body {
    background: #f9f9f9;
    padding: 30px 25px;
    border-radius: 12px;
}

.gestion-products-card .container {
    border-radius: 12px;
    padding: 2rem;
    margin: 3rem auto;
    background-color: #FFF;
}

.panier-card .table {
    border-radius: 8px;
    overflow: hidden;
}

.btn-support {
    position: relative;
    font-size: 25px;
}

.btn-support span {
    position: absolute;
    top: 2px;
    right: -3px;
    width: 17px;
    height: 17px;
    color: #FFF;
    background-color: #e70500;
    font-size: 12px;
    border-radius: 50%;
}

.payment-methods {
  margin-bottom: 20px;
}

.payment-method-option {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  cursor: pointer;
}

.payment-method-option:hover {
  background-color: #f8f9fa;
}

.payment-method-option input[type="radio"] {
  margin-right: 10px;
}

.payment-method-option label {
  display: flex;
  align-items: center;
  margin-bottom: 0;
  cursor: pointer;
  width: 100%;
  font-weight: 600;
}

.payment-method-option img {
  margin-right: 10px;
  width: auto;
}

.payment-methods h5 {
    text-align: center;
    font-size: 26px;
    color: #bc9d5d;
    margin-bottom: 25px;
}

.signature-pad {
  position: relative;
  background-color: #fff;
}

.currency-switch-container {
    position: relative;
    display: inline-block;
}

.currency-switch {
    position: relative;
    cursor: pointer;
    z-index: 1000;
}

.currency-selected {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-radius: 6px;
    min-width: 90px;
    transition: all 0.3s ease;
}

.currency-selected:hover {
    border-color: #007bff;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.1);
}

.currency-selected.active {
    border-color: #007bff;
    box-shadow: 0 2px 8px rgba(0, 123, 255, 0.15);
}

.currency-flag {
    margin-right: 8px;
}

.currency-flag img {
    width: 17px;
    position: relative;
    top: -2px;
    border: 1px solid #c7c4c4;
    border-radius: 10px;
}

/* Drapeaux des devises */
.flag-eur { background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjE1IiBmaWxsPSIjMDAzMzk5Ii8+CjxjaXJjbGUgY3g9IjEwIiBjeT0iNy41IiByPSI0IiBzdHJva2U9IiNGRkNDMDAiIHN0cm9rZS13aWR0aD0iMC41IiBmaWxsPSJub25lIi8+Cjwvc3ZnPgo='); }
.flag-usd { background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyMCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHJlY3Qgd2lkdGg9IjIwIiBoZWlnaHQ9IjE1IiBmaWxsPSIjQjIyMjM0Ii8+CjxyZWN0IHdpZHRoPSIyMCIgaGVpZ2h0PSIxLjE1IiBmaWxsPSIjRkZGRkZGIi8+CjxyZWN0IHk9IjIuMyIgd2lkdGg9IjIwIiBoZWlnaHQ9IjEuMTUiIGZpbGw9IiNGRkZGRkYiLz4KPC9zdmc+Cg=='); }

.currency-code {
    font-weight: 600;
    font-size: 13px;
    color: #333;
}

.currency-selected i {
    margin-left: auto;
    font-size: 10px;
    color: #666;
    transition: transform 0.3s ease;
}

.currency-selected.active i {
    transform: rotate(180deg);
}

.currency-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e1e5e9;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.currency-dropdown.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.currency-option {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.currency-option:hover {
    background-color: #f8f9fa;
}

.currency-option.selected {
    background-color: #e3f2fd;
    color: #1976d2;
}

.currency-info {
    display: flex;
}

.currency-name {
    font-size: 11px;
    color: #666;
    margin-top: 1px;
}

/* Responsive */
@media (max-width: 768px) {
    
    .currency-selected {
        padding: 6px 8px;
        min-width: 60px;
    }
    
    .currency-name {
        display: none;
    }
}

body.app-logged {
    background: linear-gradient(180deg, #EBEBEB 0%, #D6D6D6 100%);
}

body.app-logged .main {
    display: flex;
    padding: 22px;
}

.app-siderbar {
    position: sticky;
    top: 22px;
    border-radius: 15px;
    background: #BC9C5C;
    padding: 18px;
    height: calc(100vh - 44px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 275px;
    max-width: 275px;
    margin-right: 25px;
    overflow: auto;
}

.app-siderbar .app-icon {
    text-align: center;
    margin-top: 15px;
    margin-bottom: 55px;
}

.app-siderbar .app-icon img {
    max-width: 172px;
    width: 100%;
}

.app-siderbar .nav-menu {
    list-style: none;
    padding: 0;
}

.app-siderbar .nav-link {
    border-radius: 15px;
    color: #EBEBEB;
    padding: 12px 15px 12px 15px;
    display: flex;
    align-items: center;
    text-decoration: none;
    margin-bottom: 5px;
    transition: .2s;
}

.app-siderbar .nav-link:hover,
.app-siderbar .menu-item.active .nav-link {
    background-color: #FFF;
    color: #BC9C5C;
}

.app-siderbar .nb_rep_non_lu {
    background-color: #fa0707;
    font-size: 12px;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 13px;
}

.app-siderbar .nav-link svg {
    margin-right: 14px;
    width: 20px;
    transition: .2s;
}

.app-siderbar .nav-link:hover svg path,
.app-siderbar .menu-item.active .nav-link svg path {
    fill: #43735F;
}

.app-siderbar .logout a {
    color: #EBEBEB;
    font-size: 15px;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    transition: .2s;
}

.app-siderbar .logout a:hover {
    color: #FFF;
}

.app-siderbar .logout a svg {
    margin-right: 12px;
    width: 25px;
}

.app-siderbar .logout a:hover svg path {
    fill: #FFF;
}

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

.app-header .profile-info {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.app-header .icon {
    margin-right: 15px;
}

.app-header .icon img {
    max-width: 53px;
    width: 100%;
}

.app-header .profile-info .name {
    text-align: left;
    font-size: 16px;
    font-weight: 700;
    color: #565656;
}

.app-header .profile-info .role {
    font-size: 14px;
    color: #7D7D7D;
}

.main .wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
}

.empty-data {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 50px;
    height: 100%;
}

.empty-data h2 {
    font-size: 27px;
    margin: 25px 0 5px;
    color: #3D3D3D;
    font-weight: 700;
}

.empty-data p {
    margin-bottom: 20px;
    color: #6C6C6C;
}

.empty-data .btn {
    background: #BC9C5C;
    border-color: #BC9C5C;
    border-radius: 50px;
    padding: 12px 25px 13px;
    transition: .2s;
}

.empty-data .btn:hover {
    background: #af9051;
    border-color: #af9051;
}

.section-title {
    color: #3D3D3D;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-card {
    border-radius: 15px;
    background: #FFF;
    padding: 25px 25px;
    margin-bottom: 35px;
}

.section-card thead th {
    background: #43735F;
    color: #FFF;
    font-weight: 400;
    padding: 10px 8px;
}

.section-card tbody td {
    font-weight: 400;
    padding: 12px 8px;
    color: #7D7D7D;
}

.section-card table {
    margin-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #EBEBEB;
}

.section-card table .viewOrderDetails {
    background: unset;
    border: 0;
}

.section-card table .viewOrderDetails svg {
    width: 16px;
    height: 16px;
    position: relative;
    top: -6px;
}

.section-card table .flex-arrow {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-detail-commande .modal-header,
.modal-prodChart .modal-header,
.modal-detail-product .modal-header {
    position: relative;
    background: #43735F;
    padding: 20px 25px;
    border-bottom: none;
    margin-bottom: 15px;
    border-radius: 12px;
}

.modal-detail-commande .modal-content,
.modal-prodChart .modal-content,
.modal-detail-product .modal-content {
    background-color: unset;
}

.modal-detail-commande .modal-header {
    display: unset;
}

.modal-detail-commande .modal-header .commande-date {
    font-family: Lato;
    color: #EBEBEB;
    font-size: 14px;
    font-style: normal;
    font-weight: 500;
    margin-bottom: 0;
}

.modal-detail-commande .modal-footer .btn,
.modal-prodChart .modal-footer .btn,
.modal-detail-product .modal-footer .btn {
    background-color: #43735F;
    border-color: #43735F;
} 

.modal-header .btn-close {
    position: absolute;
    top: 57%;
    right: 25px;
    transform: translateY(-50%);
}

#orderDetailsContent thead th {
    background: #43735F;
    color: #FFF;
    font-weight: 400;
    padding: 10px 8px;
}

#orderDetailsContent tbody td {
    font-weight: 400;
    padding: 12px 8px;
    color: #7D7D7D;
}

#orderDetailsContent table {
    margin-bottom: 0;
}

#orderDetailsContent .viewProductChart {
    background-color: #BC9C5C;
    border-color: #BC9C5C;
}

.modal-prodChart {
    background-color: rgb(0 0 0 / 65%);
}

.modal-prodChart .modal-body,
.modal-detail-product .modal-body {
    background-color: #FFF;
    border-radius: 12px 12px 0 0;
}

.modal-prodChart .modal-header h5 {
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 0;
}

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

.modal-footer {
    padding: 15px 0;
}

.modal-footer .btn {
    margin: 0;
}

.wallet-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-bottom: 35px;
    background-color: #FFF;
    border-radius: 15px;
    padding: 25px 0px;
}

.wallet-columns .column {
    display: flex;
    align-items: center;
    padding: 8px 50px;
}

.wallet-columns .column:not(:last-child) {
    border-right: 1px solid #DBDBDB;
}

.wallet-columns .icon {
    margin-right: 20px;
}

.wallet-columns .column-title {
    color: #565656;
    font-weight: 600;
}

.wallet-columns .column-value {
    color: #BC9C5C;
    font-size: 24px;
}

.wallet-columns .column-value .colorgreen {
    font-size: 14px;
    color: #008000;
    margin-left: 5px;
}

.wallet-columns .column-value .colorred {
    font-size: 14px;
    color: #ff0d0d;
    margin-left: 5px;
}

.market-filter-card {
    text-align: center;
    font-size: 22px;
    color: #6C6C6C;
}

.market-filter-card .title {
    text-align: center;
    font-size: 20px;
    color: #6C6C6C;
    margin-bottom: 25px;
}

.market-filter-card .choices__input {
    padding: 4px;
    border: 0;
    margin: 0 !important;
    background-color: #ebebeb;
}

.market-filter-card .form-control {
    background-color: #EBEBEB;
    border: 0 !important;
    height: 44px;
    padding: 5px 10px;
    font-size: 14px;
}

.market-filter-card .choices__inner {
    border: 0;
    height: 44px;
    background-color: #ebebeb;
}

.product-item .card-body {
    padding: 0;
}

.product-item .card-title {
    background-color: #43735F;
    color: #FFF;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    padding: 10px;
    margin-bottom: 0;
}

.product-item .table {
    border: 0 !important;
    border-radius: 0 !important;
}

.product-item .table td:first-child {
    background-color: #EBEBEB;
    color: #7D7D7D;
    border: 0;
}

.product-item .table td:last-child {
    background-color: #E1E1E1;
    color: #7D7D7D;
    border: 0;
    width: 105px;
    padding: 8px 15px;
}

.product-item .table td {
    padding: 8px 12px;
}

.product-feedback {
    background-color: #FFF;
    margin: 0 !important;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.listing-products .flex-buttons {
    display: flex;
    align-items: center;
    margin-top: 0;
}

.listing-products .flex-buttons > .btn {
    margin-left: 10px;
    width: 100%;
}

.listing-products .product-comments {
    text-align: right;
}

.modal-detail-product .section-title .bg-primary {
    background-color: #bc9d5d !important;
}

.add-comment-section .btn {
    background-color: #bc9d5d !important;
    border-color: #bc9d5d !important;
    transition: .2s;
}

.add-comment-section .btn:hover {
    background-color: #43735F !important;
    border-color: #43735F !important;
}

.modal-footer {
    border: 0;
}

.gestion-products-card .flex-buttons .btn {
    border-color: #BC9C5C;
    background: #BC9C5C;
    margin-left: 0;
    margin-top: 10px;
    color: #FFF;
    transition: .2s;
}

.gestion-products-card .flex-buttons .btn:hover {
    background: var(--color-primary-button-hover);
    border-color: var(--color-primary-button-hover);
}

.gestion-products-card .listing-products {
    grid-template-columns: repeat(4, 1fr);
}

.listing-products .card .card-img-top {
    height: 175px;
}

.split-form-right {
    width: 100%;
}

.tox .tox-edit-area__iframe {
    background-color: #ebebeb !important;
}

/* Styles pour le système multi-étapes */
.steps-container {
    margin: 0 auto;
    padding: 10px 85px;
}

.step-content h2,
.split-form-right h2 {
    font-size: 22px;
    color: #6C6C6C;
    margin-bottom: 22px;
}

.nav-tabs .nav-link i {
    color: #bc9d5d !important;
}

.steps-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.steps-header::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    text-align: center;
}

.step-number {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #ddd;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.step-title {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.step-item.active .step-number {
    background-color: var(--color-primary);
    color: white;
}

.step-item.completed .step-number {
    background-color: #28a745;
    color: white;
}

.step-item.active .step-title {
    color: var(--color-primary);
    font-weight: 600;
}

/* Responsive pour les étapes */
@media (max-width: 768px) {
    .steps-header {
        flex-direction: column;
        gap: 20px;
    }
    
    .steps-header::before {
        display: none;
    }
    
    .step-item {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
    }
    
    .step-number {
        margin-bottom: 0;
        margin-right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

.step-content .btn {
    width: 100%;
    border-radius: 50px;
}

#addPriceForm .col--2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 25px;
}

#addPriceForm .btn {
    display: block;
    width: fit-content;
    border-radius: 50px;
    min-width: 200px;
}

.nav-tabs .nav-link.active i {
    color: #495057 !important;
}

.input-group-text {
    border: 0;
    height: 100%;
}

.editbtn {
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    padding: 0 !important;
    background-color: #437360;
    border-color: #437360;
    color: #FFF !important;
    margin: 0 5px;
}

.editbtn:hover {
    background-color: #376553;
    border-color: #376553;
}

.deletebtn {
    width: 38px;
    height: 38px;
    border-radius: 50% !important;
    padding: 0 !important;
    background-color: #dc3545;
    border-color: #dc3545;
    color: #FFF !important;
    margin: 0 5px;
}

.deletebtn:hover {
    background-color: #bb2d3b;
    border-color: #bb2d3b;
}

#editPriceFormContainer {
    padding: 25px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    margin-top: 20px;
}

#editPriceFormContainer h5 {
    font-size: 22px;
    color: #6C6C6C;
    margin-bottom: 22px
}

#editPriceFormContainer .col--2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 20px;
    margin-bottom: 20px;
}

#editPriceFormContainer .btns {
    text-align: center;
}

#editPriceFormContainer .btn {
    border-radius: 50px;
    margin: 0 5px;
}

#produitForm .btns {
    text-align: center;
}

#produitForm .btns .btn {
    border-radius: 50px;
    margin: 0 5px;
}

.creation-ticket .btns {
    display: flex;
    align-items: center;
}

.btns .btn {
    border-radius: 50px;
    margin: 0 5px;
    width: 100%;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 23px;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 23px;
}

.header-card .controls {
    display: flex;
    align-items: center;
}

.header-card .controls .btn {
    margin-left: 15px;
}

.header-card .title {
    font-weight: 600;
    font-size: 18px;
}

.detail-ticket .de {
    margin-bottom: 20px;
    font-weight: 600;
}

.bloc-sign-contrat {
    text-align: center;
}

.bloc-sign-contrat p {
    font-size: 18px;
    color: #ff0909;
    margin-top: 0;
}

/* Header du blog */
.blog-header {
    background: linear-gradient(135deg, #bc9d5d 0%, #a58748 100%);
    color: white;
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}

.blog-header::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 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,60 0,100"/></svg>');
    background-size: cover;
}

.blog-header-content {
    position: relative;
    z-index: 2;
}

.blog-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.blog-subtitle {
    font-size: 1.3rem;
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 2rem;
}

/* Barre de recherche */
.search-container {
    max-width: 768px;
    margin: 2rem auto 0;
    position: relative;
}

.search-form {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.search-input {
    flex: 1;
    min-width: 250px;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #C49A5F;
    z-index: 10;
}

.tag-select {
    padding: 0.75rem 1rem;
    border: none;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    min-width: 150px;
}

.search-btn {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: 50px;
    background: #2c3e50;
    color: white;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

/* Section articles à la une */
.featured-section {
    margin: 3rem 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.featured-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
}

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

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #C49A5F;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 10;
}

/* Cards d'articles */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.article-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.article-image {
    width: 100%;
    min-height: 200px;
    max-height: 200px;
    object-fit: cover;
    background: #f8f9fa;
}

.article-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f8f9fa, #dee2e6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 3rem;
}

.article-content {
    padding: 1.5rem;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    color: #6c757d;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-date {
    font-size: 0.85rem;
}

.article-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.article-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.article-title a:hover {
    color: #C49A5F;
}

.article-excerpt {
    color: #333;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.article-tags {
    margin-bottom: 1rem;
}

.tag {
    display: inline-block;
    background: #f8f9fa;
    color: #333;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.tag:hover {
    background: #C49A5F;
    color: white;
    transform: translateY(-2px);
}

.read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #C49A5F;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: auto;
}

.read-more:hover {
    background: #ad864f;
    color: white;
    transform: translateX(5px);
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin: 3rem 0;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination a,
.pagination span {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.pagination a {
    background: white;
    color: #333;
    border: 1px solid #e0e0e0;
}

.pagination a:hover {
    background: #C49A5F;
    color: white;
    transform: translateY(-2px);
}

.pagination .current {
    background: #C49A5F;
    color: white;
}

.pagination .disabled {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

/* Message vide */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.empty-icon {
    font-size: 4rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.empty-text {
    color: #6c757d;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .blog-title {
        font-size: 2.5rem;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input,
    .tag-select,
    .search-btn {
        width: 100%;
    }
    
    .articles-grid,
    .featured-grid {
        grid-template-columns: 1fr;
    }
    
    .article-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

.blog-header-content .search-input {
    border-radius: 50px;
    padding: 10px 25px;
    min-width: 300px;
}

.blog-header-content .tag-select {
    color: #757575;
    border-radius: 50px;
    padding: 10px 25px;
}

.blog-header-content .search-form {
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-header-content .search-btn {
    margin-top: 0 !important;
    background-color: #FFF;
    color: #b3985f;
}

/* Header de l'article */
.article-header {
    background: linear-gradient(135deg, #bc9d5d 0%, #a58748 100%);
    color: white;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.app-logged .article-header {
    border-radius: 15px;
}

.article-header::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 1000 100" fill="white" opacity="0.1"><polygon points="0,0 1000,0 1000,60 0,100"/></svg>');
    background-size: cover;
}

.article-header-content {
    position: relative;
    z-index: 2;
}

.breadcrumb-custom {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.breadcrumb-custom a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-custom a:hover {
    color: white;
}

.article-title-main {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.article-meta-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    opacity: 0.9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Contenu de l'article */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
}

.article-featured-image {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.article-content {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    margin-bottom: 25px;
    line-height: 1.8;
    font-size: 1.1rem;
    color: #333;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    color: #2c3e50;
    margin-top: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.article-content p {
    margin-bottom: 1.5rem;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1.5rem 0;
}

.article-tags-section {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.article-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    display: inline-block;
    background: #43735F;
    border-color: #43735F;
    color: #FFF;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

.tag:hover {
    background: #C49A5F;
    color: white;
    transform: translateY(-2px);
}

/* Section commentaires */
.comments-section {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    margin-bottom: 3rem;
}

.comments-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.comment-form textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
    margin-bottom: 1rem;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #C49A5F;
    box-shadow: 0 0 0 3px rgba(196, 154, 95, 0.1);
}

.comment-btn {
    background: #C49A5F;
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 25px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.3s ease;
}

.comment-btn:hover {
    background: #ad864f;
    transform: translateY(-2px);
}

.comment-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.comment-item {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.comment-item:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.comment-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.comment-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #2c3e50;
}

.comment-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.comment-content {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.comment-actions {
    display: flex;
    gap: 1rem;
}

.reply-btn {
    background: none;
    border: none;
    color: #C49A5F;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

.reply-btn:hover {
    color: #ad864f;
}

.reply-form {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    display: none;
}

.reply-form.show {
    display: block;
    animation: slideDown 0.3s ease;
}

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

.comment-replies {
    margin-left: 2rem;
    margin-top: 1rem;
    border-left: 3px solid #f8f9fa;
    padding-left: 1rem;
}

/* Articles similaires */
.related-articles {
    background: white;
    border-radius: 15px;
    padding: 3rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.related-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2rem;
    text-align: center;
}

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

.related-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.related-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #f8f9fa;
}

.related-placeholder {
    width: 100%;
    height: 150px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
    font-size: 2rem;
}

.related-content {
    padding: 1rem;
}

.related-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.related-card-title a {
    color: inherit;
    text-decoration: none;
}

.related-card-title a:hover {
    color: #C49A5F;
}

.related-date {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Alertes */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.alert-success {
    background: #d1edff;
    color: #0c5460;
    border: 1px solid #b8daff;
}

.alert-danger {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 768px) {
    .article-title-main {
        font-size: 2rem;
    }
    
    .article-meta-header {
        gap: 1rem;
    }
    
    .article-content,
    .comments-section,
    .related-articles {
        padding: 1.5rem;
    }
    
    .comment-replies {
        margin-left: 1rem;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
}

.market-filter-card .search-form .columns {
    width: 100%;
}

.market-filter-card .search-form {
    justify-content: center;
}

#footer-content.btns {
    display: flex;
    align-items: center;
    margin: 0 15px;
}

#footer-content.btns > button {
    margin: 0;
}

#footer-content.btns form {
    width: 100%;
    margin-left: 10px;
}

.payment-page > h2 {
    color: #3D3D3D;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
}

.app-logout .blog-header {
    border-radius: 0;
}

.app-logout .contact-hero {
    border-radius: 0;
}

.app-logout .hero-section {
    border-radius: 0;
}

.currency-radio-switch {
    display: flex;
    align-items: center;
}

.currency-radio-switch .currency-radio-option {
    display: flex;
    align-items: center;
    position: relative;
    margin-right: 10px;
}

.currency-radio-switch .currency-radio-label {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #FFF;
    border: 1px solid #bfbfbf;
    padding: 5px 8px;
    margin-bottom: 0;
    border-radius: 10px;
    cursor: pointer;
}

.currency-radio-switch .currency-radio-option [type="radio"] {
    position: absolute;
    opacity: 0;
}

.currency-radio-switch .currency-radio-option .currency-radio-label:hover {
    border-color: #bc9d5d;
}

.currency-radio-switch .currency-radio-option.active .currency-radio-label {
    background-color: #bc9d5d;
    border-color: #bc9d5d;
}

.currency-radio-switch .currency-radio-option.active .currency-radio-label .currency-code {
    color: #FFF;
}

.app-header .left-column {
    display: flex;
    align-items: center;
}

.lang-currency .language-link {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #FFF;
    border: 1px solid #bfbfbf;
    padding: 5px 8px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    color: #333;
    text-decoration: none;
    transition: .2s;
}

.lang-currency .language-link:hover {
    border-color: #bc9d5d;
}

.lang-currency .language-link img {
    width: 17px;
    position: relative;
}

.lang-currency .switch-devis {
    position: relative;
    padding-left: 15px;
    margin-left: 15px;
}

.lang-currency .switch-devis:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: #bfbfbf;
}

.site-header .nav-right .language-link {
    display: inline-flex;
    padding: 10px 25px 10px 20px;
    margin-right: 10px;
    align-items: center;
    border-radius: 28px;
    background-color: #FFF;
    border: 1px solid #BC9C5C;
    color: #BC9C5C;
    text-decoration: none;
    transition: .2s;
}

.site-header .nav-right .language-link:hover {
    background-color: var(--color-primary-button-hover);
    color: #FFF;
}

.site-header .nav-right {
    display: flex;
    align-items: center;
}

.responsive-site-menu {
    display: none;
}

.btn-menu {
    display: none;
}

.btn-open-appmenu {
    display: none;
}

.btn-close-appmenu {
    display: none;
}

.lang-currency {
    display: flex;
}

.btn-open-sitemenu {
    display: none;
}

.app-header .logo {
    display: none;
}

body.prevent {
    overflow: hidden;
}

.nav-tabs .nav-link,
.nav-tabs .nav-link:hover {
    color: #BC9C5C;
    outline: 0 !important;
    box-shadow: unset !important;
}

.grecaptcha-badge {
    display: none !important;
}

@media (max-width: 1138px) {

    .app-header .profile-info {
        display: none;
    }

    .app-siderbar {
        position: absolute;
        left: -200%;
        opacity: 0;
        visibility: hidden;
    }

    .btn-open-appmenu {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #bc9c5c;
        min-width: 39px;
        width: 39px;
        height: 39px;
        border-radius: 50%;
        padding: 11px;
    }

    .app-siderbar.show {
        left: 22px;
        opacity: 1;
        visibility: visible;
        z-index: 999999;
    }

    .btn-close-appmenu {
        display: block;
        position: absolute;
        top: 75px;
        right: 0;
        background-color: #FFF;
        color: #bc9c5c;
        padding: 8px 6px 8px 6px;
        border-radius: 5px 0px 0px 5px;
    }

    body.prevent-app {
        overflow: hidden;
    }

    body.prevent-app .main:after {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgb(0 0 0 / 75%);
    }

    .app-header .logo {
        display: block;
        max-width: 155px;
        width: 100%;
    }

    .app-header .left-column {
        width: 100%;
    }

    .app-header .left-column .lang-currency {
        margin-left: auto;
        margin-right: 10px;
    }

    .app-header {
        margin-bottom: 25px;
        padding-bottom: 20px;
        border-bottom: 1px solid #CCC;
    }

}

@media (max-width: 992px) {

    .btn-close-sitemenu {
        position: absolute;
        top: 10px;
        right: 15px;
        color: #000;
        cursor: pointer;
    }

    .btn-menu {
        display: block;
    }

    .site-header #nav_menu_site,
    .site-header #nav_right_menu_site {
        display: none;
    }

    .site-header {
        padding: 10px 0;
    }

    .site-header .nav-right {
        margin-left: auto;
    }

    .btn-open-sitemenu {
        display: inline-flex;
        padding: 9px;
        margin-left: 10px;
        align-items: center;
        border-radius: 28px;
        border: 1px solid #BC9C5C;
        background-color: #BC9C5C;
        width: 39px;
        height: 39px;
        text-decoration: none;
        transition: .2s;
    }

    .btn-open-sitemenu i {
        position: relative;
        top: 1px;
        margin-right: 6px;
    }

    .site-header .logo img {
        width: 150px;
    }

    .connexion-form-wrapper {
        padding: 75px 25px;
    }

    .responsive-site-menu.show {
        display: block;
        width: 100%;
        height: 100%;
        background-color: rgb(0 0 0 / 75%);
        position: absolute;
        top: 0;
        left: 0;
        z-index: 999999999;
    }

    .responsive-site-menu .column {
        position: relative;
        max-width: 250px;
        width: 100%;
        background-color: #FFF;
        height: 100%;
        overflow: auto;
    }

    .responsive-site-menu .logo {
        max-width: 150px;
        margin: 75px auto 70px;
        display: block;
    }

    .responsive-site-menu .nav-menu {
        list-style: none;
        padding: 0;
    }

    .responsive-site-menu .nav-link {
        padding: 15px;
        color: #000;
        border-top: 1px solid #ececec;
    }

    .responsive-site-menu .menu-item:last-child .nav-link {
        border-bottom: 1px solid #ececec;
    }

    .card-connexion {
        grid-template-columns: 40% 60%;
    }

    .connexion-link-inscrit span,
    .back-login span {
        font-size: 16px;
    }

    .connexion-link-inscrit a,
    .back-login a {
        font-size: 18px;
    }

    .wallet-columns .column {
        padding: 8px 15px;
    }

    #nav_right_menu_site {
        display: flex;
        flex-direction: column;
    }

    #nav_right_menu_site .language-link {
        order: 2;
        border: 1px solid #BC9C5C;
        border-radius: 0;
        color: #BC9C5C;
        text-align: left;
        padding: 15px;
        margin-top: 15px;
        text-decoration: none;
    }

    #nav_right_menu_site .btn-bg {
        order: 1;
        background-color: #BC9C5C;
        border-radius: 0;
        color: #FFF;
        text-align: left;
        padding: 15px;
    }

    .listing-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .gestion-products-card .listing-products {
        grid-template-columns: repeat(2, 1fr);
    }

}

@media (max-width: 767px) {

    .wallet-columns {
        grid-template-columns: repeat(1, 1fr);
    }

    .app-header .lang-currency {
        display: none;
    }

    #lang_currency .lang-currency {
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 25px;
    }

    .app-siderbar .app-icon {
        margin-bottom: 35px;
    }

    #lang_currency .lang-currency .currency-radio-switch .currency-radio-option {
        margin-right: 0;
    }

    #lang_currency .lang-currency .switch-devis {
        padding-left: 14px;
        margin-left: 13px;
    }

    .currency-switch-container {
        margin-left: 0;
    }

    .currency-code {
        font-size: 12px;
    }

    .lang-currency .language-link {
        font-size: 12px;
    }

    .app-header .profile-info .name {
        font-size: 16px;
    }

    .app-header .profile-info .role {
        font-size: 13px;
    }

    .app-header .icon img {
        max-width: 45px;
    }

    body.app-logged .main {
        padding: 22px 10px;
    }

    .wallet-columns {
        padding: 13px 0px 10px;
    }

    .wallet-columns .column {
        padding: 8px 20px;
    }

    .section-card {
        padding: 20px 15px;
    }

    .portefeuille-recap {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 10px;
    }

    .app-siderbar.show {
        left: 10px;
    }

    .market-filter-card .search-form .columns {
        flex-direction: column;
    }

    .market-filter-card .title {
        font-size: 18px;
    }

    .card-connexion {
        grid-template-columns: 100%;
    }

    .connexion-form-media {
        border-radius: 15px 15px 0px 0px;
        overflow: hidden;
    }

    .connexion-form-media img {
        transform: scale(1.1);
    }

    .connexion-form-wrapper {
        border-radius: 0px 0px 15px 15px;
    }

    .connexion-form-media img {
        height: 225px;
    }

    .card-connexion {
        margin: 35px 0;
    }

    .connexion-form-wrapper {
        padding: 55px 15px 65px;
    }

    .account-update-container .col_2 {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 0px;
    }

    .listing-products {
        grid-template-columns: repeat(1, 1fr);
    }

    .section-card {
        margin-bottom: 25px;
    }

    .switch-user-type a {
        padding: 12px 15px;
    }

    .modal-detail-commande .modal-header, 
    .modal-prodChart .modal-header, 
    .modal-detail-product .modal-header {
        padding: 20px 15px;
    }

    .modal-detail-commande .modal-body {
        padding: 30px 15px;
    }

    .modal-header .btn-close {
        top: 38%;
        right: 15px;
    }

    .modal-lg {
        max-width: 100% !important;
    }

    .gestion-products-card .listing-products {
        grid-template-columns: repeat(1, 1fr);
    }

    .contact-form-section, 
    .contact-info-section {
        padding: 2rem 1rem;
    }

    .contact-hero {
        padding: 2rem 0 4rem;
    }

    .market-filter-card [type="submit"] {
        margin-top: 0 !important;
        margin: auto;
    }

    .payment-methods svg {
        width: 100%;
    }

}

.apple-pay-container {
    max-width: 500px;
    margin: 0px auto;
    width: 100%;
}

.apple-pay-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    overflow: hidden;
}

.apple-pay-header {
    background: linear-gradient(135deg, #1d1d1f, #2d2d30);
    color: white;
    padding: 30px;
    text-align: center;
}

.apple-pay-logo {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.apple-pay-body {
    padding: 30px;
}

.order-summary {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
}

.payment-button-container {
    text-align: center;
    margin: 30px 0;
}

.apple-pay-button-large {
    -webkit-appearance: -apple-pay-button;
    -apple-pay-button-style: black;
    -apple-pay-button-type: buy;
    width: 200px;
    height: 50px;
    cursor: pointer;
    border-radius: 8px;
    margin: auto;
}

.apple-pay-container .loading-spinner {
    display: none;
    text-align: center;
    margin: 20px 0;
}

.apple-pay-container .spinner {
    border: 3px solid #f3f3f3;
    border-top: 3px solid #BC9C5C;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

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

@media (max-width: 767px) {

    .step-validation .code-inputs {
        grid-gap: 8px;
    }

    .step-validation .code-inputs input {
        width: 45px;
        height: 45px;
    }

}

.investment-type-selection [type="radio"]:checked {
    background-color: #bc9d5d;
    border-color: #bc9d5d;
}

.investment-type-selection .form-check-input:focus {
    box-shadow: 0 0 0 .25rem rgb(188 157 93 / 25%);
}
