/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto; /* 15% from the top and centered */
  padding: 20px;
  border: 1px solid #888;
  width: 80%; /* Could be more or less, depending on screen size */
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.centered-text {
  text-align: center;
  margin: 0 auto;
  max-width: 600px; /* Optional: Adjust the max-width as needed */
}

.cookie-notification, .cookie-details {
    display: none; /* Masqué par défaut */
    position: fixed;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 15px;
    z-index: 1000;
}

.cookie-notification {
    bottom: 0;
}

.cookie-notification p {
    margin: 0;
    padding: 0 10px;
}

.cookie-notification button, .cookie-details button {
    margin: 10px;
    padding: 10px 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    cursor: pointer;
}

.cookie-notification button:hover, .cookie-details button:hover {
    background-color: #0056b3;
}

.cookie-details {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #fff;
    color: #000;
    padding: 20px;
    border: 1px solid #888;
    z-index: 1001;
    text-align: center;
}

.cookie-details .cookie-option {
    margin: 10px 0;
    text-align: left; /* Align text to the left within the container */
}

.cookie-details .cookie-option p {
    margin: 5px 0 0 20px;
    font-size: 0.9em;
    color: #666;
}

/* Footer */
footer {
    text-align: center;
    margin: 20px 0;
}

footer a {
    color: #007BFF;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Styles pour le modal */
.modal {
    display: none; /* Masqué par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Couleur de fond avec transparence */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px; /* Largeur maximale */
    text-align: center;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

/* Styles pour le modal */
.modal {
    display: none; /* Masqué par défaut */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5); /* Couleur de fond avec transparence */
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border: 1px solid #888;
    width: 80%;
    max-width: 500px; /* Largeur maximale */
    text-align: center;
}

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.get-insuracne-two__balance-box {
    margin-top: 0px; /* Ajout d'espace entre le slider et le champ de montant */
}

.get-insuracne-two__balance {
    font-size: 1.2em;
    font-weight: bold;
}

input[type="range"] {
    width: 100%;
    margin: 10px 0;
}

.main-header-two__top-menu-social-box {
    display: flex;
    align-items: center;
}

.main-header-two__top-social a {
    margin-right: 10px; /* Add spacing between each icon */
}

.main-header-two__language-switcher {
    margin-left: 20px; /* Add space between the last social icon and the language switcher */
}

.main-header-two__language-switcher select {
    padding: 5px 10px;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
    color: #333;
}


