/* public/css/style.css */
* {
  font-family: "Inter", sans-serif;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.6;
}

/* Modern Navbar */
.navbar-modern {
  box-shadow: var(--shadow-lg);
  padding: 1rem 0;
  border-bottom: 3px solid rgba(255, 255, 255, 0.1);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  border-radius: 8px;
  margin: 0 0.25rem;
  transition: all 0.3s ease;
  position: relative;
}

.navbar-nav .nav-link:hover {
  transform: translateY(-1px);
}

/* Dropdown Improvements */
.dropdown-menu {
  border: none;
  box-shadow: var(--shadow-lg);
  border-radius: var(--border-radius);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dropdown-item {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  transform: translateX(4px);
}

.dropdown-item i {
  width: 20px;
  margin-right: 0.5rem;
}

/* Container Improvements */
.main-container {
  min-height: calc(100vh - 200px);
  padding: 2rem 0;
}

/* Card Improvements */
.card {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.card:hover {
}

.card-header {
  font-weight: 600;
  padding: 1.25rem;
}

.card-body {
  padding: 1.5rem;
}

/* Button Improvements */
.btn {
  border-radius: 8px;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  border: none;
}

.btn-info,
.btn-warning {
  color: white !important;
}

.btn-primary {
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  filter: brightness(0.9);
}

/* Form Improvements */
.form-control {
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form-label {
  margin-bottom: 0.5rem;
}

/* Badge Improvements */
.badge {
  border-radius: 6px;
  font-weight: 500;
  padding: 0.5rem 0.75rem;
}

/* List Group Improvements */
.list-group-item {
  border: none;
  border-radius: 8px !important;
  margin-bottom: 0.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.list-group-item:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
}

/* Alert Improvements */
.alert {
  border: none;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

/* Responsive Improvements */
@media (max-width: 768px) {
  .navbar-brand {
    font-size: 1.25rem;
  }

  .main-container {
    padding: 1rem 0;
  }

  .card-body {
    padding: 1rem;
  }
}

/* Loading Animation */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Hover Effects for Icons */
.nav-link i,
.dropdown-item i {
  transition: all 0.2s ease;
}

.nav-link:hover i,
.dropdown-item:hover i {
  transform: scale(1.1);
}

body {
  /* padding-top: 56px; /* Adjust for fixed navbar if any */
}

.footer {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 60px; /* Set the fixed height of the footer here */
  line-height: 60px; /* Vertically center the text there */
  background-color: #f5f5f5;
}

.alert-container {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 1050;
}
