:root {
  --primary: #fd0400e4;
  --primary-hover: #d46a6a;
  --bg: #f8fafcda;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --text-muted: #64748b;
  --danger: #dc2626;
  --success: #16a34a;
  --radius: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.05);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.5; min-height: 100vh;
}

.form-body{
  display:grid;
  align-items:self-end ;
  justify-content:center;
  gap:12px;
}
.form-body img {
width:400px;
height:auto;
}
.text {
  text-align:center ;
  font-size:2rem;
  font-weight:600;
  color:#b91c1c
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 1200px; margin: 0 auto; padding: 1.5rem; }
.navbar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 0.75rem 1.5rem; display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 1rem;
}
.navbar h1 { font-size: 1.25rem; color: var(--primary); }
.nav-links { display: flex; gap: 0.25rem; flex-wrap: wrap; }
.nav-links a {
  color: var(--text); font-size: 0.875rem; padding: 0.4rem 0.75rem; border-radius: var(--radius);
}
.nav-links a:hover, .nav-links a.active { background: var(--bg); text-decoration: none; }
.user-info { display: flex; align-items: center; gap: 0.5rem; font-size: 0.875rem; }
.user-info span { color: var(--text-muted); }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.5rem; margin-bottom: 1.5rem; box-shadow: var(--shadow);
}
.card h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.35rem;
}
input, select, textarea {
  width: 100%; padding: 0.55rem 0.75rem; border: 1px solid var(--border);
  border-radius: var(--radius); font-size: 0.9rem; font-family: inherit;
  background: var(--surface); color: var(--text);
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(109,40,217,0.1);
}
textarea { resize: vertical; min-height: 80px; }
button, .btn {
  background: var(--primary); color: white; border: none;
  padding: 0.55rem 1.1rem; border-radius: var(--radius);
  font-size: 0.9rem; font-weight: 500; cursor: pointer; font-family: inherit;
  display: inline-flex; align-items: center; gap: 0.4rem; transition: background 0.15s;
}
button:hover, .btn:hover { background: var(--primary-hover); }
button:disabled { opacity: 0.6; cursor: not-allowed; }
.btn-secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }
.btn-secondary:hover { background: var(--bg); }
.btn-danger { background: var(--danger); }
.btn-danger:hover { background: #b91c1c; }
.btn-sm { padding: 0.35rem 0.7rem; font-size: 0.825rem; }
.actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }
table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
th, td { text-align: left; padding: 0.7rem 0.85rem; border-bottom: 1px solid var(--border); }
th {
  background: var(--bg); font-weight: 600; font-size: 0.8rem;
  color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.03em;
}
tbody tr:hover { background: var(--bg); }
.table-wrap { overflow-x: auto; }
.alert { padding: 0.75rem 1rem; border-radius: var(--radius); font-size: 0.9rem; margin-bottom: 1rem; }
.alert-error   { background: #fef2f2; color: var(--danger); border: 1px solid #fecaca; }
.alert-success { background: #f0fdf4; color: var(--success); border: 1px solid #bbf7d0; }
.alert-info    { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.badge {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 999px;
  font-size: 0.75rem; font-weight: 500; background: var(--bg); color: var(--text-muted);
}
.badge-admin { background: #ede9fe; color: #6d28d9; }
.login-container { max-width: 420px; margin: 5rem auto; padding: 0 1.5rem; }
.login-container h1 { text-align: center; margin-bottom: 0.5rem; color: var(--primary); }
.login-container .subtitle {
  text-align: center; color: var(--text-muted); margin-bottom: 2rem; font-size: 0.9rem;
}
.dashboard-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem; margin-bottom: 1.5rem;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.2rem;
}
.stat-card .label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.35rem; }
.stat-card .value { font-size: 1.75rem; font-weight: 600; }
.page-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem; flex-wrap: wrap; gap: 0.75rem;
}
.page-header h1 { font-size: 1.5rem; }
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: none; align-items: center; justify-content: center; z-index: 50; padding: 1rem;
}
.modal-backdrop.open { display: flex; }
.modal {
  background: var(--surface); border-radius: var(--radius);
  padding: 1.5rem; max-width: 560px; width: 100%; max-height: 90vh; overflow-y: auto;
}
.modal h2 { margin-bottom: 1rem; }
.modal-actions { display: flex; justify-content: flex-end; gap: 0.5rem; margin-top: 1.25rem; }
.empty { text-align: center; padding: 2rem; color: var(--text-muted); font-size: 0.9rem; }
.warn-banner {
  background: #fef3c7; border-bottom: 1px solid #fde68a; color: #92400e;
  padding: 0.5rem 1rem; text-align: center; font-size: 0.825rem;
}
@media (max-width: 640px) {
  .navbar { flex-direction: column; align-items: flex-start; }
  .container { padding: 1rem; }
  th, td { padding: 0.5rem; font-size: 0.825rem; }
}

