.mwb-table-container__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 30px;
}

.mwb-table-title {
  margin-bottom: 0;
}

.mwb-title-head, .mwb-event-csv {
  flex: 0 0 100%;
  max-width: 100%;
  text-align: center;
}

input[type="file"].custom {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  white-space: nowrap;
  width: 1px;
}

.element {
  padding-top: 0.5rem; /* py-2 */
  padding-bottom: 0.7rem; /* py-2 */
  padding-left: 0.75rem; /* px-3 */
  padding-right: 0.75rem; /* px-3 */
  
  border: 1px solid #d1d5db; /* border border-gray-300 */
  border-radius: 0.375rem; /* rounded-md */
  
  font-size: 0.875rem; /* text-sm */
  line-height: 1.25rem; /* leading-4 */
  font-weight: 500; /* font-medium */
  
  color: #4b5563; /* text-gray-700 */
  background-color: transparent; /* Default background (not specified but likely transparent) */
  
  transition: color 150ms ease-in-out, 
              border-color 150ms ease-in-out, 
              background-color 150ms ease-in-out, 
              box-shadow 150ms ease-in-out; /* transition duration-150 ease-in-out */
}

.element:hover {
  color: #6366f1; /* hover:text-indigo-500 */
  border-color: #a5b4fc; /* hover:border-indigo-300 */
}

.element:focus {
  outline: none; /* focus:outline-none */
  border-color: #a5b4fc; /* focus:border-indigo-300 */
  box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.5); /* focus:shadow-outline-indigo */
}

.element:active {
  background-color: #f9fafb; /* active:bg-gray-50 */
  color: #3730a3; /* active:text-indigo-800 */
}

.mwb-csv__secondary-btn.au-button {
  margin-left: 10px;
}

.mwb-table__main {
  overflow-x: auto;
}

.mwb-table-container .dataTables_filter,
.mwb-table-container .dataTables_length  {
  margin-bottom: 15px;
}

.modal-heading {
  margin-bottom: 0;
}

.mwb-table-container .dataTables_filter input,
.mwb-table-container .dataTables_length select {
  width: auto!important;
  border: 1px solid #d2d2d2!important;
  color: #000000;
  padding: 12px 18px!important;
}

.mwb-sort-icon {
  display: none;
  margin-left: 15px;
}

th.mwb-sort:not(.desc,.asc) .mwb-sort-icon__default {
  display: inline-block;
}

.mwb-sort.desc .mwb-sort-icon__descending {
  display: inline-block;
}

.mwb-sort.asc .mwb-sort-icon__ascending {
  display: inline-block;
}

.mwb-table,
.mwb-table th,
.mwb-table td {
  border-collapse: collapse;
}

.mwb-table th,
.mwb-table td {
  min-width: 150px;
}

.mwb-table .event_title {
  min-width: 200px;
}

.mwb-table .event_description {
  min-width: 400px;
}

.mwb-table .event_timezone {
  min-width: 300px;
}

.mwb-table thead tr th:first-child ,
.mwb-table tbody tr td:first-child {
  min-width: 100px!important;
}


.mwb-table th,
.mwb-table td {
  border: none;
}

.mwb-table th {
  text-align: left;
  user-select: none;
  text-transform: uppercase;
}

.mwb-table th:hover {
  cursor: pointer;
}

.mwb-table tr:nth-child(even),
.mwb-table tr:hover{
  background-color: #f6f6f6;
}

.mwb-table tr {
  border: 1px solid #d2d2d2;
}

.mwb-table__action  {
  text-align: center;
}
.mwb-table__action-btn {
  display: inline-block;
  width: 30px;
  height: 30px;
  padding: 8px;
  margin-right: 5px;
  border-radius: 3px;
  cursor: pointer;
  line-height: 10px;
  transition: all .4s;

}

.mwb-table__action-btn:hover {
  background-color: #fff;
  fill: #000;
}

.mwb-table thead th.dtfc-fixed-right {
  background-color: #000;
  text-align: center;
}

