/* Version: 2024-XX-XX HH:MM */

/* /**
 * Admin specific styles
 */

.resize-both {
  resize: both;
}

#toplevel_page_eventim-us-settings .wp-menu-image img {
  width: 39%;
}

#seetickets-preview-event-image {
  width: 500px;
}

td.custom_labels label,
td.api-settings label {
  width: 10rem;
  display: inline-block;
}

td.color-options label {
  width: 16rem;
  display: inline-block;
}

table#credentials td {
  padding: 0;
  vertical-align: middle;
}

.api-table-input {
  width: 100%;
}

.btn-delete-credential {
  width: 118% !important;
  height: 34px !important;
  margin-top: 16px;
}

.custom_button_classes td {
  padding: 0;
}

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
  font-weight: normal;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  background-color: black;
  width: 15vw;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;
  top: -5px;
  left: 105%;
  position: absolute;
  z-index: 1;
  padding-left: 1rem;
  padding-right: 1rem;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
}

ul.display-inline li {
  display: inline-block !important;
}

#admin-top-nav-section {
  width: 100%;
  margin-top: 2rem;
}

#admin-top-nav-section ul.display-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 0;
  width: 100%;
}

#admin-top-nav-section ul li:not(:first-child) {
  padding-left: 1rem;
}

#admin-top-nav-section ul li:not(:last-child):after {
  padding-left: 1rem;
}

.container {
  padding: 2% 5%;
}

.menu-module {
  background: white;
  margin-top: 20px;
}

.see-menu-item {
  background-color: rgba(56, 88, 233, 0.08);
  color: #000000;
  padding: 12px;
  text-align: center;
  font-size: 12px;
  width: 100px;
  margin-left: 6px;
  border-radius: 4px;
}

.display-inline li {
  cursor: pointer;
}

.see-menu-item-right {
  margin-left: 20px;
}

.see-menu-item:hover {
  background-color: #3858e9;
  color: white;
}

.dispevli-menu-item-active {
  background-color: #3858e9;
  color: white;
  cursor: pointer;
  border: none;
}

.see-add-item {
  background-color: #3858e9;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
}

.see-add-item:hover {
  background-color: #2c46c7;
}

.btn-add-credential {
  width: 100%;
  height: 36px;
}

.see-menu-item-save {
  width: 75px;
  background-color: #495057;
  border-radius: 8px;
  padding: 12px;
  color: white;
  text-align: center;
  font-size: 12px;
}

.see-menu-item-save:hover {
  background-color: #3858e9;
}

.see-menu-item-save-active {
  background-color: #1e1e1e;
}

.toplevel_page_eventim-us-settings .wp-menu-image.svg {
  background-size: 16px auto !important;
}

html {
  scroll-behavior: smooth;
}

/* jQuery Draggable */
.display-event-listings-dashboard.dragging,
body.dragging * {
  cursor: move !important;
}

.dragged {
  position: absolute;
  opacity: 0.5;
  z-index: 2000;
}

ul.event-card-elements-order li {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
}

ul.event-card-elements-order li:hover {
  cursor: move;
}

ul.event-card-elements-order li.placeholder {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
}

ul.event-card-elements-order li.placeholder:before {
  position: absolute;
  content: "";
  width: 0;
  height: 0;
  margin-top: -5px;
  left: -5px;
  top: -4px;
  border: 5px solid transparent;
  border-left-color: red;
  border-right: none;
}

/* End jQuery Draggable */

.row-th-style {
  color: #1d2327;
  font-weight: 600;
  width: 200px;
  padding-right: 20px;
  font-size: 14px;
}

#convert-webp-spinner {
  display: none;
  margin-left: 1em;
  max-height: 1em;
}

.switch {
  position: relative;
  display: inline-block;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  width: 32px;
  height: 12.5px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 12px;
  width: 12px;
  background-color: #1e1e1e;
  -webkit-transition: 0.4s;
  transition: 0.4s;
  margin-left: 1px;
}

input:checked + .slider {
  background-color: #3858e9;
  border-color: #3858e9;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(18px);
  -ms-transform: translateX(18px);
  transform: translateX(18px);
  background-color: #ffffff;
}