/* LOGIN ESTILO MODERNO */

.login-page{
    display:flex;
    min-height:100vh;
}

.left-panel{
    flex:1;

    background-image:url('/Imagen/Fondo.png');
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    display:flex;
    justify-content:center;
    align-items:center;
    position:relative;
    overflow:hidden;
}

.logo-content{
    color:white;
    text-align:center;
    z-index:2;
}

.logo-content h1{
    font-size:3rem;
    margin-bottom:10px;
}

.logo-content p{
    font-size:1.2rem;
}

.right-panel{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#f5f5f5;
}

.login-card{
    width:420px;
    background:white;
    padding:40px;
    border-radius:10px;
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

.avatar{
    width:120px;
    height:120px;

    margin:0 auto 30px auto;

    border:3px solid #d84315;
    border-radius:50%;

    overflow:hidden;

    display:flex;
    justify-content:center;
    align-items:center;
}

.avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.input-group{
    margin-bottom:20px;
}

.input-group input{
    height:55px;
    border:1px solid #dcdcdc;
    font-size:16px;
}

#submit-btn{
    width:100%;
    height:55px;
    border:none;
    background:#d84315;
    color:white;
    font-size:18px;
    font-weight:bold;
    letter-spacing:2px;
}

#submit-btn:hover{
    background:#bf360c;
}

@media(max-width:768px){

    .login-page{
        flex-direction:column;
    }

    .left-panel{
        min-height:250px;
    }

    .login-card{
        width:90%;
    }
}
.logo-content{
    text-align:center;
    margin-bottom:25px;
}

.logo-content h1{
    color:#333;
    margin-bottom:5px;
    font-size:32px;
}

.logo-content p{
    color:#666;
    font-size:16px;
}
.kpi-grid{
  display:grid;
  grid-template-columns:
  repeat(auto-fit,minmax(220px,1fr));
  gap:16px;
  margin-bottom:20px;
}

.badge-success{
  background:#dcfce7;
  color:#166534;
  padding:4px 10px;
  border-radius:999px;
  font-weight:600;
}

.badge-warning{
  background:#fef3c7;
  color:#92400e;
  padding:4px 10px;
  border-radius:999px;
  font-weight:600;
}

.badge-danger{
  background:#fee2e2;
  color:#991b1b;
  padding:4px 10px;
  border-radius:999px;
  font-weight:600;
}

.card h2{
  display:flex;
  align-items:center;
  gap:8px;
}
.integrantes-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fill,minmax(320px,1fr));
  gap:20px;
}

.integrante-card{
  background:#fff;
  border-radius:16px;
  padding:20px;
  box-shadow:0 3px 12px rgba(0,0,0,.1);
}

.avatar{
  width:120px;
  height:120px;
  margin:auto;
  border-radius:50%;
  overflow:hidden;
}

.avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.integrante-card h3{
  text-align:center;
  margin:15px 0;
}

.badge-ok{
  background:#28a745;
  color:white;
  padding:5px 10px;
  border-radius:20px;
}

.badge-warning{
  background:#dc3545;
  color:white;
  padding:5px 10px;
  border-radius:20px;
}
.repertorio-layout{
  display:grid;
  grid-template-columns:300px 1fr;
  gap:20px;
  height:calc(100vh - 120px);
}

