.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-in-out;
}

.loader-wrapper.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: -1;
}

.loader {
  width: 100px;
  height: 100px;
  animation: pulse 1.5s infinite;
}

.loader img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.5;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(0.95);
    opacity: 0.5;
  }
}

.overlay {
  
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
  pointer-events: none;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.consent-popup {
  position: fixed;
  bottom: 17dvh;
  right: 0px;
  width: 123px;
  height: 70px;
  background: #08374b;
  padding: 10px;
  border: 1px solid #e9ecef00;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-out;
  pointer-events: none;
  transform: translateX(100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.consent-popup.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0);
}

.consent-popup h2 {
  display: none;
}

.consent-popup p {
  display: none;
}

.consent-popup .consent-text {
  font-size: 12px;
  color: #fbfbfb;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 14px;
  font-weight: 500;
}

.consent-buttons {
  display: flex;
  gap: 4px;
  justify-content: space-around;
  align-items: center;
  margin: 0;
}

.consent-buttons button {
  width: 40px;
  height: 20px;
  padding: 0;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: none;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin: 0;
  letter-spacing: normal;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.consent-buttons button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease-out, height 0.6s ease-out;
}

.consent-buttons button:hover::before {
  width: 300px;
  height: 300px;
}

.btn-details {
  background: #d9d9d9;
  color: #333;
  border: 1px solid #e9ecef;
  font-size: 12px;
  width: 50px;
  height: 35px;
  padding: 0;
}

.btn-details:hover {
  background: #ff5600;
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.btn-reject {
  background: #dc3545;
  color: white;
  border: 2px solid #dc3545;
}

.btn-reject:hover {
  background: #c82333;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.btn-accept {
  background: #28a745;
  color: #333;
  border: 1px solid #28a745;
  font-size: 16px;
  width: 50px;
  height: 35px;
}

.btn-accept:hover {
  background: #0fbf35;
  transform: translateY(-1px);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(40, 167, 69, 0.3);
}

.btn-accept::after {
  content: '✓';
  font-size: 16px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .consent-popup {
    bottom: 15vh;
    right: 0px;
    width: 120px;
    height: 60px;
    padding: 6px;
  }
  
  .consent-popup .consent-text {
    font-size: 12px;
    margin-bottom: 4px;
  }
  
  .consent-buttons {
    gap: 2px;
  }
  
  .consent-buttons button {
    width: 40px;
    height: 24px;
    font-size: 12px;
  }
  
  .btn-accept::after {
    font-size: 16px;
  }
} 