/* Popup de notificación */
.country-banner {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.country-banner-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  max-width: 520px;
  width: 90%;
  margin: 0 auto;
  padding: 25px;
  position: relative;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  animation: popupFadeIn 0.3s ease-out;
}

.country-banner-text {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}

.country-banner-text h2 {
  margin: 0;
  padding: 0;
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.country-banner-text p {
  margin: 5px 0 0;
  padding: 0;
  font-size: 14px;
  color: #666;
}

.country-banner-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.country-btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.2s ease;
  font-size: 14px;
  white-space: nowrap;
}

.country-btn-primary {
  background-color: #4169e1;
  color: white !important;
  border: none;
}

.country-btn-primary:hover {
  background-color: #3a5ecc;
  text-decoration: none;
}

.country-btn-secondary {
  background-color: transparent;
  color: #666 !important;
  border: 1px solid #ddd;
}

.country-btn-secondary:hover {
  background-color: #f5f5f5;
  text-decoration: none;
}

.country-flag {
  width: 20px;
  height: 15px;
  margin-right: 8px;
  border-radius: 2px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  object-fit: cover;
}

.country-banner-close {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #999;
  padding: 0;
  line-height: 1;
  position: absolute;
  top: 10px;
  right: 15px;
}

.country-banner-close:hover {
  color: #333;
}

@keyframes popupFadeIn {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .country-banner-content {
    width: 85%;
    padding: 20px 15px;
  }
  
  .country-banner-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .country-btn {
    width: 100%;
    justify-content: center;
  }
}