/* Global Styles */

/* Custom Bootstrap Overrides */
.bg-primary {
  background-color: var(--primary) !important;
}

.text-primary {
  color: var(--primary) !important;
}

.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: var(--primary-hover);
  border-color: var(--primary-hover);
}

/* Custom Styles */
.navbar-brand {
  font-weight: 600;
}

.card {
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Landing page specific styles */
.display-4 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  border-radius: 0.75rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .display-4 {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .display-4 {
    font-size: 2rem;
  }
}

/* Loading Overlay Styles */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #f8f9fa; /* Match body background */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.loading-overlay.fade-out {
  opacity: 0;
  pointer-events: none;
}

.spinner-border {
  width: 3rem;
  height: 3rem;
  border-width: 0.3em;
}

/* Splash Page Fixed Elements */
#splash-copyright {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.9rem;
  z-index: 1000;
}

#splash-admin-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  /* Ensure it's a circle button */
  width: 50px;
  height: 50px;
  border-radius: 50%;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: var(--shadow-color);
}

#splash-admin-btn i {
  font-size: 1.2rem;
}