.slider.round {
  border-radius: 9px;
  background-color: #f0f0f1;
  border-style: solid;
  border-color: #949494;
  border-width: 1px;
  margin: 0;
  height: 12.5px;
}

.slider.round:before {
  border-radius: 50%;
}

@font-face {
  font-family: "SFProRegular";
  src: url("sf-pro-display/SFPRODISPLAYREGULAR.OTF") format("opentype");
}

.display-event-listings-dashboard{
  font-family: "SFProRegular", sans-serif;
}

.notice-warning-started {
  background-color: #fef8ee;
  color: #1e1e1e;
  border-left-color: #f0b849 !important;
}

.notice-success-started {
  background-color: #eff9f1;
  border-left-color: #4ab866;
  color: #1e1e1e;
}

.see-feed-state-ready {
  background-color: #f0f3f9;
  color: #3858e9;
  border-radius: 12px;
  height: 18px;
  padding-top: 4px;
  padding-right: 8px;
  padding-bottom: 4px;
  padding-left: 8px;
  float: right;
  width: 38px;
  height: 20px;
}

.see-feed-state-not-ready {
  background-color: rgba(56, 88, 233, 0.04);
  color: #3858e9;
  border-radius: 12px;
  height: 18px;
  padding-top: 4px;
  padding-right: 8px;
  padding-bottom: 4px;
  padding-left: 8px;
  float: right;
}

#seetickets-footer {
  background-color: silver;
}

.see-active-footer-buttons {
  float: right;
}

.dispevli-menu-item-active-input {
  background-color: #3858e9;
  color: white;
  cursor: pointer;
  border: none;
  height: 42px;
  border-radius: 4px;
}

#feed-status-module {
  margin-top: 10px;
  margin-bottom: 10px;
  height: 25px;
}

.see-delete-all {
  background-color: #fff;
  color: #3858e9;
  border-color: #3858e9;
  border-style: solid;
  border-radius: 2px;
  height: 18px;
  padding-top: 4px;
  padding-right: 8px;
  padding-bottom: 4px;
  padding-left: 8px;
  height: 40px;
  cursor: pointer;
  font-size: 13px;
}

.float-right {
  float: right;
}

.seetickets-dashboard-module {
  background-color: silver;
}

