:root{
  --bg:#f0f6f0;           /* Fondo general claro con tinte verde */
  --card:#ffffff;         /* Tarjetas blancas */
  --muted:#4b5563;        /* Texto gris oscuro */
  --accent:#1f2937;       /* Texto principal */
  --primary:#198754;      /* Verde principal como en la imagen */
  --secondary:#0d6efd;    /* Azul brillante para botones */
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
  --radius:12px;
}

*{box-sizing:border-box}
body{margin:0;font-family:Inter,Segoe UI,Arial;background:var(--bg);color:var(--accent);min-height:100vh;display:flex}

.sidebar{
  width:220px;
  background:linear-gradient(180deg,#198754,#145c32);
  padding:28px;
  color:white;
  display:flex;
  flex-direction:column;
  gap:18px
}

.brand{
  font-weight:700;
  font-size:20px;
  color:white
}

nav a{
  display:block;
  padding:10px 12px;
  border-radius:10px;
  color:white;
  text-decoration:none;
  margin-bottom:6px
}
nav a.active, nav a:hover{
  background:rgba(255,255,255,0.15);
}

.sidebar-foot{
  margin-top:auto;
  font-size:13px;
  color:#e5e7eb;
  display:flex;
  flex-direction:column;
  gap:8px
}

.link-logout{
  color:#e5e7eb;
  text-decoration:none;
  font-size:14px
}

.main{
  flex:1;
  padding:28px;
  min-height:100vh
}

.main-header h1{
  margin:0;
  font-size:20px
}

.card{
  background:var(--card);
  padding:20px;
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  margin-bottom:18px
}

.grid{display:flex;gap:12px;flex-wrap:wrap}
.tile{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-radius:10px;
  border:1px solid #d1d5db;
  text-decoration:none;
  color:var(--accent)
}

.form input,.form textarea,.search-form input{
  width:100%;
  padding:10px;
  border-radius:8px;
  border:1px solid #cbd5e1;
  margin:8px 0;
  background:transparent
}

.btn{
  background:var(--secondary);
  color:white;
  padding:10px 14px;
  border-radius:8px;
  border:none;
  cursor:pointer
}

.btn.ghost{
  background:transparent;
  color:var(--secondary);
  border:1px solid rgba(13,110,253,0.3)
}

.page-center{
  display:grid;
  place-items:center;
  height:100vh
}

.auth-card{
  width:340px;
  padding:28px;
  border-radius:14px;
  background:var(--card);
  box-shadow:var(--shadow);
  text-align:center
}

.brand{font-size:26px}
.muted{color:var(--muted)}
.small{font-size:12px}

.table-wrap{overflow:auto;margin-top:12px}
table.table{width:100%;border-collapse:collapse}
table.table th, table.table td{
  padding:10px 8px;
  border-bottom:1px solid #e5e7eb;
  text-align:left
}

@media (max-width:720px){
  .sidebar{display:none}
  body{flex-direction:column}
  .main{padding:16px}
}

.texr {
  background-color: #28a745; /* Verde tipo bootstrap */
  padding: 10px;
  text-align: center;
  border-radius: 5px; /* Opcional: bordes redondeados */
  color: white;
  margin: 0;
  font-weight: bold;
}

.texto-blanco {
  
}