.mwb-table tbody td.dtfc-fixed-right {
  background-color: #eaeaea !important;
}

.mwb-table.dataTable.no-footer.dtfc-has-right thead tr th {
  padding: 0 !important;
}

#file-input {
  display: none;
}

/* Modal css  */

.mwb-modal {
  position: fixed;
  z-index: 10000; 
  top: 0;
  left: 0;
  visibility: hidden;
  width: 100%;
  height: 100%;
}

.mwb-modal.is-visible {
  visibility: visible;
}

.mwb-modal-overlay {
  position: fixed;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  visibility: hidden;
  opacity: 0;
  transition: visibility 0s linear 0.3s, opacity 0.3s;
}

.mwb-modal-body li {
    margin-bottom: 6px;
}

.mwb-modal.is-visible .mwb-modal-overlay {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.mwb-modal-wrapper {
  background-color: #fff;
  box-shadow: 0 0 20px rgba(0, 0, 0, .35);
  left: 50%;
  position: fixed;
  top: 50%;

  z-index: 9999;
  transform: translate(-50%, -60%);
}

.mwb-edit-modal .mwb-modal-wrapper {
  max-width: 800px;
}

.mwb-modal-transition {
  transition: all 0.3s 0.12s;
  opacity: 0;
}

.mwb-modal.is-visible .mwb-modal-transition,
.mwb-delete-modal.is-visible .mwb-modal-transition {
  opacity: 1;
  transform: translate(-50%, -50%);
}

.mwb-modal-body {
  padding: 20px;
}

.mwb-modal-header {
  padding: 16px;
}

.mwb-modal-content {
  max-height: 450px;
  overflow-y: scroll;
}

.mwb-modal-header {
  position: relative;
  background-color: #fff;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.06);
  border-bottom: 1px solid #e8e8e8;
}

.mwb-modal-close {
  position: absolute;
  top: 0;
  right: 0;
  padding: 10px;
  color: #444;
  background: none;
  border: 0;
  cursor: pointer
}

.mwb-modal-close:hover {
  color: #777;
}

.alert-warning {
    color: #856404;
    background-color: #fff3cd;
    border-color: #856404;
    padding: 15px;
    border: 1px solid;
}

.mwb-modal-heading {
  margin-bottom: 0;
  padding: 10px 0;
  text-align: center;
}

/* Spinner Css */

.spinner-active {
  display: flex !important;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 99999;
}

/* Confirm Modal  */

.mwb-modal-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.mwb-modal-actions-instruction {
  text-align: center;
}

.mwb-modal-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 24px;
  cursor: pointer; 
  transition: all .4s;
}

.mwb-modal-btn:hover {
  transform: translateY(-5px);
}

.confirm-delete-btn, 
.download-btn {
  background: #ffffff;
  color: #803e8c;
  border: 2px solid;
}

.cancel-delete-btn {
  background-color: #803e8c;
  color: #fff;
}



@media only screen and (max-width: 767px) {
  .mwb-table__head,
  .mwb-table__foot {    
    justify-content: center;
    flex-direction: column;
  }
  .mwb-table thead tr th, .mwb-table tbody tr td{
    font-size: 14px;
  }

  .mwb-table th,
  .mwb-table td {
    min-width: 100px;
  }

  .mwb-table .event_title {
    min-width: 120px;
  }

  .mwb-table .event_description {
    min-width: 200px;
  }
  
  .mwb-table .event_timezone {
    min-width: 200px;
  }

  .mwb-table-title {
    text-align: center !important;
  }

  .mwb-modal-wrapper {
    width: 100%;
    max-width: 420px;
  }
  
  .mwb-modal-content {
    max-height: 400px;
  }

}

@media only screen and (max-width: 576px) {
  .mwb-table {
    width: 600px!important;
    margin-left: auto;
    margin-right: auto;
  }
  
  .mwb-modal-body form {
    padding: 0;
  }
}

body.is-visible {
  overflow: hidden;
}

.mwb-event-listing {
  max-width: 1000px;
  margin: 50px auto 0;
}