.repertorio-sidebar{
  background:white;
  border-radius:16px;
  padding:15px;
  overflow:auto;
}

.repertorio-detail{
  background:white;
  border-radius:16px;
  padding:25px;
  overflow:auto;
}

.baile-card{
  padding:15px;
  margin-bottom:10px;
  border:1px solid #ddd;
  border-radius:12px;
  cursor:pointer;
  transition:.2s;
}

.baile-card:hover{
  transform:translateY(-2px);
}

.baile-card.active{
  border:2px solid #d62828;
}
.repertorio-layout{
display:grid;
grid-template-columns:300px 1fr;
gap:20px;
height:calc(100vh - 120px);
}

.baile-list{
overflow-y:auto;
border-right:1px solid #ddd;
padding-right:15px;
}

.baile-card{
background:white;
border-radius:12px;
padding:15px;
margin-bottom:12px;
cursor:pointer;
transition:.2s;
border:2px solid transparent;
}

.baile-card:hover{
transform:translateY(-2px);
box-shadow:0 5px 15px rgba(0,0,0,.08);
}

.baile-card.active{
border-color:#c0392b;
}

.baile-detalle{
overflow-y:auto;
padding-left:15px;
}

.timeline{
display:flex;
gap:10px;
flex-wrap:wrap;
margin-top:20px;
}

.cuadro-block{
padding:12px;
border-radius:10px;
color:white;
font-weight:bold;
cursor:grab;
min-width:180px;
}

.solistas{
display:flex;
gap:10px;
flex-wrap:wrap;
margin:15px 0;
}

.solista-avatar{
width:45px;
height:45px;
border-radius:50%;
background:#c0392b;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
}

.progreso{
height:12px;
background:#eee;
border-radius:999px;
overflow:hidden;
margin-top:10px;
}

.progreso-bar{
height:100%;
background:#2ecc71;
}

.parejas-icons{
display:flex;
gap:4px;
margin-top:5px;
}

.parejas-icons span{
font-size:18px;
}
.repertorio-layout{
display:grid;
grid-template-columns:320px 1fr;
gap:20px;
}

.baile-list{
background:#fff;
border-radius:12px;
padding:15px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.baile-card{
padding:15px;
border:1px solid #ddd;
border-radius:12px;
margin-bottom:10px;
cursor:pointer;
transition:.2s;
}

.baile-card:hover{
transform:translateY(-2px);
}

.baile-card.active{
border:2px solid #e74c3c;
background:#fff4f4;
}

.baile-detalle{
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 2px 10px rgba(0,0,0,.08);
}

.timeline{
display:flex;
gap:10px;
margin-top:20px;
flex-wrap:wrap;
}

.cuadro-block{
padding:15px;
border-radius:10px;
color:white;
min-width:150px;
cursor:grab;
font-weight:bold;
}

.solistas{
display:flex;
gap:10px;
margin-top:10px;
}

.solista-avatar{
width:45px;
height:45px;
border-radius:50%;
background:#c0392b;
color:white;
display:flex;
align-items:center;
justify-content:center;
font-weight:bold;
}

.progreso{
height:14px;
background:#ddd;
border-radius:20px;
overflow:hidden;
margin:15px 0;
}

.progreso-bar{
height:100%;
background:#2ecc71;
}
.eventos-layout{
display:grid;
grid-template-columns:35% 65%;
gap:20px;
}

.eventos-sidebar{
background:white;
padding:15px;
border-radius:12px;
}

.evento-detalle{
background:white;
padding:20px;
border-radius:12px;
}

.evento-card{
padding:12px;
margin-bottom:10px;
border:1px solid #ddd;
cursor:pointer;
border-radius:10px;
}

.evento-card:hover{
background:#f4f4f4;
}

.tabs{
display:flex;
gap:10px;
margin-bottom:15px;
}

.integrante-chip{
display:inline-block;
padding:8px 12px;
margin:5px;
border-radius:20px;
background:#e8f0ff;
cursor:pointer;
}

#integrantesGrid{
display:flex;
flex-wrap:wrap;
gap:8px;
}
.color-dot{
width:16px;
height:16px;
border-radius:50%;
display:inline-block;
margin-right:8px;
}

