/* Grunnleggende stiler */
body {
  font-family: Arial, sans-serif;
  background-color: #f8f9fa;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
}

.card {
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Stiler for logoen */
.logo {
  max-width: 150px; /* Begrens bredden til 150px */
  height: auto;     /* Behold proporsjonene */
  display: block;   /* Sentrer logoen */
  margin: 0 auto 20px; /* Legg til litt margin under logoen */
}

/* Stiler for hentesteder */
.location-card {
  cursor: pointer;
  transition: transform 0.2s;
}

.location-card:hover {
  transform: scale(1.02);
}

.border-success {
  border: 2px solid #28a745 !important; /* Grønn ramme */
}

/* Stiler for lasteringsspinner */
#loading-spinner {
  display: none;
  text-align: center;
  margin-top: 20px;
}

/* Stiler for feilmeldinger */
#error-message {
  display: none;
  margin-top: 20px;
}

/* Ensure the body and html take up full height */
html, body {
  height: 100%;
  margin: 0;
}

/* Flexbox layout to push footer to the bottom */
body {
  display: flex;
  flex-direction: column;
}

/* Main content area should grow to fill available space */
.container {
  flex: 1;
}

/* Footer styles */
.footer {
  background-color: transparent; /* Transparent background */
  padding: 10px 0;
  text-align: center;
}

.footer .btn-link {
  color: #007bff; /* Link color */
  text-decoration: none; /* Remove underline */
}

.footer .btn-link:hover {
  text-decoration: underline; /* Underline on hover */
}