/** Artist Calendar */
.custom-tooltip {
  --bs-tooltip-bg: rgba(
    0,
    0,
    0,
    1
  ) !important; /* Fully opaque black background */
}

.tab-content > .tab-pane {
  display: none;
}
.tab-content > .active {
  display: block;
}
.tab-content {
  height: auto !important;
  overflow: visible !important;
}
#smartwizard .tab-content {
  height: auto !important;
  overflow: visible !important;
}
select[multiple] {
  height: 220px !important;
  display: block;
  width: 100%;
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

select[multiple]:focus {
  border-color: #86b7fe;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Optional: Style for when an option is selected */
select[multiple] option:checked {
  background-color: #0d6efd;
  color: #fff;
}

.ck-editor__editable_inline {
  background-color: white !important;
  border: 1px solid #ccc !important;
  min-height: 200px; /* Adjust this value as needed */
}

.ck.ck-editor__main > .ck-editor__editable {
  background-color: white !important;
  border: 1px solid #ccc !important;
}

.ck.ck-editor__main > .ck-editor__editable:focus {
  border-color: #66afe9 !important;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25) !important;
}
.inline-radio .form-check {
  display: inline-block;
  margin-right: 15px;
}
.event-row {
  background-color: #f8f9fa;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 5px;
  width: 100%;
  display: block;
}
.remove-event {
  color: red;
  cursor: pointer;
}
/* New styles to ensure proper growth */
#eventsContainer {
  width: 100%;
  height: auto;
  min-height: 100px;
  overflow: visible;
  display: block;
}
.card-body {
  height: auto !important;
  overflow: visible !important;
}

#wizard_EventDetails {
  height: auto !important;
  min-height: 400px;
  overflow: visible !important;
}

.picker__input {
  background-color: #fff !important;
}
@media (max-width: 767px) {
  .ck.ck-toolbar {
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    white-space: nowrap !important;
    max-width: 100% !important;
  }

  .ck.ck-toolbar__items {
    flex-wrap: nowrap !important;
  }

  .ck.ck-toolbar__separator {
    display: none !important;
  }

  .ck.ck-toolbar .ck-toolbar__items > * {
    flex-shrink: 0 !important;
  }
}
@media (max-width: 768px) {
  .desktop-tabs {
    display: none !important;
  }
  .mobile-tabs {
    display: block !important;
  }
}
@media (min-width: 769px) {
  .desktop-tabs {
    display: block !important;
  }
  .mobile-tabs {
    display: none !important;
  }
}
@media (max-width: 1199px) {
  .mobile-nav-wrapper .nav-pills {
    flex-direction: column;
  }
  .mobile-nav-wrapper .nav-item {
    margin-bottom: 0.5rem;
  }
  .mobile-nav-wrapper .nav-link {
    text-align: left;
    padding: 0.5rem 1rem;
  }
}

.equal-width-buttons {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.equal-width-buttons .nav-item {
  width: 100%;
}

.equal-width-buttons .nav-link {
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .equal-width-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .equal-width-buttons .nav-item {
    flex: 1 1 0;
    min-width: 200px; /* Adjust this value as needed */
  }
}

/* Optional: If you want to change the arrow color as well */
.custom-tooltip .tooltip-arrow::before {
  border-top-color: rgba(0, 0, 0, 1) !important;
}
.calendar {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.calendar th,
.calendar td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}
.calendar th {
  background-color: #f2f2f2;
}
.day-number {
  font-weight: bold;
  margin-bottom: 5px;
}
.availability {
  font-size: 0.8em;
  padding: 2px;
  margin: 2px 0;
  border-radius: 3px;
}
.am-Available,
.pm-Available,
.evening-Available {
  background-color: #d4edda;
  color: #155724;
}
.am-Busy,
.pm-Busy,
.evening-Busy {
  background-color: #f8d7da;
  color: #721c24;
}

.availability.am-Busy,
.availability.pm-Busy,
.availability.evening-Busy {
  cursor: pointer;
}

.calendar-day.today {
  background-color: #ffffd0;
  border: 2px solid #ffcc00;
}
.dropdown-menu {
  z-index: 9999 !important;
}
.error {
  color: red;
}

i.with-stroke {
  position: relative;
  z-index: 1;
  color: #ffd43b;
}
i.with-stroke:before {
  content: attr(data-icon);
  position: absolute;
  -webkit-text-stroke: 1px black;
  z-index: -1;
}
.media-container {
  border: 1px solid #ddd;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}
.media-preview {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: 10px;
}
.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
a.disabled {
  cursor: not-allowed !important;
}
.datepicker-default {
  cursor: pointer;
}

/* Ensure clear button (×) is visible and properly positioned */
.select2-container--default
  .select2-selection--single
  .select2-selection__clear {
  float: right !important;
  margin-right: 25px !important;
  color: #888 !important;
  font-weight: bold !important;
  font-size: 16px !important;
  opacity: 1 !important;
  display: inline-block !important;
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  cursor: pointer !important;
  z-index: 100 !important;
}

/* Hover state for clear button */
.select2-container--default
  .select2-selection--single
  .select2-selection__clear:hover {
  color: #333 !important;
}

/* Ensure proper container height and padding */
.select2-container--default .select2-selection--single {
  min-height: 38px !important;
  padding-right: 40px !important; /* Make room for clear button */
}

/* Position the dropdown arrow */
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 100% !important;
  right: 5px !important;
}

/* Ensure text doesn't overlap with clear button */
.select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  padding-right: 40px !important;
}

