/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

.spinner {
  width: 2.5%;
  height: auto;
}

.blinking-undefined {
  color: lightcoral;
  animation: blink 1s infinite alternate;
}
@keyframes blink {
  0% { opacity: 1; }
  100% {opacity: 0.4; }
}

.tooltip-icon:hover::after {
  content: attr(data-tooltip);
  position: absolute;
  background: #333;
  color: #fff;
  padding: 5px;
  font-size: 14px;
  border-radius: 5px;
  white-space: normal;
  word-wrap: break-word;
  margin-left: 10px;
}

input:checked + .block {
  background-color: #10b981; /* Green when enabled */
}

input:checked + .block + .dot {
  background-color: #ffffff;
}

.sync-status {
  height: 38px; /* Adjust height to fit your design */
  width: auto;  /* Adjust width to fit your design */
  object-fit: contain; /* Ensures image fits without distortion */
  vertical-align: middle; /* Aligns with table row content */
}


/* Modal styling */
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); /* Background overlay */
}

/* Modal content styling */
.modal-content {
  position: relative;
  background-color: white;
  margin: 15% auto;
  padding: 20px;
  width: 60%;
  border-radius: 8px;
}

/* Close button styling */
.close-btn {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}
