/* Sistema Gestión Accidentabilidad CORMA - Estilos base */

:root {
  --sidebar-width: 240px;
  --sidebar-bg: #f8f9fa;
  --sidebar-border: #dee2e6;
  --sidebar-link-color: #495057;
  --sidebar-link-active-bg: rgba(13, 110, 253, 0.1);
  --sidebar-link-active-color: #0d6efd;
}

body {
  margin: 0;
  min-height: 100vh;
}

.app-wrapper {
  min-height: 100vh;
  max-width: 100vw;
  overflow-x: hidden;
}

.sidebar {
  width: var(--sidebar-width);
  background: var(--sidebar-bg);
  border-right: 1px solid var(--sidebar-border);
}

.sidebar-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
}

.sidebar-brand {
  font-weight: 600;
  font-size: 0.95rem;
}

.sidebar-nav .nav-link {
  color: var(--sidebar-link-color);
  border-radius: 0.375rem;
  padding: 0.5rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-nav .nav-link:hover {
  background: rgba(0, 0, 0, 0.05);
  color: inherit;
}

.sidebar-nav .nav-link.active {
  background: var(--sidebar-link-active-bg);
  color: var(--sidebar-link-active-color);
  font-weight: 500;
}

.sidebar-footer {
  margin-top: auto;
}

.x-small {
  font-size: 0.7rem;
}

/* Login */
.min-vh-100 {
  min-height: 100vh;
}