/* Card styles */
.artist-card {
  position: relative;
  border: 2px solid transparent;
  transition: all 0.3s ease;
  cursor: pointer;
}

.artist-card:hover {
  border-color: #0d6efd;
}

.artist-card.selected {
  border-color: #198754;
}

.selection-number {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 25px;
  height: 25px;
  background-color: #198754;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  display: none;
}

.artist-card.selected .selection-number {
  display: flex;
}

/* Accordion styles */
.accordion-button:not(.collapsed) {
  background-color: #f8f9fa;
  color: #0d6efd;
}

.event-info {
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

/* Previous styles remain the same */

.form-check {
  min-height: 2rem;
  padding-left: 2rem;
}

.form-check-input {
  cursor: pointer;
}

.form-check-label {
  cursor: pointer;
  user-select: none;
}

#confirmationButton {
  min-width: 250px;
}

#confirmationButton:disabled {
  cursor: not-allowed;
}

.spinner-border-sm {
  width: 1rem;
  height: 1rem;
}
.list-unstyled li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.badge {
  min-width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.buttons-excel {
  background-color: #1d6f42 !important; /* Excel green color */
  color: white !important;
  border: 1px solid #1d6f42 !important;
  border-radius: 4px !important;
  padding: 6px 12px !important;
  margin-right: 5px !important;
  margin-bottom: 10px !important;
  font-weight: 500 !important;
  transition: background-color 0.3s ease !important;
}

.buttons-excel:hover {
  background-color: #16593a !important; /* Darker shade for hover */
  border-color: #16593a !important;
}

.buttons-excel i {
  margin-right: 5px !important;
}
#artist_invoice_list_length {
  float: right !important;
  margin-left: 20px !important;
}

/* ------------------------------ */
/* Memoria Dashboard */
/* ------------------------------ */
.memoria-dashboard * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

.memoria-dashboard {
  padding: 20px;
  background-color: transparent;
}

.memoria-dashboard-container {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.memoria-dashboard-button-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
}

.memoria-dashboard-btn {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.memoria-dashboard-btn:hover {
  transform: translateY(-5px);
}

.memoria-dashboard-top-btn {
  height: 230px;
  width: 100%;
  margin-top: 20px;
}

.memoria-dashboard-bottom-btn {
  height: 200px;
  flex: 1;
}

.memoria-dashboard-btn-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}

.memoria-dashboard-artists-bg {
  background-image: url('/resources/manager/img/btnDecouvrezNosArtistes.png');
  background-position: top center;
}

.memoria-dashboard-reserve-bg {
  background-image: url('/resources/manager/img/btnReservezMaintenant.png');
}

.memoria-dashboard-appointment-bg {
  background-image: url('/resources/manager/img/btnPrendreRendezVous.png');
}

.memoria-dashboard-btn-label {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background-color: rgba(158, 116, 122, 0.7);
  color: white;
  text-align: center;
  font-weight: bold;
  letter-spacing: 1px;
  z-index: 2;
  font-size: 1rem !important;
}

.memoria-dashboard-microphone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin: 0 15px;
}

.memoria-dashboard-mic-icon {
  width: 80px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.memoria-dashboard-mic-image {
  width: 80px;
  height: auto;
}

.memoria-dashboard-mic-circle {
  background-color: rgba(158, 116, 122, 0.7);
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-top: -39px;
  font-size: 2rem !important;
}

@media (max-width: 768px) {
  .memoria-dashboard-button-container {
    flex-direction: column;
  }

  .memoria-dashboard-microphone {
    margin: 20px 0;
  }

  .memoria-dashboard-bottom-btn {
    width: 100%;
  }
}

.tariff-options {
  margin-top: 40px;
}

.tariff-box {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 25px;
  margin-bottom: 30px;
  border-left: 4px solid #718096;
}

.tariff-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px dotted #cbd5e0;
}

.tariff-title {
  font-size: 18px;
  font-weight: 600;
  color: #2d3748;
}

.tariff-price {
  font-weight: 600;
  font-size: 18px;
  color: #4a5568;
  background-color: #edf2f7;
  padding: 6px 12px;
  border-radius: 4px;
}

.tariff-description {
  font-size: 14px;
  color: #4a5568;
  margin-bottom: 10px;
}

.tariff-includes {
  font-size: 14px;
  list-style-type: none;
  padding-left: 5px;
}

.tariff-includes li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 6px;
  color: #4a5568;
}

.tariff-includes li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #5a67d8;
}
