setConfirmReemplazo(false)}
+ style={{ position: "fixed", inset: 0, background: "rgba(15,23,42,.55)",
+ backdropFilter: "blur(2px)", display: "flex", alignItems: "center",
+ justifyContent: "center", zIndex: 1100, padding: 16 }}>
+
e.stopPropagation()}
+ style={{ background: "#fff", borderRadius: 16, width: 440, maxWidth: "94vw",
+ overflow: "hidden", boxShadow: "0 24px 70px rgba(15,23,42,.35)",
+ border: "1px solid #e2e8f0" }}>
+
+
⚠️
+
Ya existen datos guardados
+
+
+ Ya hay datos guardados de {MESES[mes-1]} {ano}.
+ Si continúas, se reemplazarán por los datos actuales de la tabla.
+
+
+
+
+
+
+
+ )}
+
{info && (
setInfo(null)}
style={{ position: "fixed", inset: 0, background: "rgba(15,23,42,.55)",
@@ -330,6 +433,7 @@ export default function Retiros() {
style={{ background: "#fff", borderRadius: 16, width: 600, maxWidth: "94vw",
maxHeight: "90vh", overflow: "hidden", display: "flex", flexDirection: "column",
boxShadow: "0 24px 70px rgba(15,23,42,.35)", border: "1px solid #e2e8f0" }}>
+ {/* Cabecera */}
@@ -348,6 +452,7 @@ export default function Retiros() {
lineHeight: 1, display: "flex", alignItems: "center", justifyContent: "center" }}>×
+ {/* Formulario */}
{INFO_CAMPOS.map((c) => {
@@ -378,6 +483,7 @@ export default function Retiros() {
})}
+ {/* Pie */}
@@ -414,4 +520,4 @@ const inpStyle = {
background: "#fff", transition: "border-color .15s, box-shadow .15s",
};
const onFoco = (e) => { e.target.style.borderColor = "#7a9d8f"; e.target.style.boxShadow = "0 0 0 3px rgba(122,157,143,.18)"; };
-const offFoco = (e) => { e.target.style.borderColor = "#cbd5e1"; e.target.style.boxShadow = "none"; };
\ No newline at end of file
+const offFoco = (e) => { e.target.style.borderColor = "#cbd5e1"; e.target.style.boxShadow = "none"; };