.see-color-selector {
  width: 130px;
  height: 30px;
  border: 1px solid var(--Scales-Grays-gray-300, #ddd);
}

.selected-value-color-display {
  width: 20px;
  border-radius: 20px;
}

.selected-value-color-display-input-color {
  border-radius: 800px;
}

.reset-css-colors-button {
  float: right;
}

.tex-color-input {
  width: 67px;
}

.color-selector-shape {
  width: 20px;
  border-radius: 20px;
}

.input-color {
  border-radius: 40px;
  width: 24px;
}

.dashboard-module {
  width: 100%;
  border-radius: 4px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: var(--scales-black-white-white, #fff);
}

.module-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px 32px;
}

.module-content {
  padding: 24px 32px;
  position: relative;
  overflow: hidden;
}

.module-content .see-menu-item.float-right {
  margin-bottom: 8px;
}

.custom-labels-container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

@media screen and (max-width: 768px) {
  .custom-labels-container {
    grid-template-columns: 1fr;
  }
}

.dispevli-custom-label-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.dispevli-custom-label-group input[type="text"],
.dispevli-custom-label-group input[type="password"] {
  width: 100%;
  display: flex;
  border-radius: 2px;
  border: 1px solid #949494;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
}

.dispevli-custom-label-group input[type="text"]::placeholder,
.dispevli-custom-label-group input[type="password"]::placeholder {
  color: #cccccc;
}

.hide-label-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.hide-label-wrapper .btn-delete-credential {
  width: 100%;
  margin: 0;
  height: 36px;
}

.module-header h1 {
  color: var(--Scales-Grays-gray-900, #1e1e1e);
  font-size: 25px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  margin: 0;
}

.module-header h4 {
  color: #949494;
  margin: 10px 0 0;
  font-weight: 400px;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1rem;
  align-items: start;
}

.form-label {
  font-weight: bold;
}

/* Social Media Sharing form layout */
.dashboard-module .form-grid {
  width: 100%;
}

.dashboard-module .form-row {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
}

@media screen and (max-width: 768px) {
  .dashboard-module .form-row {
    flex-direction: column;
    gap: 4px;
  }

  .dashboard-module .form-label,
  .dashboard-module .form-field {
    flex: 0 0 100%;
    padding-right: 0;
  }

  .dashboard-module .form-label {
    margin-bottom: 4px;
  }

  .dashboard-module .form-grid {
    gap: 16px;
  }

  /* Add a specific class to the calendar module for more targeted styling */
  .dashboard-module .settings-form {
    width: 100%;
  }

  /* General form input styling for calendar section */
  .dashboard-module .form-input {
    width: 100%;
  }

  /* Specific styling for toggle switches in calendar view section only */
  .dashboard-module .form-row.toggle-row {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
  }

  .dashboard-module .form-row.toggle-row .form-label {
    flex: 0 0 auto;
    margin-bottom: 0;
  }

  .dashboard-module .form-row.toggle-row .form-input {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    grid-template-columns: unset;
    flex: 0 0 auto;
    width: auto;
  }

  /* Specific styling for input with copy button in calendar view section */
  .dashboard-module .form-row.shortcode-row {
    margin-bottom: 20px;
  }

  .dashboard-module .form-row.shortcode-row .form-input {
    width: 100%;
  }

  .dashboard-module .form-row.shortcode-row .form-input .input-with-button {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .dashboard-module
    .form-row.shortcode-row
    .form-input
    .input-with-button
    input {
    width: 100%;
    min-width: 0;
  }

  .dashboard-module
    .form-row.shortcode-row
    .form-input
    .input-with-button
    button {
    width: 100%;
    white-space: nowrap;
    padding: 0 8px;
    min-width: 60px;
  }

  /* Specific styling for dropdown selects in calendar view section */
  .dashboard-module .form-row.week-starts-row .form-input,
  .dashboard-module .form-row.number-months-row .form-input {
    width: 100% !important;
    display: block !important;
    grid-template-columns: unset !important;
  }

  .dashboard-module .form-row.week-starts-row .form-input select,
  .dashboard-module .form-row.number-months-row .form-input select {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: block !important;
    min-width: 100% !important;
    height: 36px !important;
  }
}

.dashboard-module .form-label {
  flex: 0 0 50%;
  padding-right: 20px;
  color: var(--Scales-Grays-gray-900, #1e1e1e);
  font-size: var(--s, 12px);
  font-style: normal;
  font-weight: var(--Regular, 400);
  line-height: var(--xs, 16px);
}

.dashboard-module .form-field {
  flex: 0 0 50%;
}

/* Default radio options - horizontal layout (for list view) */
.radio-options {
  display: flex;
  gap: 24px;
  align-items: center;
}

.radio-option {
  display: flex;
  align-items: center;
  margin: 0;
}

.radio-option input[type="radio"] {
  margin: 0;
  margin-right: 8px;
}

.radio-option label {
  margin: 0;
}

/* Slider-specific radio options - vertical layout */
.slider-radio-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.slider-radio-options .radio-option {
  width: 100%;
}

/* Mobile adjustments */
@media screen and (max-width: 768px) {
  .radio-options {
    flex-direction: column;
    gap: 12px;
  }

  .radio-option {
    width: 100%;
  }
}

/* Mobile and Tablet screens (less than 1024px) */
@media screen and (max-width: 1023px) {
  #admin-top-nav-section ul.display-inline {
    flex-direction: column;
  }

  #admin-top-nav-section ul.display-inline li,
  #admin-top-nav-section ul.display-inline input[type="submit"] {
    width: 100%;
    margin: 0;
  }

  /* Order of items */
  .dispevli-menu-item-active-input {
    order: 1;
  }

  .ajax-run-feed {
    order: 2;
  }

  .see-delete-all {
    order: 3;
  }
}

/* Mobile screens (less than 768px) - New specific layout */
@media screen and (max-width: 767px) {
  #admin-top-nav-section ul.display-inline {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  /* Row 1: Run Feed button */
  #ajax-run-feed {
    order: 1;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box;
  }

  /* Row 2: Save button */
  #admin-top-nav-section ul.display-inline input[type="submit"] {
    order: 2;
    width: 100% !important;
    margin: 0 0 10px 0 !important;
    box-sizing: border-box;
  }

  /* Row 3: Settings and Event Listings buttons container */
  .row-3-container {
    order: 3;
    display: flex;
    width: 100%;
    gap: 10px;
    margin-bottom: 10px;
  }

  /* Row 4: Filters and Customize buttons container */
  .row-4-container {
    order: 4;
    display: flex;
    width: 100%;
    gap: 10px;
    margin-bottom: 10px;
  }

  /* Make sure all buttons in containers fill their space */
  .row-3-container li,
  .row-4-container li {
    flex: 1;
    margin: 0 !important;
    width: auto !important;
  }
}

