* {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      font-family: sans-serif;
    }

    body {
      background-color: #f8f9fa;
      padding: 3rem;
    }

    .form-container {
      max-width: 650px;
      background: white;
      margin: 0 auto;
      border-radius: 10px;
      box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
      padding: 2rem;
    }

    .form-container h3 {
      color: #2a7da2;
      margin-bottom: 0.5rem;
      text-align: center;
    }

    .form-container p {
      color: #6c757d;
      text-align: center;
      margin-bottom: 2rem;
    }

    .form-group {
      margin-bottom: 1rem;
    }

    .form-label {
      display: block;
      margin-bottom: 0.5rem;
      font-weight: bold;
    }

    .form-input {
      width: 100%;
      padding: 0.5rem;
      border: 1px solid #ced4da;
      border-radius: 5px;
    }

    .form-row {
      display: flex;
      gap: 1rem;
    }

    .form-row > .form-group {
      flex: 1;
    }

    .btn {
      background-color: #2a7da2;
      color: white;
      border: none;
      padding: 0.75rem;
      width: 100%;
      border-radius: 5px;
      cursor: pointer;
      font-weight: bold;
    }

    .btn:hover {
      background-color: #256d8a;
    }

    .rdv-flex {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 2rem;
      margin-top: 2rem;
      flex-wrap: nowrap;
      max-width: 1000px;
      margin-left: auto;
      margin-right: auto;
    }

    .calendar-container {
  flex: 1;
  background-color: white;
  color: #2a7da2;
  padding: 2rem;
  border-radius: 15px;
  max-width: 600px;
  margin-top: 2rem;
  border: 1px solid #ced4da;
}

    .calendar-table {
      width: 100%;
      table-layout: fixed;
      border-collapse: collapse;
    }

    .calendar-table th,
    .calendar-table td {
      text-align: center;
      padding: 10px;
      border-radius: 50%;
    }

    .calendar-table td {
      background-color: lightblue;
      color: white;
      font-weight: bold;
      cursor: pointer;
    }


    .calendar-table td:hover {
      transform: scale(1.1);
      background-color: #4BAAC8;
}
    .calendar-table td:empty {
      pointer-events: none;
      background-color: transparent !important;
      cursor: default !important;
    }



    .selected-day {
      background-color: #2a7da2 !important;
      color: white !important;
      font-weight: bold;
}

    .time-panel {
      background-color: white;
      border-left: 2px solid #ddd;
      padding: 1.5rem;
      border-radius: 10px;
      width: 280px;
      display: none;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

    .time-slot {
      border: 1px solid #ccc;
      border-radius: 10px;
      padding: 0.5rem;
      margin-bottom: 0.5rem;
      cursor: pointer;
      text-align: center;
      background-color: #f9f9f9;
    }

    .time-slot:hover {
      background-color: #e6f2ff;
    }

    .time-slot.disabled {
      background-color: #eee !important;
      color: #888 !important;
      cursor: not-allowed;
      pointer-events: none;
    }

    .selected {
      background-color: #2a7da2 !important;
      color: white !important;
      font-weight: bold;
    }

    .hidden {
      display: none;
    }

    .month-nav {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 1rem;
    }

    .month-nav button {
      background: #2a7da2;
      border: none;
      border-radius: 50%;
      width: 36px;
      height: 36px;
      font-weight: bold;
      color: white;
      cursor: pointer;
}

    .merci-container {
      max-width: 600px;
      margin: 3rem auto;
      padding: 2rem;
      border-radius: 10px;
      color: #155724;
      text-align: center;
      font-size: 20px;
      background-color: white;
    }

    .btn-success {
      background-color: #198754;
      color: white;
      padding: 0.6rem 1rem;
      border-radius: 5px;
      border: none;
      cursor: pointer;
      margin-left: 25px;
      margin-top: 12px;
    }

    .btn-success:hover {
      background-color: #157347;
    }

    .fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeSlideIn 0.5s ease forwards;
}

.logo {
  width: 300px;
  height: auto;
  padding-bottom: 30px;
}
.alignements{
  text-align: center;
}

h5 {
  padding-bottom: 20px;
  font-size: 15px;
}

@keyframes fadeSlideIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


.day-disabled {
  background-color: rgb(170, 170, 170) !important;
  color: white !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
  opacity: 1 !important;
}

.month-nav button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}