.stock-bar{
width:120px;
background:#eee;
border-radius:20px;
overflow:hidden;
margin-bottom:4px;
}

.empacado{
background:#e8f8e8;
text-decoration:line-through;
}

.progress{
height:16px;
background:#ddd;
border-radius:20px;
overflow:hidden;
margin-bottom:15px;
}

.progress-bar{
height:100%;
width:0;
background:#27ae60;
transition:.3s;
}

.progress-card{
margin-bottom:20px;
}
.color-dot{
width:18px;
height:18px;
border-radius:50%;
display:inline-block;
margin-right:8px;
vertical-align:middle;
border:1px solid #ccc;
}

.stock-bar{
width:120px;
background:#eee;
border-radius:20px;
overflow:hidden;
margin-bottom:4px;
}

.empacado{
background:#dff5df !important;
text-decoration:line-through;
}

.progress{
width:100%;
height:18px;
background:#eee;
border-radius:20px;
overflow:hidden;
}

.progress-bar{
height:100%;
width:0%;
background:#27ae60;
transition:.3s;
}
.progress-container{
  width:100%;
  height:14px;
  background:#ddd;
  border-radius:20px;
  overflow:hidden;
  margin-bottom:10px;
}


.progress-bar{
  width:0%;
  height:100%;
  background:#27ae60;
  transition:.3s;
}

.checklist{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.checklist label{
  cursor:pointer;
}

.calendar-item{
  padding:12px;
  margin-bottom:10px;
  border-left:4px solid #c0392b;
  background:#fff;
  border-radius:8px;
}

.calendar-date{
  font-weight:bold;
  margin-bottom:4px;
}

.calendar-title{
  color:#555;
}
.tarea-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px;
border-bottom:1px solid #eee;
}

.eliminar-tarea{
background:none;
border:none;
cursor:pointer;
font-size:18px;
}
#calendar{
background:white;
padding:15px;
border-radius:12px;
}

.fc-daygrid-event{
cursor:pointer;
}
.progress-container{
height:12px;
background:#eee;
border-radius:20px;
overflow:hidden;
margin-bottom:10px;
}

.progress-bar{
height:100%;
width:0;
background:#27ae60;
transition:.3s;
}

.tarea-form{
display:flex;
gap:10px;
margin-bottom:15px;
}

.tarea-item{
display:flex;
justify-content:space-between;
align-items:center;
padding:10px;
margin-bottom:8px;
background:#f8f8f8;
border-radius:10px;
}

.tarea-item input:checked + span{
text-decoration:line-through;
}

#calendar{
min-height:700px;
}
#calendar{
  min-height:700px;
}

.progress-container{
  width:100%;
  height:18px;
  background:#eee;
  border-radius:10px;
  overflow:hidden;
  margin-bottom:10px;
}

.progress-bar{
  height:100%;
  width:0%;
  background:#27ae60;
  transition:.3s;
}

.tarea-item{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:10px;
  margin-bottom:8px;
  border:1px solid #ddd;
  border-radius:8px;
}

.tarea-item input{
  margin-right:10px;
}

.eliminar-tarea{
  border:none;
  background:none;
  cursor:pointer;
}
#calendar{
  background:white;
  padding:10px;
  border-radius:12px;
}

.fc-daygrid-day{
  cursor:pointer;
}

.fc-event{
  border:none;
  border-radius:8px;
}
.integrantes-layout{
display:grid;
grid-template-columns:
320px 1fr;
gap:20px;
}

.integrantes-list{
max-height:80vh;
overflow:auto;
}

.integrante-row{
display:flex;
align-items:center;
gap:10px;
padding:10px;
border-bottom:1px solid #eee;
cursor:pointer;
}

.integrante-row:hover{
background:#f7f7f7;
}

.integrante-row img{
width:50px;
height:50px;
border-radius:50%;
object-fit:cover;
}

.integrante-profile{
background:white;
padding:20px;
border-radius:15px;
min-height:600px;
}
#kpis-integrantes{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:16px;
  margin:20px 0;
}

