/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

body {
    background-color: #e6f9ec;
}

.btn-primary {
    background-color: #4caf50;
    border-color: #4caf50;
}

.navbar, .card {
    background-color: #f4fff7;
}

.text-primary {
    color: #388e3c !important;
}


/* Custom styles - loaded after Bootstrap */
.invalid-job {
  background-color: #dc3545 !important;
  color: white !important;
  border: 2px solid #b02a37 !important;
}

.list-group .list-group-item.invalid-job {
  background-color: #f8d7da !important;
  color: #721c24 !important;
  border-color: #f5c6cb !important;
  border-left: 5px solid #dc3545 !important;
}

.list-group .list-group-item.invalid-job:hover {
  background-color: #f1b0b7 !important;
}

.whois-popover {
  max-width: 800px;
}

/* Enhanced Sidebar Styles */
.sidebar {
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.btn-sidebar-toggle {
  transition: all 0.2s ease;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.btn-sidebar-toggle:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
  transform: translateX(5px);
}

.btn-sidebar-toggle:focus {
  box-shadow: 0 0 0 0.25rem rgba(129, 199, 132, 0.4);
  color: white !important;
}

.nav-link-sidebar {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.nav-link-sidebar:hover {
  color: white !important;
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateX(3px);
}

.nav-link-sidebar.active {
  color: white !important;
  background: rgba(255, 255, 255, 0.25) !important;
  font-weight: 600;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-chevron {
  transition: transform 0.2s ease;
  font-size: 0.8rem;
}

.btn-sidebar-toggle[aria-expanded="true"] .sidebar-chevron {
  transform: rotate(180deg);
}

/* Smooth collapse animations */
.collapse {
  transition: all 0.3s ease;
}

/* Badge styling */
.badge {
  font-size: 0.7rem;
  padding: 0.25em 0.5em;
}

/* Focus indicators for accessibility */
.nav-link-sidebar:focus,
.btn-sidebar-toggle:focus {
  outline: 2px solid #81c784;
  outline-offset: 2px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .sidebar {
    width: 100% !important;
    min-height: auto !important;
  }
}