/* Hide container divs on desktop */
@media screen and (min-width: 768px) {
  .row-3-container,
  .row-4-container {
    display: contents;
  }
}

/* Desktop screens (1024px and above) */
@media screen and (min-width: 1024px) {
  #admin-top-nav-section ul.display-inline {
    flex-direction: row;
    justify-content: space-between;
  }

  #admin-top-nav-section .see-delete-all {
    order: 1;
    margin-right: auto;
  }

  #admin-top-nav-section .dispevli-menu-item-active-input {
    order: 2;
    margin-left: 10px;
  }

  #admin-top-nav-section .ajax-run-feed {
    order: 3;
    margin-left: 10px;
  }
}

.settings-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.settings-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.settings-label {
  display: flex;
  align-items: center;
  height: 34px;
}

.settings-input {
  min-width: 0;
  width: 100%;
}

.settings-input input,
.settings-input select,
.settings-input .input-with-button {
  width: 100%;
  max-width: 100%;
}

.settings-input .input-with-button {
  display: flex;
  gap: 8px;
}

.settings-input .input-with-button input {
  flex: 1;
}

.settings-input .input-with-button button {
  white-space: nowrap;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
  .settings-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.setting-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1rem 0;
}

.setting-control {
  display: flex;
  align-items: center;
  height: 34px;
}

.setting-label {
  display: flex;
  align-items: center;
  height: 34px;
}

.setting-label label {
  margin: 0;
  font-weight: 500;
  line-height: 1;
}

.custom-label-input {
  width: 100%;
  display: flex;
  border-radius: 2px;
  border: 1px solid #949494;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
  height: 36px;
  line-height: normal;
}

.custom-label-input::placeholder {
  color: #cccccc;
}

/* Connected radio options - vertical layout with borders */
.connected-radio-options {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}

.connected-radio-options .radio-option {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #949494;
  border-radius: 0;
  padding: 8px;
  height: 36px;
  box-sizing: border-box;
  width: 100%;
  border-bottom: none;
}

.connected-radio-options .radio-option:first-child {
  border-top-left-radius: 2px;
  border-top-right-radius: 2px;
}

.connected-radio-options .radio-option:last-child {
  border-bottom: 1px solid #949494;
  border-bottom-left-radius: 2px;
  border-bottom-right-radius: 2px;
}

.connected-radio-options .radio-option input[type="checkbox"],
.connected-radio-options .radio-option input[type="radio"] {
  margin: 0;
}

.connected-radio-options .radio-option label {
  margin: 0;
  line-height: normal;
}

