/* =========================================================
   renovacion.css — Renovación de año y cambio de grado (js/admin-renovacion.js). Prefijo rn-
   ========================================================= */
.rn { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); min-width: 0; }
.rn > * { min-width: 0; }
.rn-hero { background: linear-gradient(120deg, #4c1d95 0%, #6d28d9 45%, #0d9488 100%) !important; box-shadow: 0 10px 30px rgba(109,40,217,.25) !important; }
.rn-pasos { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; counter-reset: p; }
.rn-pasos li { display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #e3e9f7; font-weight: 700; color: #0f1f4d; font-size: .86rem; }
.rn-pasos b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #7c3aed, #0d9488); color: #fff; font-size: .82rem; flex: none; }
.rn-f { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; margin-top: 10px; } .rn-f label { display: grid; gap: 4px; font-weight: 700; font-size: .84rem; color: #0f1f4d; } .rn-w2 { grid-column: span 2; }
.rn-f select, .rn-f input { padding: 10px 12px; border-radius: 12px; border: 1.5px solid #e3e9f7; font: inherit; background: #fff; width: 100%; min-width: 0; box-sizing: border-box; text-overflow: ellipsis; }
.rn-top { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 14px; border-radius: 14px; background: linear-gradient(135deg, #f5f3ff, #f0fdfa); border: 1px solid #ddd6fe; }
.rn-all { display: flex; gap: 8px; align-items: center; cursor: pointer; color: #0f1f4d; } .rn-all input, .rn-r__c input { width: 20px; height: 20px; accent-color: #7c3aed; cursor: pointer; } .rn-all small { color: #5b6785; }
.rn-masivo { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; } .rn-masivo span { font-size: .8rem; font-weight: 700; color: #475569; }
.rn-cnt { margin: 10px 2px; color: #475569; font-size: .88rem; }
.rn-rows { display: grid; gap: 8px; }
.rn-r { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto auto; gap: 12px; align-items: center; padding: 10px 14px; background: #fff; border: 1px solid #e3e9f7; border-left: 5px solid #cbd5e1; border-radius: 14px; transition: .12s; }
.rn-r.is-on { border-left-color: #7c3aed; background: #faf8ff; box-shadow: 0 3px 12px rgba(124,58,237,.10); }
.rn-r__c { display: grid; place-items: center; } .rn-r__b { min-width: 0; } .rn-r__b b { display: block; color: #0f1f4d; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .rn-r__b small { color: #5b6785; font-size: .78rem; }
.rn-pill { padding: 4px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; } .rn-pill--ok { background: #dcfce7; color: #166534; } .rn-pill--mal { background: #fee2e2; color: #991b1b; } .rn-pill--amb { background: #fef3c7; color: #92400e; } .rn-pill--azu { background: #dbeafe; color: #1e40af; }
.rn-dest { display: inline-flex; border-radius: 999px; border: 1.5px solid #e3e9f7; overflow: hidden; background: #f8fafc; }
.rn-dest button { border: 0; background: transparent; font: inherit; font-weight: 700; font-size: .8rem; padding: 8px 12px; color: #64748b; cursor: pointer; white-space: nowrap; } .rn-dest button:disabled { opacity: .45; cursor: not-allowed; }
.rn-dest button.is-on { background: linear-gradient(135deg, #7c3aed, #0d9488); color: #fff; } .rn-dest button.is-on.is-rep { background: linear-gradient(135deg, #d97706, #f59e0b); }
.rn-mas { text-align: center; margin-top: 12px; }
.rn-g { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } .rn-g h4 { margin: 0 0 8px; color: #0f1f4d; font-size: .95rem; } .rn-g > div { min-width: 0; }
.rn-chk { display: flex; gap: 8px; align-items: flex-start; margin-top: 10px; font-size: .84rem; color: #334155; cursor: pointer; } .rn-chk input { margin-top: 3px; accent-color: #7c3aed; }
.rn-barra { position: sticky; bottom: 10px; z-index: 5; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; padding: 12px 16px; border-radius: 18px; background: rgba(255,255,255,.96); border: 1.5px solid #c4b5fd; box-shadow: 0 10px 30px rgba(15,31,77,.18); backdrop-filter: blur(6px); }
.rn-sum { font-size: .92rem; color: #0f1f4d; } .rn-sum span { margin-left: 8px; font-weight: 700; } .rn-sum--vacio { color: #64748b; }
.rn-conf { list-style: none; margin: 12px 0; padding: 0; display: grid; gap: 8px; } .rn-conf li { padding: 10px 12px; border-radius: 12px; background: #f5f3ff; border: 1px solid #ddd6fe; font-size: .9rem; }
.rn-aviso { padding: 12px 14px; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; color: #78350f; font-size: .9rem; } .rn-om { margin: 10px 0; font-size: .86rem; } .rn-acc { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
@media (max-width: 900px) { .rn-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rn-g { grid-template-columns: 1fr; } }
@media (max-width: 700px) {
  .rn-r { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "c b p" "d d d"; row-gap: 8px; } .rn-r > .hor-av { display: none; } .rn-r__c { grid-area: c; } .rn-r__b { grid-area: b; } .rn-pill { grid-area: p; } .rn-dest { grid-area: d; display: grid; grid-template-columns: 1fr 1fr; }
  .rn-w2 { grid-column: span 1; } .rn-top { flex-direction: column; align-items: flex-start; } .rn-barra { bottom: 6px; } .rn-barra .btn { flex: 1 1 100%; }
}
