@tailwind base;
@tailwind components;
@tailwind utilities;
/* Add to your CSS file */

a {
  text-decoration: none !important;
}

.dropdown-container {
  position: relative;
  display: inline-block;
}

.dropdown-container .dropdown-menu {
  position: absolute;
  right: 0;
  min-width: 12rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.dropdown-container .dropdown-menu.top {
  bottom: 100%;
  margin-bottom: 0.25rem;
}

.dropdown-container .dropdown-menu.bottom {
  top: 100%;
  margin-top: 0.25rem;
}
@media (max-width: 768px) {
.toolbar{
  position: relative;
  flex-wrap: wrap;
}}
/* Remove incorrect Bootstrap import */
/* @import 'bootstrap/dist/css/bootstrap.min.css'; */

/* Instead rely on the direct link in app.blade.php */

/* :root {
  --primary-color: #3498db;
  --secondary-color: #2ecc71;
  --dark-color: #34495e;
  --light-color: #ecf0f1;
  --danger-color: #e74c3c;
  --warning-color: #f39c12;
  --info-color: #1abc9c;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --border-radius: 8px;
}

body {
  background-color: #f8f9fa;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: var(--dark-color);
  line-height: 1.6;
}


h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
}

.card {
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  border: none;
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.card-header {
  background-color: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  font-weight: 600;
  padding: 1rem 1.25rem;
}


.btn {
  border-radius: var(--border-radius);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #2980b9;
  border-color: #2980b9;
  transform: translateY(-1px);
}

.btn-success {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-success:hover, .btn-success:focus {
  background-color: #27ae60;
  border-color: #27ae60;
  transform: translateY(-1px);
}

.btn-danger {
  background-color: var(--danger-color);
  border-color: var(--danger-color);
}

.btn-info {
  background-color: var(--info-color);
  border-color: var(--info-color);
}

.btn-warning {
  background-color: var(--warning-color);
  border-color: var(--warning-color);
}


.form-control {
  border-radius: var(--border-radius);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(52, 152, 219, 0.25);
}

.form-label {
  font-weight: 500;
  margin-bottom: 0.5rem;
}


.navbar {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
}

.nav-link {
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  transition: all 0.2s;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  transform: translateY(-2px);
}

.table {
  border-radius: var(--border-radius);
  overflow: hidden;
}

.table thead th {
  background-color: rgba(0, 0, 0, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 600;
}

.alert {
  border-radius: var(--border-radius);
  border: none;
}


.py-12 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 768px) {
  .py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

.max-w-7xl {
  width: 100%;
  max-width: 100%;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .max-w-7xl {
    max-width: 90%;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 1024px) {
  .max-w-7xl {
    max-width: 80rem;
  }
}

.list-group-item {
  border-left: none;
  border-right: none;
  border-color: rgba(0, 0, 0, 0.05);
  padding: 1rem 1.25rem;
}


@media (max-width: 768px) {
  .table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  
  .card-body {
    padding: 1rem;
  }
}


.btn-loading {
  position: relative;
  pointer-events: none;
}

.btn-loading:after {
  content: '';
  display: block;
  width: 1.2em;
  height: 1.2em;
  position: absolute;
  right: calc(50% - 0.6em);
  top: calc(50% - 0.6em);
  border: 2px solid white;
  border-radius: 50%;
  border-right-color: transparent;
  border-bottom-color: transparent;
  animation: button-loading-spinner 0.8s ease infinite;
}

@keyframes button-loading-spinner {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.offline-indicator {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background-color: var(--dark-color);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: var(--border-radius);
  z-index: 1050;
  box-shadow: var(--shadow);
  text-align: center;
  animation: slide-up 0.3s ease;
}

@keyframes slide-up {
  0% {
    transform: translateY(100%);
  }
  100% {
    transform: translateY(0);
  }
}

.badge {
  font-weight: 500;
  padding: 0.35em 0.65em;
  border-radius: 30px;
}


.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}


@media (max-width: 576px) {
  .d-flex.gap-2 {
    flex-direction: column;
    gap: 0.5rem !important;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .justify-content-between {
    flex-direction: column;
  }
  
  .justify-content-between .btn, 
  .justify-content-between a {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

.desktop-menu {
    flex-direction: row;
} */