/* External Link Popup Styles */
.external-link-popup {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0);
  z-index: 10000;
  justify-content: center;
  align-items: center;
  backdrop-filter: saturate(180%) blur(0px);
  -webkit-backdrop-filter: saturate(180%) blur(0px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.external-link-popup.active {
  opacity: 1;
  visibility: visible;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: saturate(180%) blur(5px);
  -webkit-backdrop-filter: saturate(180%) blur(5px);
}

.external-link-popup .popup-content {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  position: relative;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transform: translateY(20px);
  transition: transform 0.3s ease;
}

.external-link-popup.active .popup-content {
  transform: translateY(0);
}

.external-link-popup .popup-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  background: var(--alphacore_blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 32px;
}

.external-link-popup .popup-title {
  font-family: "Taviraj", Georgia, "Times New Roman", serif;
  font-size: 28px;
  color: var(--alphacore_dark_blue);
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
}

.external-link-popup .popup-message {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 10px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.external-link-popup .popup-message:last-of-type {
    margin-bottom: 30px;
}

.external-link-popup .popup-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.external-link-popup .popup-button {
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  min-width: 120px;
}

.external-link-popup .popup-button.primary {
  background: var(--alphacore_blue);
  color: var(--white);
}

.external-link-popup .popup-button.primary:hover {
  background: var(--alphacore_dark_blue);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.external-link-popup .popup-button.secondary {
  background: transparent;
  color: var(--gray);
  border: 2px solid #e9ecef;
}

.external-link-popup .popup-button.secondary:hover {
  background: #f8f9fa;
  border-color: var(--alphacore_blue);
  color: var(--alphacore_blue);
}

.external-link-popup .close-popup {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--gray);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.external-link-popup .close-popup:hover {
  background: #f8f9fa;
  color: var(--alphacore_dark_blue);
}

/* Responsive Design */
@media (max-width: 768px) {
  .external-link-popup .popup-content {
    padding: 30px 20px;
    margin: 20px;
    width: calc(100% - 40px);
  }
  
  .external-link-popup .popup-title {
    font-size: 24px;
  }
  
  .external-link-popup .popup-message {
    font-size: 15px;
  }
  
  .external-link-popup .popup-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .external-link-popup .popup-button {
    width: 100%;
    max-width: 200px;
  }
}

@media (max-width: 480px) {
  .external-link-popup .popup-content {
    padding: 25px 15px;
  }
  
  .external-link-popup .popup-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .external-link-popup .popup-title {
    font-size: 22px;
  }
}