/* Color customization styles */
.color-customization-grid {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.color-picker-item {
  flex: 1;
  min-width: 150px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.color-picker-item > h4 {
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  margin: 0;
}

.color-picker-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  border: 1px solid #949494;
  border-radius: 2px;
  padding: 8px;
  background: #fff;
}

.color-picker-container input[type="color"] {
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 2px;
  margin: 0;
}

.color-picker-container h4 {
  margin: 0;
  font-size: 14px;
  font-weight: normal;
}

@media screen and (max-width: 768px) {
  .color-customization-grid {
    flex-direction: column;
    align-items: flex-start;
  }

  .color-picker-item {
    width: 100%;
    max-width: 100%;
  }
}

/* Social media sharing specific styles */
.social-color-field {
  width: 50%;
  max-width: 300px;
}

.social-color-field .color-picker-container {
  width: 100%;
}

/* Social media radio buttons */
.social-radio-field {
  display: flex;
  align-items: center;
}

.social-radio-field input[type="radio"] {
  margin-right: 8px;
}

/* Create "option groups" with proper spacing */
.social-radio-field label {
  margin-right: 24px; /* Add space between option groups */
}

/* Radio List Styles */
.exclude-fields-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 5px;
  width: 100%;
}

.exclude-field-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

.exclude-field-item:hover {
  background: #f0f0f1;
}

.exclude-field-item label {
  flex: 1;
  margin-left: 4px;
  cursor: pointer;
}