.integrantes-layout{
  display:grid;
  grid-template-columns:340px 1fr;
  gap:24px;
  align-items:start;
}

.integrantes-list{
  max-height:75vh;
  overflow-y:auto;
  padding:0;
}

.integrante-row{
  display:flex;
  align-items:center;
  gap:12px;
  padding:12px 14px;
  border-bottom:1px solid #eee;
  cursor:pointer;
}

.integrante-row:hover{
  background:#f8f8f8;
}

.integrante-row img{
  width:46px;
  height:46px;
  border-radius:50%;
  object-fit:cover;
  flex-shrink:0;
}

.integrante-row-info{
  display:flex;
  flex-direction:column;
  gap:3px;
}

.integrante-row-info strong{
  font-size:14px;
}

.integrante-row-info small{
  font-size:12px;
  color:#666;
}

.integrante-profile{
  min-height:500px;
  padding:24px;
}

.perfil-header{
  display:flex;
  align-items:center;
  gap:18px;
  margin-bottom:20px;
}

.perfil-header img{
  width:120px;
  height:120px;
  border-radius:50%;
  object-fit:cover;
}

.perfil-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:10px 20px;
}
.tarea-form{
  display:flex;
  gap:10px;
  margin:15px 0;
}

.tarea-item{
  padding:10px;
  border-bottom:1px solid #eee;
}

.tarea-hecha{
  background:#e8f8e8;
  text-decoration:line-through;
}

.progress-container{
  height:14px;
  background:#eee;
  border-radius:20px;
  overflow:hidden;
  margin:10px 0;
}

.progress-bar{
  height:100%;
  width:0%;
  background:#27ae60;
  transition:.3s;
}

.evento-card.active{
  border-left:5px solid #c0392b;
  background:#fff4f4;
}
.inventario-layout{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
  align-items:start;
}

.inventario-columna{
  min-height:70vh;
}

.inventario-columna .table-wrap{
  max-height:65vh;
  overflow:auto;
}

@media(max-width:900px){
  .inventario-layout{
    grid-template-columns:1fr;
  }
}
#calendar{
  min-height:700px;
  width:100%;
}
#calendar{
  min-height:700px;
  width:100%;
  background:white;
}
.modal-backdrop{
  display:none;
}

.modal-backdrop.show{
  display:flex;
}
.modo-show .baile-list,
.modo-show .page-header .actions{
  display:none;
}

.modo-show .repertorio-layout{
  display:block;
}

.modo-show .baile-detalle{
  width:100%;
}

.modo-show .cuadro-block{
  transform:scale(1.05);
  font-size:18px;
}

.timeline{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.cuadro-block{
  padding:16px;
  border-radius:12px;
  color:white;
  min-width:140px;
  cursor:grab;
}
.solo-lectura #new-btn,
.solo-lectura #assign-btn,
.solo-lectura #modal-item,
.solo-lectura #modal-asig,
.solo-lectura .actions,
.solo-lectura button[data-edit-item],
.solo-lectura button[data-del-item],
.solo-lectura button[data-edit-asig],
.solo-lectura button[data-del-asig]{
  display:none !important;
}
.tabs button.active{
  background:#c0392b;
  color:white;
}
.tabs{
    display:flex;
    gap:10px;
    margin-top:15px;
    margin-bottom:15px;
}

.tabs button.active{
    background:#c0392b;
    color:#fff;
}
.acciones-integrante{
    display:flex;
    gap:10px;
    margin-top:20px;
}

.btn-danger{
    background:#dc2626;
    color:#fff;
    border:none;
    padding:10px 18px;
    border-radius:8px;
    cursor:pointer;
    transition:.2s;
}

.btn-danger:hover{
    background:#b91c1c;
}
.cuadro-block{
  position:relative;
}

.cuadro-block .eliminar-cuadro{
  margin-top:10px;
  padding:5px 8px;
}

.btn-danger{
  background:#dc2626;
  color:white;
  border:none;
  border-radius:8px;
  padding:8px 12px;
  cursor:pointer;
}
.add-cuadro-card{
  border:2px dashed #d7d7d7;
  border-radius:14px;
  padding:18px;
  text-align:center;
  cursor:pointer;
  color:#777;
  margin-top:15px;
  transition:.2s;
}

.add-cuadro-card:hover{
  background:#f7f7f7;
  color:#c0392b;
  border-color:#c0392b;
}

.cuadro-block{
  position:relative;
  transition:.2s;
}

.cuadro-block:hover{
  transform:translateY(-3px);
  box-shadow:0 8px 18px rgba(0,0,0,.18);
}

.cuadro-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
}

