/* Estilos adicionais do EXF.ia */

/* Abstract background pattern */
body {
  background-color: var(--licitech-bg);
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(30, 58, 138, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(16, 185, 129, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.04) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%231e3a8a' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  min-height: 100vh;
}

[data-bs-theme="dark"] body {
  background-image:
    radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(16, 185, 129, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.06) 0%, transparent 40%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2394a3b8' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* Dashboard cards */
.dashboard .card {
  transition: transform 0.15s ease-in-out, box-shadow 0.15s ease;
}

.dashboard .card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px -12px rgba(15,23,42,0.4);
}

/* Animações e transições */
.fade-in {
  animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Layout da navbar */
.navbar-top {
  background: linear-gradient(120deg, rgba(30, 58, 138, 0.15), rgba(16, 185, 129, 0.07)) var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  box-shadow: 0 10px 28px -24px rgba(15, 23, 42, 0.75);
}

.navbar-bottom {
  background: var(--navbar-bg);
  border-bottom: 1px solid var(--navbar-border);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.navbar-wide-container {
  max-width: 100%;
  padding-left: clamp(1rem, 4vw, 3.5rem);
  padding-right: clamp(1rem, 4vw, 3.5rem);
  margin: 0 auto;
}

.navbar-wide .navbar-brand {
  padding-left: 0;
}

.navbar-wide .navbar-nav {
  flex-wrap: wrap;
}

.top-bar-content {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-left: auto;
}

@media (max-width: 576px) {
  .top-bar-content {
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .top-bar-actions {
    justify-content: center;
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  .navbar-wide .navbar-nav {
    flex-wrap: nowrap;
  }
}

.icon-button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(30, 58, 138, 0.15);
  border-radius: 999px;
  background: var(--licitech-bg-secondary);
  color: var(--navbar-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease-in-out;
  box-shadow: 0 12px 30px -22px rgba(15, 23, 42, 0.9);
}

.icon-button:hover,
.icon-button:focus {
  border-color: var(--licitech-primary);
  color: var(--licitech-primary);
  background: var(--licitech-primary-light);
}

.top-bar-actions .btn-cta {
  box-shadow: 0 15px 32px -18px rgba(220, 38, 38, 0.55);
}

.top-bar-actions .btn-outline-secondary {
  border-color: rgba(148, 163, 184, 0.6);
  color: var(--navbar-text);
}

.top-bar-actions .btn-outline-secondary:hover {
  border-color: var(--licitech-primary);
  color: var(--licitech-primary);
}

/* Scrollbar personalizada */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

/* Navegação autenticada */
.nav-menu-group .nav-link {
  white-space: nowrap;
}

.nav-menu-dropdown {
  min-width: 360px;
  border-radius: 14px;
  border: 1px solid var(--licitech-border);
  background: var(--licitech-bg-secondary);
}

.nav-menu-header small {
  color: var(--licitech-text-muted);
}

.nav-menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  max-height: 21rem;
  overflow-y: auto;
}

.nav-menu-link {
  padding: 0.75rem;
  border-radius: 12px;
  text-decoration: none;
  color: var(--licitech-text);
  border: 1px solid transparent;
  background: var(--licitech-bg);
  transition: all 0.15s ease-in-out;
  box-shadow: 0 12px 30px -20px rgba(15, 23, 42, 0.4);
}

.nav-menu-link:hover,
.nav-menu-link.active {
  border-color: var(--licitech-primary);
  color: var(--licitech-primary);
  box-shadow: 0 14px 28px -18px rgba(30, 58, 138, 0.45);
}

.nav-menu-link small {
  color: var(--licitech-text-muted);
}

.nav-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--licitech-bg-tertiary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--licitech-primary);
  flex-shrink: 0;
}

@media (max-width: 991.98px) {
  .nav-menu-group .dropdown-menu {
    position: static;
    transform: none !important;
    border: none;
    box-shadow: none;
    background: transparent;
    padding-top: 0;
  }

  .nav-menu-dropdown {
    min-width: 100%;
    border: 1px solid var(--licitech-border);
  }

  .nav-menu-grid {
    grid-template-columns: 1fr;
    max-height: none;
  }
}

::-webkit-scrollbar-track {
  background: var(--licitech-bg-tertiary);
}

::-webkit-scrollbar-thumb {
  background: var(--licitech-neutral);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--licitech-primary);
}

/* Helpers */
.min-vh-80 {
  min-height: 80vh;
}

.cursor-pointer {
  cursor: pointer;
}

.help-popover {
  color: var(--bs-secondary-color);
}

.help-popover:hover,
.help-popover:focus {
  color: var(--bs-primary);
}

.help-toast-container {
  z-index: 1080;
}

.help-toast .toast-header {
  background-color: rgba(13, 110, 253, 0.1);
}

.help-toast .toast-body {
  color: var(--bs-body-color);
}

/* Print styles */
@media print {
  .no-print {
    display: none !important;
  }

  body {
    background: white !important;
    color: black !important;
  }
}
/* Build: 1767748370 */
