/**
 * VIVO IP Geolocation Plugin - Modal Styles
 * Completely separate from theme subscription modal
 */

/* Country Detection Modal Styles - Completely separate from subscription modal */
.country-modal-overlay {
  display: none;
  position: fixed !important;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999999999 !important;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.country-modal-inner {
  display: flex;
  width: 100%;
  min-height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 99999999999 !important;
  position: relative;
}

.country-modal-content {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  max-width: 550px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 99999999999 !important;
  position: relative;
}

.country-modal-header {
  background: linear-gradient(135deg, #1d95d2 0%, #0f7bb8 100%);
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.country-modal-header h3 {
  color: white;
  margin: 0;
  font-size: 1.3em;
  font-weight: 600;
  text-align: center;
}

.country-modal-body {
  padding: 30px;
  text-align: center;
  background: white;
}

.country-modal-body .modal-message {
  font-size: 1.1em;
  line-height: 1.6;
  margin-bottom: 25px;
  color: #333;
}

.country-modal-body .modal-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.country-modal-body .modal-redirect-btn {
  background: #1d95d2;
  color: white !important;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid #1d95d2;
  display: inline-block;
}

.country-modal-body .modal-redirect-btn:hover {
  background: #0f7bb8;
  border-color: #0f7bb8;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(29, 149, 210, 0.3);
  color: white !important;
}

.country-modal-body .modal-stay-btn {
  background: #6c757d;
  color: white;
  border: 2px solid #6c757d;
  padding: 12px 25px;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-family: inherit;
  font-size: inherit;
}

.country-modal-body .modal-stay-btn:hover {
  background: #5a6268;
  border-color: #5a6268;
  transform: translateY(-2px);
}

.country-modal-body .modal-footer-text {
  font-size: 0.9em;
  color: #666;
  margin-top: 20px;
  margin-bottom: 0;
}

/* Mobile responsiveness for country modal */
@media (max-width: 768px) {
  .country-modal-inner {
    padding: 15px;
  }
  
  .country-modal-content {
    width: 100%;
    max-width: 100%;
  }
  
  .country-modal-body {
    padding: 20px;
  }
  
  .country-modal-body .modal-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .country-modal-body .modal-redirect-btn,
  .country-modal-body .modal-stay-btn {
    width: 100%;
    text-align: center;
  }
  
  .country-modal-header h3 {
    font-size: 1.1em;
    padding: 0 10px;
  }
} 