/*!***************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[3]!./src/app/components/layout/Header.module.css ***!
  \***************************************************************************************************************************************************************************************************************************************************************************************/
.Header_header__lMfxW {
  grid-area: header;
  background: var(--color-dark);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.Header_header__lMfxW h2 {
  font-size: 1.25rem;
  color: var(--header-text);
}

.Header_tools__wgw11 {
  display: flex;
  align-items: center;
}

.Header_tools__wgw11 button {
  background: none;
  border: none;
  margin-left: 0.75rem;
  cursor: pointer;
  color: #fff;
  transition: color 0.2s;
}

.Header_tools__wgw11 button:hover {
  color: var(--color-accent-start);
}

.Header_avatar__gdsqH {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  margin-left: 0.75rem;
  border: 2px solid var(--color-accent-start);
}

.Header_icon__hBO0x {
  width: 22px;
  height: 22px;
}

/*!****************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[3]!./src/app/components/layout/Sidebar.module.css ***!
  \****************************************************************************************************************************************************************************************************************************************************************************************/
.Sidebar_sidebar__67qWe {
  grid-area: sidebar;
  background: linear-gradient(180deg, var(--color-dark) 0%, #041f3b 100%);
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.5rem;
  transition: width 0.3s ease;
  width: var(--sidebar-width, 280px);
  position: relative;
  height: calc(100vh - 64px);
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 {
  width: var(--sidebar-width, 80px);
  padding: 2rem 1rem 1.5rem;
}

.Sidebar_brand__NCkDh {
  display: flex;
  align-items: center;
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.Sidebar_brand__NCkDh::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -2rem;
  right: -2rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent
  );
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 .Sidebar_brand__NCkDh::after {
  left: -1rem;
  right: -1rem;
}

.Sidebar_brand-icon__UvnmB {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-right: 0.75rem;
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 .Sidebar_brand-icon__UvnmB {
  margin-right: 0;
}

.Sidebar_brand-text__h_3ex {
  color: var(--header-text);
  font-size: 1.3rem;
  font-weight: 700;
}

.Sidebar_collapseButton__nDzmv {
  position: absolute;
  right: -12px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-accent-start);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: background-color 0.3s;
  z-index: 10;
}

.Sidebar_collapseButton__nDzmv:hover {
  background: var(--color-accent-end);
}

.Sidebar_menu__cR291 {
  margin-top: 0.5rem;
  position: relative;
}

.Sidebar_menu__cR291::after {
  content: '';
  position: absolute;
  bottom: -1.5rem;
  left: -2rem;
  right: -2rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent
  );
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 .Sidebar_menu__cR291::after {
  left: -1rem;
  right: -1rem;
}

.Sidebar_menu__cR291 ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.Sidebar_menu__cR291 li {
  margin-bottom: 0.5rem;
}

/* Separador de sección */
.Sidebar_sectionDivider__QVxhu {
  margin: 1rem 0 0.75rem;
  padding: 0 0.25rem;
}

.Sidebar_sectionLabel__1lttl {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.4);
  padding: 0.5rem 0.75rem;
}

.Sidebar_sectionLine__kjKHX {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15) 50%,
    transparent
  );
  margin: 0.5rem 0;
}

.Sidebar_menu__cR291 a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--color-bg-light);
  text-decoration: none;
  position: relative;
  transition: background 0.3s, transform 0.3s;
  white-space: nowrap;
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 .Sidebar_menu__cR291 a {
  padding: 0.75rem;
  justify-content: center;
}

.Sidebar_menu__cR291 a:hover {
  background: rgba(255,255,255,0.1);
  transform: translateX(4px);
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 .Sidebar_menu__cR291 a:hover {
  transform: scale(1.1);
}

.Sidebar_active__SRR_8 {
  background: rgba(255,255,255,0.15);
}

.Sidebar_active__SRR_8::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: var(--color-accent-start);
  border-radius: 0 4px 4px 0;
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 .Sidebar_active__SRR_8::before {
  width: 100%;
  height: 4px;
  top: auto;
  bottom: -4px;
  left: 0;
  border-radius: 4px;
}

.Sidebar_icon__fH2Lv {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--color-bg-light);
  margin-right: 0.75rem;
  transition: transform 0.3s, color 0.3s;
  flex-shrink: 0;
}

.Sidebar_menu__cR291 a:hover .Sidebar_icon__fH2Lv,
.Sidebar_active__SRR_8 .Sidebar_icon__fH2Lv {
  transform: scale(1.1);
  color: var(--color-accent-start);
}

.Sidebar_collapseIcon__mwpWi {
  width: 1rem;
  height: 1rem;
  color: var(--color-bg-light);
}

.Sidebar_logout__tNYz_ {
  margin-top: auto;
  padding-top: 1.5rem;
  position: relative;
}

.Sidebar_logout__tNYz_::before {
  content: '';
  position: absolute;
  top: 0;
  left: -2rem;
  right: -2rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1) 20%,
    rgba(255, 255, 255, 0.1) 80%,
    transparent
  );
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 .Sidebar_logout__tNYz_::before {
  left: -1rem;
  right: -1rem;
}

.Sidebar_logout__tNYz_ button {
  width: 100%;
  padding: 0.75rem;
  border: none;
  border-radius: 6px;
  background: var(--color-accent-end);
  color: var(--color-bg-light);
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.Sidebar_sidebar__67qWe.Sidebar_collapsed__zoGw1 .Sidebar_logout__tNYz_ button {
  padding: 0.75rem;
}

.Sidebar_logout__tNYz_ button:hover {
  background: var(--color-accent-start);
}

/*!********************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[5].use[3]!./src/app/settings/Settings.module.css ***!
  \********************************************************************************************************************************************************************************************************************************************************************************/
/* Settings.module.css - Centro de configuración */

/* Layout grid igual que query-generator */
.Settings_layoutGrid__LsH0t {
  display: grid;
  grid-template-areas:
    'header header'
    'sidebar main';
  grid-template-rows: 64px 1fr;
  grid-template-columns: var(--sidebar-width, 280px) 1fr;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
}

.Settings_container__SyC6v {
  grid-area: main;
  display: flex;
  width: 100%;
  height: 100%;
  background: var(--color-bg-light);
  overflow: hidden;
}

/* Layout de 3 columnas:
   - SettingsSidebar (320px fijo)
   - SettingsList (flex: 1)
   - SettingsEditorPanel (420px fijo, solo cuando hay selección)
*/

/* Responsivo */
@media (max-width: 768px) {
  .Settings_container__SyC6v {
    flex-direction: column;
  }
  
  .Settings_placeholder__pBf_b h2 {
    font-size: 1.25rem;
  }
  
  .Settings_placeholderIcon__Ba6vI {
    font-size: 3rem;
  }
}

