/* Custom styles for space/console look */
body {
  font-family: "Inter", sans-serif;
  background-color: #0d1117; /* Deep Space Black fallback */
  color: #e2e8f0; /* Light text for dark theme */

  /* Background Image Setup */
  /* background-image: url('https://media.istockphoto.com/id/2198703702/photo/nightly-earth-planet-space-banner-template-asia.jpg?b=1&s=612x612&w=0&k=20&c=fhj9xYSkxPKqn-I2SkibDGM_szt2OjFX7pnhE3AxlEM='); */
  background-image: url("https://images.pexels.com/photos/586056/pexels-photo-586056.jpeg");
  /* Add properties to make it cover the entire screen: */
  background-size: cover;
  background-position: center;
  background-attachment: fixed; /* Optional: Makes the background static when scrolling */
}
.container-card {
  background-color: rgba(25, 30, 40, 0.95); /* Dark translucent background */
  border: 1px solid #1e40af; /* Deep blue border */
  transition: all 0.3s ease-in-out;
  /* Subtle blue glow effect for the futuristic console feel */
  box-shadow: 0 0 15px rgba(30, 64, 175, 0.5), 0 0 5px rgba(30, 64, 175, 0.8);
}
.container-card:hover {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.7), 0 0 8px rgba(59, 130, 246, 1);
  transform: translateY(-2px);
}
.btn-primary {
  transition: all 0.2s ease-in-out;
  background-color: #3b82f6; /* Blue-500 */
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.btn-primary:hover:not(:disabled) {
  background-color: #2563eb; /* Blue-700 */
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.8); /* Stronger glow on hover */
  transform: scale(1.02); /* Pop out effect */
}
.btn-primary:disabled {
  background-color: #6b7280;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.coord-display {
  background-color: #1f2937; /* Dark slate */
  border: 2px solid #60a5fa; /* Light blue border for focus */
  color: #dbeafe; /* Very light blue text */
  box-shadow: inset 0 0 10px rgba(59, 130, 246, 0.3); /* Inner glow */
}
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid #f3f3f3;
  border-top: 3px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.analysis-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 2px solid #3b82f6;
  box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}
.stats-card {
  background-color: rgba(31, 41, 55, 0.9);
  border: 1px solid #374151;
  border-radius: 8px;
  padding: 1rem;
  margin: 0.5rem 0;
}
.error-message {
  background-color: rgba(239, 68, 68, 0.1);
  border: 1px solid #ef4444;
  color: #fecaca;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}
.success-message {
  background-color: rgba(34, 197, 94, 0.1);
  border: 1px solid #22c55e;
  color: #bbf7d0;
  padding: 1rem;
  border-radius: 8px;
  margin: 1rem 0;
}
.select-input {
  background-color: #1f2937;
  border-color: #4b5563;
  color: #e2e8f0;
  transition: all 0.2s;
}
.select-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px #3b82f6;
}
.input-field {
  background-color: #1f2937;
  border-color: #4b5563;
  color: #e2e8f0;
  transition: all 0.2s;
}
.input-field:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 2px #3b82f6;
}
.header-logo {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.8));
}
.tab-button {
  background-color: rgba(55, 65, 81, 0.8);
  border: 1px solid #4b5563;
  color: #d1d5db;
  transition: all 0.2s;
}
.tab-button.active {
  background-color: #3b82f6;
  border-color: #2563eb;
  color: white;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.6);
}
.tab-button:hover:not(.active) {
  background-color: rgba(75, 85, 99, 0.8);
  border-color: #6b7280;
}
h1 {
  font-family: "Orbitron", sans-serif;
}
p {
  font-family: "Audiowide", cursive;
}
