.eu-guarantee-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 15px;
  box-sizing: border-box;
}

.eu-guarantee-modal-overlay.is-visible {
  opacity: 1;
  visibility: visible;
}

.eu-guarantee-modal-container {
  background: #ffffff;
  border-radius: 8px;
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  animation: euGuaranteeScaleIn 0.25s ease;
}

@keyframes euGuaranteeScaleIn {
  from {
    transform: scale(0.95);
  }
  to {
    transform: scale(1);
  }
}

.eu-guarantee-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 18px;
  border-bottom: 1px solid #e5e5e5;
  background-color: #f8f9fa;
  gap: 10px;
}

.eu-guarantee-modal-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.eu-guarantee-lang-select {
  padding: 4px 8px;
  font-size: 13px;
  border: 1px solid #ced4da;
  border-radius: 4px;
  background-color: #ffffff;
  color: #495057;
  cursor: pointer;
  outline: none;
  font-family: inherit;
}

.eu-guarantee-lang-select:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

.eu-guarantee-modal-title {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.eu-guarantee-modal-close {
  background: transparent;
  border: none;
  font-size: 24px;
  line-height: 1;
  color: #6c757d;
  cursor: pointer;
  padding: 0 4px;
  transition: color 0.15s ease;
}

.eu-guarantee-modal-close:hover {
  color: #000000;
}

.eu-guarantee-modal-body {
  padding: 16px;
  overflow-y: auto;
  text-align: center;
  background: #fdfdfd;
}

.eu-guarantee-modal-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
  border: 1px solid #eaeaea;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.eu-guarantee-modal-footer {
  padding: 12px 18px;
  border-top: 1px solid #e5e5e5;
  background-color: #f8f9fa;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.eu-guarantee-modal-link {
  font-size: 14px;
  color: #0056b3;
  text-decoration: underline;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  word-break: break-all;
}

.eu-guarantee-modal-link:hover {
  color: #003366;
  text-decoration: none;
}

.eu-guarantee-modal-btn-close {
  background-color: #6c757d;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 6px 14px;
  font-size: 13px;
  cursor: pointer;
  transition: background-color 0.15s ease;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.eu-guarantee-modal-btn-close:hover {
  background-color: #5a6268;
}
