.modal-body {
  height: 600px;
}

/* Login form */
.login-admin-container {
  max-width: 400px;
  margin: 0 auto;
  background-color: #f1f1f1;
  padding: 20px;
  border-radius: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
  
.login-admin-container form {
  max-width: 400px;
  margin: 0 auto;
}
    
.login-admin-container x-input-label {
  display: block;
  margin-bottom: 5px;
  font-weight: bold;
}
    
.login-admin-container x-text-input {
  padding: 5px;
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 4px;
}
  
.login-field {
  margin-bottom: 10px;
}
    
.x-primary-button {
  padding: 10px 20px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
    
.x-primary-button:hover {
  background-color: #0056b3;
}
  
.login-admin-header {
  background-color: #74a085;
  color: #3b5954;
  padding: 20px;
  display: flex;
  align-items: center;
}
  
.login-admin-header img {
  margin-right: 10px;
}

.border-grey {
  border: 1px solid;
  border-end-start-radius: 5px;
  border-end-end-radius: 5px;
  border-top: none;
  border-color: #dee2e6;
}

.active {
  background-color: white;
  color: #4c9ca4 !important;
}

.btn{
  background-color: #43425D;
  border-color: #43425D;
  color:#FFF;
}

.btn:hover {
  background-color: #353449;
  border-color: #353449;
  color:#FFF;
}

.btn-delete {
  background-color: #d61313;
  border-color: #d61313;
}

.alert-success, .alert-danger{
  display:none;
}

.nav-link {
  color: #666;
}

 /* Loader */
.loading__wrapper {
  display: none;
  position: absolute;
  z-index: 9999;
  width: 150px;
  height: 150px;
  left: 50%;
  top: 50%;
}

.loading__wrapper_content{
  /*position: absolute;*/
  z-index: 9999;
  width: 150px;
  height: 150px;
  left: 50%;
  top: 50%;
  display: grid;
  border: 15px solid #0000;
  border-radius: 50%;
  border-color: #E4E4ED #0000;
  animation: s6 1s infinite linear;
  background-color: #FFF;
  opacity: 0.9;
}

.loading__wrapper_content::before,
.loading__wrapper_content::after {
  content: "";
  grid-area: 1/1;
  margin: 6px;
  border: inherit;
  border-radius: 50%;
}

.loading__wrapper_content::before {
  border-color: #4c9ca4 #0000;
  animation: inherit;
  animation-duration: .5s;
  animation-direction: reverse;
}

.loading__wrapper_content::after {
  margin: 15px;
}

@keyframes s6 {
  100% {
    transform: rotate(1turn)
  }
}
 /*Fin Loader */

 .list-group-item.active {
  color: white !important;
  background-color: #4c9ca4 !important;
  border-color: #4c9ca4 !important;
 }

.badge-nb-data {
  background-color: #4c9ca4;
  top: -5%;
  right: -5%;
  padding: 0.5rem 0.8rem;
  font-size: 0.80rem;
}

.card-dashboard {
  text-decoration: none;
  color: #000;
}

.card-dashboard:hover {
  color: #000;
  background-color: #f5f5f5;
}

.title-too-long {
  font-size: 1.05rem;
}

/* Datatable */
.ui-widget-header {
  border: 1px solid transparent;
  background: transparent;
}
.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
  border: 1px solid #4c9ca4;
  background: #4c9ca4 !important;
  font-weight: normal;
  color: #FFF;
}

/* user */
.btnUser {
  background-color: transparent;
  border-color: transparent;
  color: #000;
}

.btnUser:hover {
  background-color: transparent;
  border-color: transparent;
  color: #000;
}

/* Data */
#establishementTab {
  background-color: #4c9ca4;
  color: #FFF;
}
#establishementTab .nav-link {
  color: #FFF;
  border-right-color: #FFF;
}

.admin-actions {
  display: flex;
  gap: 30px;
}

.admin-btn-edit {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  background-color: #007bff;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  background-color: #007bff;
}

.admin-btn-edit:hover {
  background-color: #0056b3;
}

.admin-btn-delete {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: bold;
  text-decoration: none;
  color: #ffffff;
  background-color: #007bff;
  border-radius: 4px;
  transition: background-color 0.3s ease;
  background-color: #fa2828;
}

.admin-btn-delete:hover {
  background-color: #b51b1b;
}

/* Formulaire site */ 
.tooltip-icon {
  cursor: pointer;
  margin-left: 5px; 
  font-size: 16px; 
}

/* Modal */
.modal-header {
  background-color: #4c9ca4 !important;
  color: #FFF;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
}

.modal-content {
  border: 0px solid #4c9ca4;
  border-radius: 0.3rem;
  outline: 0;
}

/* Enhanced modal styles for create tag modal */
.create-tag-modal .modal-content {
  border: 2px solid #e3e6f0;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(50, 50, 93, 0.1), 0 5px 15px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.create-tag-modal .modal-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border-bottom: none;
  padding: 1.5rem;
}

.create-tag-modal .modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.create-tag-modal .modal-body {
  padding: 2rem;
  background-color: #f8f9fc;
}

.create-tag-modal .modal-footer {
  background-color: #f8f9fc;
  border-top: 1px solid #e3e6f0;
  padding: 1.5rem 2rem;
}

/* Dashboard */
.table-links a:hover {
  font-weight: bold;
}

/* Accordion */
.accordion-item:last-of-type .accordion-button.collapsed {
  border-bottom-right-radius: none !important;
  border-bottom-left-radius: none !important;
}

.accordion-button:not(.collapsed) {
  color: black;
  background-color: #fff;
  box-shadow: none;
}

.accordion-button:focus {
  border-color: #0000;
  box-shadow: none;
}

.accordion-button:not(.collapsed)::after {
  background-image: url('data:image/svg+xml,%3csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" fill="%23212529"%3e%3cpath fill-rule="evenodd" d="M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z"/%3e%3c/svg%3e');
}

svg {
  vertical-align: -webkit-baseline-middle;
}

.dropdown-img {
  width: 60%;
}

@media (max-width: 1700px) {
  .dropdown-img {
    width: 80%;
  }
}

@media (max-width: 1300px) {
  .dropdown-img {
    width: 100%;
  }
}

/* CKEDITOR ERROR */
.cke_notifications_area{
  display:none;
}