/**
 * 3D Tiles Popup Styling
 * Premium, minimal neutral dark styling matching Fast Panel V2
 */

.3d-tiles-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.3d-tiles-popup.hidden {
  opacity: 0;
  pointer-events: none;
}

.3d-tiles-popup-content {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 32px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5),
              0 0 1px rgba(255, 255, 255, 0.1) inset;
  position: relative;
  animation: popupSlideIn 0.3s ease;
}

@keyframes popupSlideIn {
  from {
    transform: translateY(-20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.3d-tiles-popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-size: 28px;
  cursor: pointer;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.3d-tiles-popup-close:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
}

.3d-tiles-popup-title {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 12px 0;
  letter-spacing: -0.5px;
}

.3d-tiles-popup-description {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.3d-tiles-popup-location {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.location-label {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.location-coords {
  font-family: 'Courier New', monospace;
  font-size: 13px;
  color: #4fc3f7;
  font-weight: 500;
}

.3d-tiles-popup-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.btn-3d-tiles {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 14px;
  font-weight: 600;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-3d-tiles::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.btn-3d-tiles:hover::before {
  left: 100%;
}

.btn-google {
  background: linear-gradient(135deg, #4285f4 0%, #357ae8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.btn-google:hover {
  background: linear-gradient(135deg, #357ae8 0%, #2a5fc7 100%);
  box-shadow: 0 6px 16px rgba(66, 133, 244, 0.4);
  transform: translateY(-2px);
}

.btn-osm {
  background: linear-gradient(135deg, #7ebc6f 0%, #6aa85b 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(126, 188, 111, 0.3);
}

.btn-osm:hover {
  background: linear-gradient(135deg, #6aa85b 0%, #5a9449 100%);
  box-shadow: 0 6px 16px rgba(126, 188, 111, 0.4);
  transform: translateY(-2px);
}

.3d-tiles-popup-info {
  text-align: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.3d-tiles-popup-info small {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

