

/* ------------------------------
    0) Design tokens / custom props
   ------------------------------ */

  @import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');
:root {
  /* Larghezze sidebar */
  --sidebar-w: 246px;            /* larghezza normale desktop */
  --sidebar-collapsed-w: 72px;   /* larghezza rail icone */

  /* Motion */
  --t-fast: .2s;                 /* micro animazioni */
  --t: .28s;                     /* transizioni strutturali */
  --ease: cubic-bezier(.4, 0, .2, 1);

  /* Colori principali */
  --sfondo: #ffffff;
  --light-grey: #fefffe;
  --grey: #ebeaeb;
  --testo: #1a1a1a;
  --blu: #1d3d66;
  --blu-scuro: #0b2b55;
  --azzurro: #527dce;
  --blu-chiaro: #2a4d7a;
  --blu-hover: #6289d4;
}

/* ------------------------------
    1) Reset e base
   ------------------------------ */
* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}
html, body { height: 100%; }
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, sans-serif !important;
  background-color: var(--sfondo);
  color: var(--testo);
  line-height: 1.5;
}

/* body::-webkit-scrollbar {
  width: 12px;
}

body::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px white;
}

body::-webkit-scrollbar-thumb {
  background-color: var(--grey-blue); border-radius: 10px;
}

main::-webkit-scrollbar {
  width: 12px;
}

main::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px white;
}

main::-webkit-scrollbar-thumb {
  background-color: var(--grey-blue); border-radius: 10px;
}
main::-webkit-scrollbar-thumb:hover {
  background-color: var(--grey-blue-hover); border-radius: 10px;
} */

/* ------------------------------
    2) Layout di base
   ------------------------------ */

/* consigliato per evitare micro-salti durante transizioni */
  .cc-custom-carousel,
  .cc-custom-carousel .carousel-inner { overflow: hidden; }

#overlay{
  display: flex;
  inset: 0;
  position:fixed;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index:99999;
  width: 100%;
  height: 100%;
  background: #0b2b55ee;
  opacity: 1;
  transition: opacity 0.5s ease;
  color: #fff;
}

#overlay span{
  font-size: 1.4em;
  font-weight: 400;
  margin-top: 10px;
}

.no-style-link{
  text-decoration: none;
  
}


.main-container { display: flex; min-height: 100vh; width: 100%; }
.content-area { flex: 1; display: flex; flex-direction: column; }

/* Le due colonne animano larghezza senza scatti */
#layout-sidebar, #layout-main {
  transition: flex-basis var(--t) var(--ease), max-width var(--t) var(--ease);
}

/* Sidebar: larghezza gestita via flex-basis per animazioni fluide */
#layout-sidebar {
  flex: 0 0 var(--sidebar-w);
  max-width: var(--sidebar-w);
}
#layout-main { flex: 1 1 auto; min-width: 0; }

/* Sidebar interna (riempie la colonna, sticky in desktop) */
#layout-sidebar .sidebar {
  width: 100%;
  position: sticky; /* resta visibile nello scroll */
  top: 0;
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  background-color: var(--blu);
  padding: 16px;
  display: flex; flex-direction: column; align-items: center;
  z-index: 1000;
}

/* ------------------------------
    3) Header
   ------------------------------ */
