body {
    font-family: 'Outfit', 'Poppins', sans-serif;
}
body {
  background-color: #F8F9FA !important; 
}


.accordion-button {
  background-color: #737b4c !important;
  color: white !important;
  font-family: 'Poppins', sans-serif; 
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 16px;
  transition: background-color 0.3s ease;
  border-radius: 4px;
}

.accordion-button:hover {
  background-color: #5d663c !important;
}

.accordion-button:focus {
  box-shadow: none !important;
  border-color: #5d663c !important;
}

.accordion-body {
  padding: 12px 16px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #333;
  background-color: #ffffff;
  border-radius: 0 0 6px 6px; 
  border: 1px solid #ccc;
  border-top: none; 
}

.accordion-collapse {
  border-radius: 0 0 6px 6px; 
  overflow: hidden;
}

.accordion-item {
  border: 1px solid #ccc;
  border-radius: 6px;   
  margin-bottom: 8px;
  overflow: hidden;     
}

.collapse {
    visibility: hidden;
}
.collapse.show {
    visibility: visible;
}

.zoom-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 150px;
  height: 6px;
  background: linear-gradient(to right, #737b4c 50%, #f1f1f1 50%);
  border-radius: 6px;
  outline: none;
  transition: background 0.3s;
}

.zoom-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 20px; 
  width: 20px;
  background: #737b4c;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
  margin-top: -7px;
}

.zoom-slider::-moz-range-thumb {
  height: 20px;
  width: 20px;
  background: #737b4c;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid white;
}

.zoom-draggable-wrapper {
  overflow: auto;
  position: relative;
  cursor: grab;
  max-height: 500px;
  border: 1px solid #ccc;
  background-color: white;
  padding: 4px;
}

.zoom-draggable-wrapper:active {
  cursor: grabbing;
}

.zoom-content {
  position: relative;
  transform-origin: top left;
  transition: transform 0.2s ease-out;
  display: inline-block;
}

.theme-button {
    background-color: #737b4c;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.3s;
}
.theme-button:hover {
    background-color: #5d663c;
}
.format-button {
  border: 1px solid #737b4c;
  color: #737b4c;
  background-color: white;
  font-size: 13px;
  padding: 4px 10px;
  border-radius: 4px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  font-weight: 500;
}

.format-button.bg-primary {
  background-color: #737b4c !important;
  color: white !important;
  border-color: #737b4c !important;
}

.format-button:hover {
  background-color: #5d663c;
  color: white;
  border-color: #5d663c;
}

.table {
    width: 100%;
    border-collapse: collapse;
}
.table th {
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    padding: 8px;
    background-color: #f5f5f5;
}
.table td {
    font-size: 13px;
    padding: 8px;
    vertical-align: middle;
    border-top: 1px solid #e0e0e0;
}
.table tr:nth-child(even) {
    background-color: #f9f9f9;
}
.table tr:hover {
    background-color: #f1f1f1;
}


#loadingOverlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 0;
  visibility: hidden;
  transform: scale(0.98) translateY(10px);
  transition: opacity 0.9s ease, transform 0.9s ease, visibility 0.9s ease;
}

#loadingOverlay.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}


.gear-loader {
  position: relative;
  width: 200px;
  height: 200px;
  text-align: center;
}

.gear {
  position: absolute;
  transform-origin: center;
  fill: #737b4c;
}

.gear.large {
  width: 100px;
  top: 50px;
  left: 0;
  animation: spin 3s linear infinite;
}
.gear.medium {
  width: 75px;
  top: 10px;
  left: 90px;
  animation: spin-reverse 3s linear infinite;
}
.gear.small {
  width: 50px;
  top: 120px;
  left: 110px;
  animation: spin 3s linear infinite;
}


@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes spin-reverse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}


.loading-text {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}


.dots span {
  animation: blink 1.4s infinite;
  opacity: 0;
}
.dots span:nth-child(1) { animation-delay: 0s; }
.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes blink {
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.animate-scale-in {
  animation: scaleIn 0.3s ease-out;
}

#uploadModal {
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
}

#uploadModal .shadow-xl {
  animation: fadeInModal 0.3s ease-out forwards;
}

@keyframes fadeInModal {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.text-primary {
  color: #737b4c !important;
}
.border-primary {
  border-color: #737b4c !important;
}
.bg-accent {
  background-color: #f4f6f0 !important;
}

.upload-box {
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.upload-box:hover {
  transform: scale(1.02);
}

#uploadDropArea.ring-2 {
  outline: 2px dashed #737b4c;
  box-shadow: 0 0 0 2px #737b4c inset;
}

/* Tooltip Container */
[data-tooltip] {
    position: relative;
    cursor: pointer;
}

    /* Tooltip Text Below */
    [data-tooltip]::after {
        content: attr(data-tooltip);
        position: absolute;
        top: 125%; /* Positioned below the element */
        left: 50%;
        transform: translateX(-50%);
        background-color: #737b4c; /* Dark gray */
        color: #fff;
        padding: 6px 10px;
        font-size: 13px;
        font-weight: 500;
        border-radius: 6px;
        white-space: nowrap;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
        z-index: 1000;
    }

    /* Show on Hover */
    [data-tooltip]:hover::after,
    [data-tooltip]:hover::before {
        opacity: 1;
    }

/* Adjust thumb position */
input[type="range"].zoom-slider::-webkit-slider-thumb {
    margin-top: 1px; 
}

input[type="range"].zoom-slider::-moz-range-thumb {
    transform: translateY(1px); 
}
