/* Hide number input arrows in Chrome, Safari, Edge, Opera */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide number input arrows in Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

/* Loader */
#small-loader {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
#small-loader .spinner {
  width: 32px;
  height: 32px;
  border: 4px solid #a855f7;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Read more / less */
.text-red-500.text-sm.hidden {
  display: block;
  min-height: 1.25rem;
  visibility: hidden;
}
.text-red-500.text-sm {
  margin-top: 4px;
}
.review-content {
  display: inline;
}
.review-content.collapsed {
  display: none;
}
.dots {
  display: inline;
}
.dots.hidden {
  display: none;
}
.read-more-btn {
  background: none;
  border: none;
  color: #eba030;
  cursor: pointer;
  font-size: 0.875rem;
  padding: 0;
  margin: 0;
}
.read-more-btn:hover {
  text-decoration: underline;
}

/* Light Effect */
@keyframes scaleUp {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.25); }
}
#light-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(236, 172, 60, 0.5), transparent);
  border-radius: 50%;
  animation: scaleUp 5s infinite;
}

/* Fade Animations */
.fade-animation,
.fade-animation1 {
  opacity: 0;
  animation: fade 4s infinite;
  height: 100%;
}
.fade-animation { width: 50%; }
.fade-animation1 { width: 33%; }

@keyframes fade {
  0%, 100% { opacity: 0; }
  25%, 75% { opacity: 1; }
}
.fade-animation:nth-child(2),
.fade-animation1:nth-child(2) {
  animation-delay: 3s;
}

/* Card Zoom */
@keyframes cardZoom {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(0.5); }
}
.animate-card-zoom {
  animation: cardZoom 3s ease-in-out;
  transform-origin: center;
}

/* Modal */
#transfer-score-modal {
  z-index: 9998;
}
dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Read-more extra */
#more {
  display: none;
}

.float-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.float-left {
    transform: translateX(-6px) translateY(-3px);
    box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.25);
}

.float-right {
    transform: translateX(6px) translateY(-3px);
    box-shadow: -6px 6px 20px rgba(0, 0, 0, 0.25);
}