.mwb-event-listing .content-wrapper {
  padding: 0;
}

.mwb-event-form {
  padding: 0;
}

.mwb-event-listing__title {
  font-weight: 500;
  text-align: center;
  margin-bottom: 80px;
}

.mwb-event-form__row {
  column-gap: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  row-gap: 30px;
}

.mwb-event-form__col {
  flex: 0 0 100%;
  max-width: 100%;
}

.mwb-event-form__input-group {
  position: relative;
}

.mwb-event-form__location-label {
  font-size: 14px;
  line-height: 18px;
  margin-bottom: 4px;
  display: inline-flex;
  gap: 5px;
}

.mwb-event__form .mwb-event-form__input {
  border: 1px solid #d7d9e3;
  background-color: #fafafa;
  border-radius: 8px;
  color: #272727;
  font-size: 18px;
  padding: 8px;
  width: 100%;
  height: 46px;
}

.mwb-event-form__error {
  font-size: 14px;
  color: #db524e;
  line-height: 16px;
  margin-top: 8px;
/*   display: inline-block; */
}

.zip_code-error,
.city-error,
.state-error,
.timezone-error,
.data_time-error,
.data_times-error,
.artist-error,
.description-error,
.image-error,
.title-error, 
.venue-error,
.ticket-error,
.country-error {
  display: none;
}


.mwb-event-form__tooltip .mwb-event-form__tooltip-text {
  background-color: #000;
  border-radius: 6px;
  color: #fff;
  font-size: 12px;
  padding: 5px;
  position: absolute;
  text-align: center;
  top: -50px;
  left: 0px;
  width: 280px;
  z-index: 1;
  visibility: hidden;
}

.mwb-event-form__tooltip .mwb-event-form__tooltip-text::before {
  background-color: transparent;
  content: "";
  height: 10px;
  left: 50%;
  position: absolute;
  bottom: -10px;
  width: 10px;
  transform: translateX(-50%);
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-top: 8px solid #000000;
}

.mwb-event-form__tooltip:hover .mwb-event-form__tooltip-text {
  visibility: visible;
}

.mwb-event-form__btn-wrap .submit-btn,
.mwb-modal__submit-btn,
.mwb-event-form__btn-wrap .submit-btn:hover ,
.mwb-modal__submit-btn:hover {
  background-color: #803e8c;
  border-color: #803e8c;
  min-width: 110px;
  padding: 10px 20px;
  border: 0;
  color: #fff;
}

.mwb-event-form__btn-wrap .submit-btn:focus,
.mwb-modal__submit-btn:focus,
.mwb-modal__close 
outline: none;
}

.mwb-event-form__input:focus {
  outline: 1px solid #000;
}

/* modal  */

.mwb-modal {
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  visibility: hidden;
  opacity: 0;
  width: 100%;
  z-index: 9999;
}

.mwb-modal.is-visible {
  visibility: visible;
  opacity: 1;
}

.mwb-modal__overlay {
  background: rgba(0, 0, 0, 0.5);
  height: 100%;
  left: 0;
  opacity: 0;
  position: fixed;
  top: 0;
  transition: all 0.3s;
  visibility: hidden;
  width: 100%;
  z-index: 999;
}

.mwb-modal.is-visible .mwb-modal__overlay {
  opacity: 1;
  visibility: visible;
}

.mwb-modal__wrapper {
  background-color: #fff;
  border-radius: 12px;
  position: absolute;
  z-index: 9999;
  overflow: hidden;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.mwb-modal__title {
  font-weight: 700;
}

.mwb-modal__close {
  background: none;
  border: 0;
  cursor: pointer;
  padding: 15px;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 9;
}

.mwb-modal__img-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.mwb-modal__featured-img {
  border-radius: 12px;
  overflow: hidden;
  flex: 0 0 100%;
  max-height: 120px;
  max-width: 160px;
}

.mwb-modal__featured-img img {
  width: 100%;
  height: 100%;
}

.mwb-modal__description {
  flex: 0 0 100%;
  max-width: 100%;
  font-size: 16px;
  line-height: 26px;
}

.mwb-spinner__wrap,
.mwb-server-error {
  position: absolute;
  inset: 0;
}

.mwb-server-error {
  background-color: #fff;
  z-index: 99;
}

.mwb-server-error__text {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}


.mwb-spinner__wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
  z-index: 9;
}

