/* ===== CURRENCY PRIVACY NOTIFICATION ===== */
.currency-privacy-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-width: calc(100vw - 48px);
  background: rgba(254, 252, 250, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(229, 215, 199, 0.3);
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(92, 77, 61, 0.15);
  z-index: 9999;
  transform: translateY(20px) scale(0.98);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  font-family: var(--primary-font);
  overflow: hidden;
}

.currency-privacy-notification.visible {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.currency-privacy-notification::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--holiday-gold), transparent);
}

.notification-content {
  padding: 20px;
  position: relative;
}

.notification-icon {
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--deep-moss);
  opacity: 0.8;
}

.notification-text strong {
  display: block;
  color: var(--chocolate);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 6px;
  letter-spacing: -0.2px;
}

.notification-text p {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.9;
}

.notification-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.notification-actions button {
  padding: 10px 16px;
  border-radius: 8px;
  border: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  flex: 1;
  min-width: 140px;
}

.btn-accept {
  background: linear-gradient(135deg, var(--deep-moss), #9d6f3a);
  color: var(--zouri-beige);
  border: 1px solid rgba(139, 94, 60, 0.2);
}

.btn-accept:hover {
  background: linear-gradient(135deg, #9d6f3a, var(--deep-moss));
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 94, 60, 0.2);
}

.btn-choose {
  background: var(--zouri-beige);
  color: var(--chocolate);
  border: 1px solid rgba(165, 143, 134, 0.3);
}

.btn-choose:hover {
  background: rgba(229, 215, 199, 0.2);
  border-color: rgba(139, 94, 60, 0.4);
}

.btn-learn-more {
  background: transparent;
  color: var(--taupe);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 13px;
  padding: 8px 0;
  margin-top: 8px;
  width: 100%;
  text-align: center;
  border: none;
}

.btn-learn-more:hover {
  color: var(--deep-moss);
}

/* ===== CURRENCY DETECTION NOTIFICATION ===== */
.currency-detection-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(243, 233, 220, 0.95);
  border: 1px solid #D4A59A;
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9998;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.currency-detection-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.currency-detection-notification .notification-icon {
  font-size: 20px;
  margin: 0;
  color: var(--deep-moss);
}

.currency-detection-notification .notification-text {
  flex: 1;
}

.currency-detection-notification .notification-text strong {
  font-size: 14px;
  color: var(--chocolate);
  margin-bottom: 2px;
}

.currency-detection-notification .notification-text p {
  font-size: 13px;
  color: var(--taupe);
  margin: 0;
}

.change-currency-link {
  background: none;
  border: none;
  color: var(--deep-moss);
  text-decoration: underline;
  font-size: 13px;
  cursor: pointer;
  padding: 0;
  margin-left: 4px;
}

.notification-close {
  background: none;
  border: none;
  color: var(--taupe);
  font-size: 20px;
  cursor: pointer;
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.notification-close:hover {
  background: rgba(0, 0, 0, 0.05);
  color: var(--chocolate);
}

/* ===== DETECTING STATE ===== */
.currency-detecting-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: rgba(243, 233, 220, 0.95);
  border: 1px solid #D4A59A;
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9998;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.currency-detecting-notification.show {
  transform: translateY(0);
  opacity: 1;
}

.currency-detecting-notification .spinner-small {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(184, 139, 74, 0.3);
  border-radius: 50%;
  border-top-color: var(--deep-moss);
  animation: spin 0.8s ease-in-out infinite;
}

.currency-detecting-notification span {
  font-size: 14px;
  color: var(--chocolate);
  font-weight: 500;
}

/* ===== PRIVACY MODAL ===== */
.currency-privacy-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  padding: 20px;
}

.currency-privacy-modal.visible {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(3px);
}

.modal-content {
  position: relative;
  background: var(--zouri-beige);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 480px;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1;
  box-shadow: 0 20px 60px rgba(92, 77, 61, 0.3);
  border: 1px solid rgba(229, 215, 199, 0.3);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--taupe);
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: rgba(229, 215, 199, 0.3);
  color: var(--chocolate);
}

.modal-content h3 {
  color: var(--chocolate);
  margin-bottom: 24px;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
}

.privacy-point {
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(229, 215, 199, 0.5);
}

.privacy-point:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-point strong {
  display: block;
  color: var(--chocolate);
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 500;
}

.privacy-point p {
  color: var(--text-color);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.privacy-point a {
  color: var(--deep-moss);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-point a:hover {
  color: var(--chocolate);
}

.modal-actions {
  margin-top: 30px;
  text-align: center;
}

.btn-understood {
  padding: 12px 28px;
  background: linear-gradient(135deg, var(--deep-moss), #9d6f3a);
  color: var(--zouri-beige);
  border: none;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 160px;
}

.btn-understood:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(139, 94, 60, 0.2);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 768px) {
  .currency-privacy-notification {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
  
  .notification-actions button {
    min-width: 100%;
  }
  
  .btn-choose {
    order: 2;
  }
  
  .currency-detection-notification,
  .currency-detecting-notification {
    bottom: 16px;
    right: 16px;
    left: 16px;
    width: auto;
  }
  
  .modal-content {
    padding: 24px;
    margin: 16px;
  }
}

@media (max-width: 480px) {
  .currency-privacy-notification {
    bottom: 12px;
    right: 12px;
    left: 12px;
  }
  
  .notification-content {
    padding: 16px;
  }
  
  .modal-content {
    padding: 20px;
    margin: 12px;
  }
  
  .modal-content h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }
}