@media screen and (min-width: 768px) {
  .exclude-fields-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* List View Form Styles */
.settings-form {
  width: 100%;
}

.form-row {
  display: flex;
  margin-bottom: 15px;
  align-items: flex-start;
}

.form-label {
  flex: 0 0 200px;
  padding-right: 20px;
  padding-top: 8px;
}

.form-label label {
  font-weight: 500;
}

.form-input {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.form-input input[type="number"] {
  grid-column: 1; /* Take only the first column */
}

.input-with-button {
  grid-column: 1 / -1; /* Span both columns */
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  align-items: center;
}

.input-with-button input {
  width: 100%;
  height: 36px; /* Match the button height */
}

.input-with-button .see-menu-item {
  width: 100%;
  white-space: nowrap;
  margin: 0; /* Remove default margin */
  height: 36px; /* Match input height */
  display: flex;
  align-items: center;
  justify-content: center; /* Center text horizontally */
  padding: 0 12px;
}

/* Reset button in slider settings */
.settings-form .form-row:last-child {
  margin-top: 24px;
}

.settings-form .form-row:last-child .form-input {
  display: flex;
  justify-content: flex-start;
}

.settings-form .see-delete-all {
  margin: 0;
  width: 100%;
}

@media screen and (min-width: 768px) {
  .settings-form .see-delete-all {
    width: 194px;
  }
}

.form-input {
  margin-bottom: 0;
}

#api-credential-unit {
  margin-bottom: 0;
}

.api-credentials-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.api-credential-unit {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  align-items: end;
}

.credential-input {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.credential-input label {
  font-weight: 500;
  color: var(--Scales-Grays-gray-900, #1e1e1e);
}

.credential-input input,
.dispevli-custom-label-group input[type="text"] {
  width: 100%;
  height: 36px;
  border-radius: 2px;
  border: 1px solid #949494;
  background: #fff;
  padding: 8px;
  box-sizing: border-box;
  line-height: normal;
}

.credential-action {
  display: flex;
  align-items: flex-end;
}

.credential-action .btn-delete-credential {
  width: 100%;
  margin: 0;
  height: 36px;
}

.add-credential-wrapper {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
  margin-top: 18px;
}

.add-credential-wrapper .see-add-item {
  grid-column: 4;
  width: 100%;
  height: 36px;
  background-color: #3858e9;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  padding: 4px 8px;
}

.add-credential-wrapper .see-add-item:hover {
  background-color: #2c46c7;
}

@media screen and (max-width: 1024px) {
  .api-credential-unit {
    grid-template-columns: repeat(2, 1fr);
  }

  .add-credential-wrapper {
    grid-template-columns: repeat(2, 1fr);
  }

  .add-credential-wrapper .see-add-item {
    grid-column: 2;
  }
}

@media screen and (max-width: 768px) {
  .api-credential-unit {
    grid-template-columns: 1fr;
  }

  .add-credential-wrapper {
    grid-template-columns: 1fr;
  }

  .add-credential-wrapper .see-add-item {
    grid-column: 1;
  }

  .credential-action {
    margin-top: 8px;
  }
}

.custom-image-unit {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.img-input .button-select {
  background-color: #3858e9;
  color: white;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  font-size: 13px;
  padding: 6px 12px;
  height: 40px;
  width: 114px;
}

.img-input .button-remove {
  background-color: #fff;
  color: #3858e9;
  border-color: #3858e9;
  border-style: solid;
  border-radius: 2px;
  height: 18px;
  padding-top: 4px;
  padding-right: 8px;
  padding-bottom: 4px;
  padding-left: 8px;
  height: 40px;
  cursor: pointer;
  font-size: 13px;
  width: 114px;
}

.img-input p {
  color: #949494;
  font-weight: 400px;
}

@media screen and (max-width: 768px) {
  .custom-image-unit {
    flex-direction: column;
  }

  .img-input {
    width: 100%;
  }
}

/* Mobile styles for default event image block */
@media screen and (max-width: 768px) {
  /* Ensure image container fills available width */
  #seetickets-preview-event-image {
    max-width: 100%;
    width: 100%;
    height: auto;
  }

  /* Stack buttons in separate rows */
  .img-input .button-select,
  .img-input .button-remove {
    display: block;
    width: 100%;
    margin-bottom: 10px;
    box-sizing: border-box;
  }

  /* Adjust spacing for the upload text section */
  .img-input h4,
  .img-input p {
    margin-bottom: 10px;
  }
}

/* Calendar module specific styles */
.calendar-module .form-input select,
.slider-module .form-input select {
  min-width: 200px;
  width: 100%;
  box-sizing: border-box;
}

/* List view module specific styles */
.list-view-module .form-input input[type="number"] {
  min-width: 100px;
  width: 100%;
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  /* Calendar module specific styles for mobile */
  .calendar-module .form-input select,
  .slider-module .form-input select {
    min-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .calendar-module .form-row.week-starts-row .form-input,
  .calendar-module .form-row.number-months-row .form-input,
  .slider-module .form-row.slider-dropdown-row .form-input {
    width: 100% !important;
    display: block !important;
  }

  .calendar-module .form-row.week-starts-row .form-input select,
  .calendar-module .form-row.number-months-row .form-input select,
  .slider-module .form-row.slider-dropdown-row .form-input select {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
  }

  /* Slider module specific styles for mobile */
  .slider-module .form-row.shortcode-row {
    margin-bottom: 20px;
  }

  .slider-module .form-row.shortcode-row .form-input {
    width: 100%;
  }

  .slider-module .form-row.shortcode-row .form-input .input-with-button {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .slider-module .form-row.shortcode-row .form-input .input-with-button input {
    width: 100%;
    min-width: 0;
  }

  .slider-module .form-row.shortcode-row .form-input .input-with-button button {
    width: 100%;
    white-space: nowrap;
    padding: 0 8px;
    min-width: 60px;
  }

  /* List view module specific styles for mobile */
  .list-view-module .form-row.shortcode-row {
    margin-bottom: 20px;
  }

  .list-view-module .form-row.shortcode-row .form-input {
    width: 100%;
  }

  .list-view-module .form-row.shortcode-row .form-input .input-with-button {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 8px;
    width: 100%;
  }

  .list-view-module
    .form-row.shortcode-row
    .form-input
    .input-with-button
    input {
    width: 100%;
    min-width: 0;
  }

  .list-view-module
    .form-row.shortcode-row
    .form-input
    .input-with-button
    button {
    width: 100%;
    white-space: nowrap;
    padding: 0 8px;
    min-width: 60px;
  }

  .list-view-module .form-row.list-input-row .form-input {
    width: 100% !important;
    display: block !important;
  }

  .list-view-module .form-row.list-input-row .form-input input[type="number"] {
    width: 100% !important;
    display: block !important;
    box-sizing: border-box !important;
    min-width: 100% !important;
  }
}


.three-column-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px; 
}

.dispevli-custom-label-group {
  display: flex;
  flex-direction: column;
  gap: 10px; 
}

.dispevli-custom-label-group label {
  font-weight: bold;
}

@media screen and (max-width: 768px) {
  .module-content .radio-group {
    flex-direction: column;
  }
}

.code-display {
  flex: 1;
  min-width: 0;
  padding: 8px 0;
}

.text-ellipsis {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}