.header {
  background-color: var(--blu-scuro);
  padding: 14px 20px;
  display: flex; justify-content: space-between; align-items: center;
}
.header-title { font-size: 20px; font-weight: 600; color: #fffeff; }

.user-avatar { border: none; width: 66px; height: 46px; background-color: var(--grey); border-radius: 22px; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 700; color: var(--blu-scuro); cursor: pointer; position: relative; }
.user-dropdown { position: absolute; top: 100%; right: 0; background-color: #fff; border: 1px solid #dee2e6; border-radius: .375rem; box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); z-index: 1000; min-width: 180px; margin-top: 5px; display: none; }
.user-dropdown.show { display: block; }
.user-dropdown .dropdown-item { padding: .5rem 1rem; display: block; width: 100%; color: #212529; text-decoration: none; background: transparent; border: 0; cursor: pointer; }
.user-dropdown .dropdown-item:hover { background-color: #f8f9fa; }

/* ------------------------------
    4) Sidebar: logo + nav (con transizioni morbide)
   ------------------------------ */
.logo-section { display: flex; flex-direction: column; align-items: center; margin-bottom: 20px; }
.logo-image { width: 80px; height: 80px; margin-bottom: 8px; transition: all .3s ease-out }
.logo-text { font-size: 14px; font-weight: 600; line-height: 1.2; text-align: center; color: var(--light-grey); margin-top: -2px; transition: opacity .2s ease-out .3s;}

.nav-menu { display: flex; flex-direction: column; gap: 4px; width: 100%; margin-top: 20px; }
/* reset lista nav */
.nav-menu ul { list-style: none; margin: 0; padding: 0; }
/* voci come <a.nav-item> full-width */
.nav-item {
  display: flex;
  align-items: center;
  width: 100%;           /* nuovo: il link occupa tutta la riga */
  padding: 6px 14px;
  border-radius: 10px;
  background-color: var(--blu);
  transition: background-color var(--t-fast) var(--ease);
  cursor: pointer;
  text-decoration: none; /* nuovo: niente sottolineatura sui link */
}
.nav-item:hover { background-color: var(--blu-chiaro); }
.nav-item.active { background-color: var(--azzurro); }
.nav-item.active:hover { background-color: var(--blu-hover); }

/* Icona + testo con transizioni; niente display:none per evitare scatti */
.nav-icon {
  width: 26px;
  text-align: center;
  font-size: 1.2rem;
  margin-right: 10px;
  filter: brightness(0) invert(1);
  color: white;
  transition: margin var(--t) var(--ease);
}
.nav-text {
  color: var(--light-grey);
  font-size: 14px; font-weight: 400;
  display: inline-block; white-space: nowrap; overflow: hidden;
  max-width: 180px; /* estensione massima da aperta */
  opacity: 1;
  transition: max-width var(--t) var(--ease), opacity var(--t) var(--ease), margin var(--t) var(--ease);
}
.nav-item:focus-visible { outline: 2px solid rgba(255,255,255,.6); outline-offset: 2px; }


/* attivo da HTML: aria-current o classe .is-active */
.nav-item[aria-current="page"], .nav-item.is-active { background-color: var(--azzurro); }
.nav-item[aria-current="page"] .nav-text { font-weight: 600; }

.nav-item[aria-current="page"]:hover,
.nav-item.is-active:hover { background-color: var(--blu-hover); }

.nav-item[aria-expanded="true"]{
  background-color: var(--blu-chiaro);
}
.nav-item.sub-item { background-color: var(--blu-chiaro); }
.nav-item.sub-item:hover { background-color: var(--blu-hover); }

/* ------------------------------
    5) Stato COLLASSATO (>= lg)
    - Attivato aggiungendo .sidebar-collapsed su un wrapper (es. <body>)
    - Riduce la colonna e compatta testi senza "flash"/salti
    ------------------------------ */
@media (min-width: 992px) {
  .sidebar-collapsed #layout-sidebar { flex: 0 0 var(--sidebar-collapsed-w); max-width: var(--sidebar-collapsed-w); }

  /* Il main si espande automaticamente (flex:1). Nessun calc necessario → meno jank */

  /* Nasconde dolcemente i testi, elimina gap a destra dell'icona */
  .sidebar-collapsed .sidebar .nav-text { max-width: 0; opacity: 0; margin-left: 0; }
  .sidebar-collapsed .sidebar .nav-item {
    justify-content: center;    /* nuovo: centra l'icona nella riga */
    padding-left: 14px;
    padding-right: 14px;
  }

  .sidebar-collapsed .sidebar .nav-icon { margin-right: 0; }

  .sidebar-collapsed .logo-image { width: 50px; height: 50px; margin-bottom: 8px; transition: all .3s ease-out}

  /* Se vuoi comprimere anche il logo, usa lo stesso pattern */
  .sidebar-collapsed .logo-text { max-width: 0; opacity: 0; white-space: nowrap; overflow: hidden; transition: max-width var(--t) var(--ease), opacity var(--t) var(--ease); }
}

/* ------------------------------
  6) Contenuti principali
   ------------------------------ */

/* sezione Azioni Rapide */
/* Sezione principale */
.quick-actions {
  background-color: #4db2f1; /* default blu */
  transition: background-color 0.4s ease;
}
.quick-actions.edit-mode {
  background-color: #ea8233; /* arancione in edit */
}

/* Bottone principale */
.quick-actions .btn {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background-color: #0b2b55;
  transition: all 0.3s ease;
}
.quick-actions .btn:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Wrapper di ogni azione */
.quick-action {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Pulsante cancella visibile solo in edit */
.quick-action .delete-btn {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 24px;
  height: 24px;
  cursor: pointer;
  display: none;
}
.quick-actions.edit-mode .quick-action .delete-btn {
  display: block;
}

/* sezione Azioni Rapide */

.main-content { background-color: var(--light-grey); padding: 16px; flex: 1; position: relative; }
.gray-content-block { background-color: var(--grey) !important; border-radius: 10px; padding: 20px 20px 60px; }

/* Gestione animazioni loader e risorse */
/* ---------- LOADER TESTO ---------- */
.ai-loader {
  display: inline-block;
  font-weight: 600;
  font-size: 1.1rem;
  text-transform: none;
  background: linear-gradient(
    120deg,
    var(--blu-scuro) 0%,
    var(--azzurro) 50%,
    var(--blu-scuro) 100%
  );
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: textShimmer 3s ease-in-out infinite;
  transition: opacity 0.6s ease;
}
#titolo_lista_risorse{
  transition: opacity 0.2s ease;
}
/* Loader che entra in scena */
.show {
  opacity: 1;
}

/* Loader che scompare */
.hide {
  opacity: 0;
}

/* ---------- ANIMAZIONE SHIMMER ---------- */
@keyframes textShimmer {
  0%   { background-position: 200% center; }
  50%  { background-position: 0% center; }
  100% { background-position: -200% center; }
}

/* ---------- CONTENITORE RISORSE ---------- */
.lista-risorse {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Quando il contenuto è visibile */
.lista-risorse.active {
  opacity: 1;
  transform: translateY(0);
}


/* Effetti hover riutilizzabili */

.hover-lift { transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease); }
.hover-lift:hover { transform: translateY(-2px); box-shadow: 0 4px 8px rgba(0,0,0,.1); }
.hover-text-primary { transition: color var(--t-fast) var(--ease); }
.hover-text-primary:hover { color: #0d6efd !important; }

/* ----------- PAGINA PRENOTAZIONI ------------ */
.btn-prenotazioni{
  width: 100% !important;
  background-color: var(--blu-hover) !important;
  color: var(--light-grey) !important;
}
.btn-prenotazioni:hover{
  width: 100% !important;
  background-color: var(--blu-chiaro) !important;
  color: var(--sfondo) !important;
}
.btn-prenotazioni i{
  font-size: 1.5rem;
}

/* Quick actions */
/* .quick-actions { background: linear-gradient(90deg, #ea8233 0%, #ffb301 100%) !important; border-radius: 10px; padding: 16px; } */
.quick-actions-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.quick-actions-title { font-size: 20px; font-weight: 600; line-height: 30px; color: var(--light-grey); }
.check-icon { width: 24px; height: 24px; }
.actions-grid { display: flex; flex-direction: column; gap: 16px; align-items: center; }
.action-item { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 140px; }
.action-icon-container { position: relative; width: 68px; height: 68px; }
.action-icon { width: 68px; height: 68px; background-color: var(--blu-scuro); border-radius: 34px; display: flex; align-items: center; justify-content: center; transition: transform var(--t) var(--ease); border: none; }
.action-icon:hover { transform: scale(1.05); }
.action-icon img { width: 36px; height: 36px; }
.cancel-icon { position: absolute; width: 24px; height: 24px; top: -8px; right: -8px; }
.action-text { font-size: 16px; font-weight: 400; line-height: 25px; text-align: center; color: var(--light-grey); }
.add-action { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 16px; }
.add-action-icon { width: 68px; height: 68px; border: 2px solid #fefffe; border-radius: 34px; display: flex; align-items: center; justify-content: center; background: transparent; transition: background-color var(--t-fast) var(--ease); }
.add-action-icon:hover { background-color: rgba(255,255,255,.1); }
.add-action-text { font-size: 16px; font-weight: 400; line-height: 24px; text-align: center; color: var(--light-grey); }

.bottom-sections { display: flex; flex-direction: column; gap: 24px; }
.procedures-section, .sites-section { background-color: var(--grey); border-radius: 10px; padding: 16px; }
.section-title { font-size: 20px; font-weight: 600; line-height: 30px; color: #1a1a1a; margin-bottom: 16px; }
.link-item { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.link-icon { width: 20px; height: 20px; flex-shrink: 0; }
.link-text { font-size: 16px; font-weight: 600; line-height: 25px; color: #1a1a1a; text-decoration: underline; transition: color var(--t-fast) var(--ease); }
.link-text:hover { color: var(--blu-scuro); }
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }
.pagination-btn { width: 32px; height: 32px; background-color: #d1d5db; border: none; border-radius: 4px; display: flex; align-items: center; justify-content: center; cursor: pointer; transition: background-color var(--t-fast) var(--ease); }
.pagination-btn:hover { background-color: #9ca3af; }

/* === Equal height cards dentro il carosello (senza JS) === */

/* 1) La riga del carosello è flex e allunga le colonne alla stessa altezza */
.carousel-item .row.g-3 {
  display: flex;
  flex-wrap: wrap;          /* rispetta le breakpoint cols */
  align-items: stretch;     /* tutte le cols stessa altezza della più alta */
}

/* 2) Ogni col diventa flex container → la card può riempire in altezza */
.carousel-item .row.g-3 > [class^="col-"],
.carousel-item .row.g-3 > [class*=" col-"] {
  display: flex;
}

/* 3) La card riempie l’altezza disponibile della col */
.news-card {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  /* opzionale: evita micro “jank” quando c’è hover-lift */
  will-change: transform;
}

/* 4) Lo stack interno occupa tutto e l’area azioni va in basso */
.news-card .d-flex.flex-column {
  flex: 1 1 auto;
  min-height: 0;            /* evita overflow con testi lunghi */
}

/* 5) Aggancia l’ultimo blocco azioni in fondo */
.news-card .card-actions {
  margin-top: auto;         /* spinge il blocco in basso */
}

/* 6) (Opzionale) clamp del testo per uniformare visivamente */
.news-card .text-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;    /* cambia a 3 se vuoi */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Cliccabili */
.clickable, [role="button"], button, .btn, a, .nav-item, .user-avatar, .dropdown-item, input[type="submit"], input[type="button"] { cursor: pointer !important; }
.clickable a { text-decoration: none; color: inherit }

/* ------------------------------
   7) Tabelle contatti (bootstrap-like)
   ------------------------------ */
.contacts-table { background-color: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 4px rgba(0,0,0,.1); }
.contacts-table th { background-color: #f8f9fa; font-weight: 600; color: #495057; border-bottom: 2px solid #dee2e6; padding: 12px; }
.contacts-table td { padding: 12px; vertical-align: middle; }
.contacts-table tbody tr:hover { background-color: #f8f9fa; }
.contact-name { font-weight: 600; color: var(--blu); text-decoration: underline; cursor: pointer; }
.contact-name:hover { color: var(--blu-scuro); }
.phone-number { color: #0d6efd; text-decoration: underline; cursor: pointer; }
.phone-number:hover { color: #0b5ed7; }
.direct-phone { background-color: #d4edda; border-left: 4px solid #28a745; padding: 8px 12px; border-radius: 4px; margin-bottom: 4px; }
.direct-phone-label { font-size: 12px; font-weight: 600; color: #155724; margin-bottom: 2px; }
.direct-phone-number { color: #28a745; font-weight: 600; text-decoration: underline; cursor: pointer; }
.mobile-phone { background-color: #fff3cd; border-left: 4px solid #ffc107; padding: 8px 12px; border-radius: 4px; margin-bottom: 4px; }
.mobile-phone-label { font-size: 12px; font-weight: 600; color: #856404; margin-bottom: 2px; }
.mobile-phone-number { color: #ffc107; font-weight: 600; text-decoration: underline; cursor: pointer; }
.contact-detail-row { background-color: #f8f9fa !important; border-top: none !important; }

/* ------------------------------
   8) Ricerca / filtri
   ------------------------------ */
.search-container { background: linear-gradient(135deg, #4db2f1 0%, #527dce 100%); border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.search-title { color: #fff; font-weight: 600; margin-bottom: 15px; }
.form-control:focus { border-color: #527dce; box-shadow: 0 0 0 .2rem rgba(82,125,206,.25); }

/* ------------------------------
   9) Utility
   ------------------------------ */
.text-primary-custom { color: var(--blu) !important; }
.bg-primary-custom { background-color: var(--blu) !important; }
.border-primary-custom { border-color: var(--blu) !important; }
.btn-primary-custom { background-color: var(--blu); border-color: var(--blu); color: #fff; }
.btn-primary-custom:hover { background-color: var(--blu-scuro); border-color: var(--blu-scuro); color: #fff; }

/* ------------------------------
   10) Login + sfere sfocate decorative
   ------------------------------ */
.login-background-circles { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.blurred-circle { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .6; animation: circles-glow 5s infinite alternate cubic-bezier(0.68, -0.55, 0.265, 1.55)}
.blurred-circle-1 { width: 300px; height: 300px; background: #0860D0; top: -150px; right: -150px; animation: circle1-movement 5s infinite alternate cubic-bezier(0.68, -0.55, 0.265, 1.55)}
.blurred-circle-2 { width: 250px; height: 250px; background: linear-gradient(135deg, #4EB2F1, #527DCE); bottom: -150px; left: -150px; animation: circle2-movement 6s infinite alternate cubic-bezier(0.68, -0.55, 0.265, 1.55)}

@keyframes circle1-movement {
  0% { width: 300px; height: 300px; top: -150px; right: -150px; }
  100% { width: 350px; height: 350px; top: -110px; right: -110px; }
}

@keyframes circle2-movement {
  0% { width: 300px; height: 300px; bottom: -150px; left: -150px; }
  100% { width: 350px; height: 350px; bottom: -125px; left: -125px; }
}

@keyframes circles-glow {
  0% { filter: blur(80px); opacity: .6; }
  100% { filter: blur(90px); opacity: .75; }
}

.municipal-logo {
            width: 120px;
            height: 120px;
        }
        
        .login-form-container {
            background-color: var(--light-grey);
            border-radius: 10px;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
            max-width: 400px;
            z-index: 10;
            position: relative;
        }
        
        .form-control:focus {
            border-color: #4db2f1;
            box-shadow: 0 0 0 0.2rem rgba(77, 178, 241, 0.25);
        }
        
        .btn-login {
            background: linear-gradient(145deg, #4db2f1 0%, #527dce 100%);
            border: none;
            transition: all 0.3s ease;
        }
        
        .btn-login:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(77, 178, 241, 0.3);
            cursor: pointer;
        }
        
        /* Responsive circles */
        @media (min-width: 576px) {
            .municipal-logo {
                width: 150px;
                height: 150px;
            }
            
            .login-form-container {
                max-width: 450px;
            }
        }
        
        @media (min-width: 768px) {
            .municipal-logo {
                width: 160px;
                height: 160px;
            }
            
            .login-form-container {
                max-width: 500px;
            }
        }
        
        @media (min-width: 1024px) {
            .municipal-logo {
                width: 160px;
                height: 160px;
            }
            
            .login-form-container {
                max-width: 452px;
            }
        }
        
        @media (min-width: 1367px) {
            .municipal-logo {
                width: 182px;
                height: 182px;
            }
            
            .login-form-container {
                max-width: 452px;
            }
        }

/* ------------------------------
   11) Hamburger / off-canvas su md
   ------------------------------ */
.hamburger { background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; display: none; }
@media (min-width: 768px) and (max-width: 1023px) {
  .hamburger { display: block; }
  .sidebar { position: fixed; top: 0; left: -246px; width: var(--sidebar-w); height: 100vh; transition: left var(--t) var(--ease); z-index: 1001; }
  .sidebar.open { left: 0; }
  .content-area { margin-left: 0; }
}

/* ------------------------------
   12) Responsive – xs/sm
   ------------------------------ */
@media (max-width: 375px) {
  .main-content { padding: 12px; }
  .gray-content-block { padding: 15px 15px 55px; }
  .gray-content-block .position-absolute.bottom-0.end-0 { bottom: 8px !important; right: 8px !important; padding: 8px !important; }
  .gray-content-block .position-absolute .btn { font-size: 12px; padding: 6px 8px; }
  .gray-content-block .position-absolute .btn.rounded-circle { width: 32px; height: 32px; font-size: 14px; }
}

/* ------------------------------
   13) Responsive – >= sm
   ------------------------------ */
@media (min-width: 640px) {
  #layout-sidebar .sidebar { padding: 20px; }
  .logo-image { width: 140px; height: 140px; }
  .logo-text { font-size: 15px; }
  .nav-text { font-size: 12px; }
  .header-title { font-size: 22px; }
  .main-content { padding: 20px; }
  .quick-actions-title { font-size: 22px; }
  .actions-grid { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 24px; }
  .action-text { font-size: 18px; }
  .section-title { font-size: 22px; }
  .link-text { font-size: 18px; }
}

/* ------------------------------
   14) Responsive – >= md
   ------------------------------ */
@media (min-width: 768px) {
  #layout-sidebar .sidebar { padding: 26px 20px; }
  .logo-image { width: 160px; height: 160px; }
  .logo-text { font-size: 16px; }
  .nav-text { font-size: 14px; }
  .header { padding: 14px 28px; }
  .header-title { font-size: 24px; }
  .user-avatar { font-size: 18px; }
  .main-content { padding: 22px; }
  .quick-actions { padding: 20px; }
  .quick-actions-title { font-size: 24px; }
  .check-icon { width: 28px; height: 28px; }
  .actions-grid { gap: 44px; justify-content: flex-start; padding: 0 58px; }
  .action-item { width: 160px; }
  .action-icon-container { width: 92px; height: 72px; }
  .cancel-icon { width: 30px; height: 30px; }
  .action-text { font-size: 20px; }
  .bottom-sections { flex-direction: row; gap: 40px; }
  .procedures-section { flex: 1; }
  .sites-section { width: 364px; }
  .section-title { font-size: 24px; }
  .link-icon { width: 26px; height: 26px; }
  .link-text { font-size: 20px; }
}

/* ------------------------------
   15) Responsive – >= lg
   ------------------------------ */
@media (min-width: 1024px) {
  .logo-image { width: 100px; height: 100px; }
  .nav-text { font-size: 16px; }
  .actions-grid { flex-wrap: nowrap; justify-content: space-between; }
  .add-action { margin-top: 0; align-self: flex-start; }
}

/* ------------------------------
   16) Responsive – >= xl
   ------------------------------ */
@media (min-width: 1280px) { .main-content { max-width: 1440px; margin: 0 auto; } }

/* ------------------------------
   17) Responsive – mobile bottom bar (<= 767px)
   ------------------------------ */
@media (max-width: 767px) {
  .main-container { flex-direction: column; }
  .sidebar { order: 2; position: fixed; bottom: 0; left: 0; right: 0; width: 100%; height: auto; flex-direction: row; justify-content: space-around; padding: 8px; z-index: 1000; }
  .content-area { margin-left: 0; order: 1; margin-bottom: 80px; }
  .logo-section { display: none; }
  .nav-menu { flex-direction: row; width: 100%; justify-content: space-around; margin-top: 0; }
  .nav-item { flex-direction: column; padding: 4px; min-width: 60px; }
  .nav-icon { margin-right: 0; margin-bottom: 2px; color: white; }
  .nav-text { font-size: 10px; text-align: center; max-width: none; opacity: 1; }
}