.spinner {
  animation: spinner 1s infinite linear;
  border-radius: 11.2px;
  box-shadow: 28px 0px 0 0 rgba(128,64,140,0.2), 22.7px 16.5px 0 0 rgba(128,64,140,0.4), 8.68px 26.6px 0 0 rgba(128,64,140,0.6), -8.68px 26.6px 0 0 rgba(128,64,140,0.8), -22.7px 16.5px 0 0 #80408c;
  height: 11.2px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 11.2px;
  z-index: 99;
}

@keyframes spinner {
  to {
    transform: rotate(360deg);
  }
}


@media (min-width: 576px) {
  .mwb-event-form__col--2,
  .mwb-event-form__col--3 {
    flex: 0 0 50%;
    max-width: calc(50% - 10px);
  }

  .mwb-modal__img-wrap {
    gap: 40px;
  }

  .mwb-modal__description {
    max-width: calc(100% - 200px);
  }

  .mwb-modal__img-wrap {
    margin-bottom: 20px;
  }
}

@media (min-width: 768px) {
  .mwb-event-form__col--3 {
    flex: 0 0 33.33%;
    max-width: calc(33% - 12px);
  }
  .mwb-title-head{
    max-width: calc(55% - 15px)
  }

  .mwb-event-csv {
    max-width: calc(45% - 15px);
    text-align: end;
  }
  .mwb-table-container__head {
    gap: 30px;
  }
}

@media (min-width: 768px) {
  .mwb-modal__wrapper {
    width: 750px;
    height: 600px;
    overflow-y: auto;
    padding: 30px 40px;
  }
}

@media only screen and (max-width: 767px) {
  .mwb-modal__wrapper {
    width: calc(100% - 30px);
    height: 90vh;
    overflow-y: auto;
    padding: 25px;
  }

  .mwb-event-listing__title {
    margin-bottom: 30px;
  }

}

@media only screen and (max-width: 575px) {
  .mwb-modal__list .mwb-modal__list-text,
  .mwb-modal__list .mwb-modal__list-label {
    max-width: 100%;
  }
}


/* The SIMPLE-TOAST - position it at the bottom and in the middle of the screen */
#simpleToast {
  visibility: hidden; /* Hidden by default. Visible on click */
  min-width: 250px; /* Set a default minimum width */
  margin-left: -125px; /* Divide value of min-width by 2 */
  background-color: MediumVioletRed; /* Background color */
  color: #fff; /* White text color */
  text-align: center; /* Centered text */
  border-radius: 2px; /* Rounded borders */
  padding: 16px; /* Padding */
  position: fixed; /* Sit on top of the screen */
  z-index: 99997; /* Add a z-index if needed */
  left: 50%; /* Center the snackbar */
  bottom: 30px; /* 30px from the bottom */
  display: inline-flex;
/*   line-hight: 12px */
}
#simpleToast span {
  margin-left: 12px;
  margin-top: 2px;
}

/* Show the SIMPLE-TOAST when clicking on a button (class added with JavaScript) */
#simpleToast.show {
  visibility: visible; /* Show the SIMPLE-TOAST */
  /* Add animation: Take 0.5 seconds to fade in and out the SIMPLE-TOAST.
  However, delay the fade out process for 2.5 seconds */
  -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s;
  animation: fadein 0.5s, fadeout 0.5s 2.5s;
}

/* Animations to fade the SIMPLE-TOAST in and out */
@-webkit-keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@keyframes fadein {
  from {bottom: 0; opacity: 0;}
  to {bottom: 30px; opacity: 1;}
}

@-webkit-keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}

@keyframes fadeout {
  from {bottom: 30px; opacity: 1;}
  to {bottom: 0; opacity: 0;}
}