.cuadro-menu-btn{
  width:24px;
  height:24px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,.25);
  color:white;
  cursor:pointer;
  font-size:18px;
  line-height:20px;
}

.cuadro-menu-btn:hover{
  background:rgba(255,255,255,.45);
}
.titulo-baile{
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
}

.acciones-btn{
    width:38px;
    height:38px;
    border:none;
    border-radius:10px;
    background:#f5f5f5;
    cursor:pointer;
    font-size:22px;
}

.acciones-btn:hover{
    background:#ececec;
}

.menu-baile{

    display:none;

    position:absolute;
    top:45px;
    right:0;

    width:220px;

    background:white;

    border-radius:12px;

    box-shadow:0 10px 25px rgba(0,0,0,.15);

    overflow:hidden;

    z-index:100;
}

.menu-baile.show{
    display:block;
}

.menu-baile button{

    width:100%;

    background:none;

    border:none;

    padding:14px;

    text-align:left;

    cursor:pointer;
}

.menu-baile button:hover{
    background:#f5f5f5;
}

.menu-baile .danger{

    color:#d63031;

    font-weight:bold;
}
.evento-header{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:20px;
  margin-bottom:18px;
}

.evento-kpis{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin:16px 0;
}

.evento-mini-card{
  background:#f8fafc;
  border:1px solid #e5e7eb;
  border-radius:14px;
  padding:14px;
}

.evento-contenido-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.tarea-form{
  display:flex;
  gap:10px;
  margin:12px 0;
}

.tarea-form input{
  flex:1;
}

.tarea-item{
  background:#f9fafb;
  border:1px solid #e5e7eb;
  border-radius:12px;
  padding:10px 12px;
  margin-bottom:8px;
}

.tarea-hecha{
  background:#ecfdf5;
  text-decoration:line-through;
  opacity:.75;
}

@media(max-width:900px){
  .evento-kpis,
  .evento-contenido-grid{
    grid-template-columns:1fr;
  }
}
.chart-box{
  height:260px;
  position:relative;
}

#chartBailesEventos{
  width:100% !important;
  height:100% !important;
}

.checklist-scroll{
  max-height:260px;
  overflow-y:auto;
  padding-right:6px;
}

.evento-contenido-grid{
  align-items:start;
}
.chart-box{
    height:260px;
    position:relative;
}

#chartBailesEventos{
    width:100% !important;
    height:100% !important;
}
.tarea-item{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;

    padding:8px 10px;
    margin-top:8px;

    background:#fff;
    border-radius:10px;
    border:1px solid #ececec;
}

.tarea-check{
    display:flex;
    align-items:center;
    gap:10px;
    flex:1;
    cursor:pointer;
}

.tarea-check input{
    width:18px;
    height:18px;
    cursor:pointer;
}

.eliminarTarea{
    width:24px;
    height:24px;

    border:none;
    background:none;

    color:#b5b5b5;
    font-size:18px;
    cursor:pointer;

    border-radius:50%;

    transition:.2s;
}

.eliminarTarea:hover{
    color:#d32f2f;
    background:#ffeaea;
}
.checklist-scroll{
  max-height:260px;
  overflow-y:auto;
  padding-right:6px;
}

.tarea-item{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.tarea-check{
  display:flex;
  align-items:center;
  gap:10px;
  flex:1;
}

.eliminarTarea{
  border:none;
  background:transparent;
  color:#999;
  font-size:18px;
  cursor:pointer;
}

.eliminarTarea:hover{
  color:#dc2626;
}