/* Grupo Flox Custom Styles */
:root {
  --flox-primary: #1a4d8c;    /* Azul principal */
  --flox-secondary: #2c7be5;  /* Azul secundário */
  --flox-accent: #64748b;     /* Cinza accent */
  --flox-surface: #f8fafc;    /* Background claro */
  --flox-error: #ef4444;      /* Vermelho para erros */
}

.btn-flox-primary {
  background-color: #1a3c7d;
  color: white;
  font-weight: 500;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease-in-out;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-size: 1rem;
}

.btn-flox-primary:hover {
  background-color: #234b97;
  transform: translateY(-1px);
}

.input-flox {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  padding-left: 2.5rem;
  background-color: white;
  border: 1px solid #e2e8f0;
  border-radius: 0.5rem;
  color: #1a202c;
  font-size: 0.95rem;
  line-height: 1.5;
  transition: all 0.2s ease-in-out;
}

.input-flox:focus {
  outline: none;
  border-color: #1a3c7d;
  box-shadow: 0 0 0 3px rgba(26, 60, 125, 0.1);
}

.input-flox::placeholder {
  color: #a0aec0;
}

.checkbox-flox {
  height: 1.25rem;
  width: 1.25rem;
  border-radius: 0.25rem;
  border: 2px solid #e2e8f0;
  accent-color: #1a3c7d;
  transition: all 0.2s ease-in-out;
}

.checkbox-flox:checked {
  background-color: #1a3c7d;
  border-color: #1a3c7d;
}

.checkbox-flox:focus {
  outline: none;
  border-color: #1a3c7d;
  box-shadow: 0 0 0 3px rgba(26, 60, 125, 0.1);
}

.link-flox {
  color: #1a3c7d;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}

.link-flox:hover {
  color: #234b97;
  text-decoration: underline;
}

.logo-stroke {
  -webkit-filter: brightness(0) invert(1);
  filter: brightness(0) invert(1);
}

/* Sidebar styles */
.sidebar-item-text {
  opacity: 0;
  visibility: hidden;
  width: 0;
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  transition: opacity 0.3s, width 0.3s;
}

.sidebar-expanded .sidebar-item-text {
  opacity: 1 !important;
  visibility: visible !important;
  width: auto;
  overflow: visible;
  white-space: normal;
}

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

::-webkit-scrollbar-track {
  background: #f1f5f9;
  border-radius: 100vh;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border: 2px solid #f1f5f9;
  border-radius: 100vh;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Scrollbar personalizada da sidebar (mais fina) */
.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
  border: none;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background-color: #e2e8f0;
  border: none;
  border-radius: 20px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background-color: #cbd5e1;
}

/* Efeito de hover nos ícones do menu */
.menu-icon-hover {
  @apply transition-transform duration-200;
}

.sidebar-link:hover .menu-icon-hover {
  @apply transform scale-110;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  background-color: #f8fafc;
  background-image:
    radial-gradient(at 100% 0%, rgba(26, 60, 125, 0.08) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(26, 60, 125, 0.08) 0px, transparent 50%),
    linear-gradient(135deg, #ffffff 25%, transparent 25%) 50px 0,
    linear-gradient(225deg, #ffffff 25%, transparent 25%) 50px 0,
    linear-gradient(315deg, #ffffff 25%, transparent 25%),
    linear-gradient(45deg, #ffffff 25%, transparent 25%);
  background-size: 100% 100%, 100% 100%, 100px 100px, 100px 100px, 100px 100px, 100px 100px;
  background-attachment: fixed;
}
