
@font-face{font-family:"DINNext";src:url("/EtiquetasTool/public/assets/fonts/DINNextLTPro-Medium.otf") format("opentype");font-weight:500;font-style:normal;font-display:swap}
@font-face{font-family:"CantedFX";src:url("/EtiquetasTool/public/assets/fonts/CantedFXModify-trp-Bold.ttf") format("truetype");font-weight:700;font-style:normal;font-display:swap}

:root{
  --mt-orange:#f58220;
  --mt-orange-dark:#d96d0b;
  --mt-dark:#1f2933;
  --mt-dark-2:#111827;
  --mt-light:#f5f6f7;
  --mt-border:#d9dee5;
  --mt-text:#20262e;
  --mt-muted:#667085;
  --mt-white:#ffffff;
  --mt-success:#2f7d32;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:Arial,Helvetica,sans-serif;background:var(--mt-light);color:var(--mt-text);line-height:1.45}
header{background:var(--mt-dark);color:#fff;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:4px solid var(--mt-orange)}
header h1{margin:0;font-size:24px;font-weight:700;letter-spacing:.2px}
header span{font-size:14px;color:#e7eaee}
nav{background:#fff;border-bottom:1px solid var(--mt-border);padding:0 24px;display:flex;gap:4px;align-items:center;flex-wrap:wrap;box-shadow:0 1px 4px rgba(0,0,0,.06)}
nav a{display:inline-block;padding:13px 15px;color:var(--mt-dark);text-decoration:none;font-weight:700;font-size:14px;border-bottom:3px solid transparent}
nav a:hover,nav a.active{color:var(--mt-orange-dark);border-bottom-color:var(--mt-orange)}
main{max-width:1400px;margin:24px auto;padding:0 20px}
.panel{background:#fff;border:1px solid var(--mt-border);border-radius:8px;padding:22px;box-shadow:0 2px 8px rgba(31,41,51,.07)}
h2{color:var(--mt-dark);margin-top:0}
h3{color:var(--mt-dark)}
.btn{display:inline-block;background:var(--mt-dark);color:#fff!important;text-decoration:none;border:0;border-radius:5px;padding:10px 16px;font-weight:700;cursor:pointer;font-size:14px}
.btn:hover{background:var(--mt-dark-2)}
.btn.green{background:var(--mt-orange);color:#fff!important}
.btn.green:hover{background:var(--mt-orange-dark)}
.btn.light{background:#eef0f2;color:var(--mt-dark)!important;border:1px solid var(--mt-border)}
input,select,textarea{font:inherit;border:1px solid #cbd2d9;border-radius:5px;padding:9px 10px;background:#fff;color:var(--mt-text)}
input:focus,select:focus,textarea:focus{outline:2px solid rgba(245,130,32,.22);border-color:var(--mt-orange)}
table{background:#fff;border-collapse:collapse}
th{background:var(--mt-dark);color:#fff}
td,th{border-color:var(--mt-border)}
.info{background:#fff7ed;border-left:4px solid var(--mt-orange);padding:12px 14px;border-radius:4px;color:#4b5563}
.error,.err{background:#fff1f2;border-left:4px solid #c62828;padding:12px 14px;border-radius:4px}
.success,.msg{background:#edf7ee;border-left:4px solid var(--mt-success);padding:12px 14px;border-radius:4px}
a{color:var(--mt-orange-dark)}
a:hover{color:var(--mt-orange)}


/* Menú principal unificado — diseño EtiquetasTool */
.menu-principal{
    width:100%;
    display:flex;
    align-items:stretch;
    gap:0;
    background:#fff;
    border-bottom:1px solid #e3e7eb;
    box-sizing:border-box;
    padding-left:24px;
}
.menu-principal a{
    display:flex;
    align-items:center;
    min-height:58px;
    padding:0 22px;
    color:#111827;
    text-decoration:none;
    font-family:Arial, sans-serif;
    font-size:15px;
    font-weight:700;
    border-bottom:3px solid transparent;
    box-sizing:border-box;
    white-space:nowrap;
}
.menu-principal a:hover{
    color:#111827;
    background:#f8f9fa;
}
.menu-principal a.active{
    color:#ef7d19;
    border-bottom-color:#ef7d19;
}
@media (max-width:760px){
    .menu-principal{
        overflow-x:auto;
        padding-left:8px;
    }
    .menu-principal a{
        min-height:52px;
        padding:0 15px;
        font-size:14px;
    }
}


.etiquetas-header{
    background:#202c38;
    color:#fff;
    border-bottom:4px solid #f47b20;
    min-height:72px;
    display:flex;
    align-items:center;
    padding:0 26px;
    box-sizing:border-box;
}
.etiquetas-header h1{
    margin:0;
    font-family:Arial, sans-serif;
    font-size:27px;
    line-height:1.2;
    font-weight:700;
}



/* ETIQUETAS TOOL — MENÚ GLOBAL V18 */
body nav.menu-principal{
    width:100%;
    min-height:58px;
    display:flex;
    align-items:stretch;
    gap:0;
    margin:0;
    padding:0 0 0 24px;
    background:#fff;
    border-bottom:1px solid #e3e7eb;
    box-sizing:border-box;
}
body nav.menu-principal a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:58px;
    margin:0;
    padding:0 22px;
    background:#fff;
    color:#111827;
    text-decoration:none;
    font-family:Arial,sans-serif;
    font-size:15px;
    font-weight:700;
    line-height:1;
    border:0;
    border-bottom:3px solid transparent;
    border-radius:0;
    box-shadow:none;
    box-sizing:border-box;
    white-space:nowrap;
}
body nav.menu-principal a:hover{
    color:#111827;
    background:#f8f9fa;
    text-decoration:none;
}
body nav.menu-principal a.active{
    color:#ef7d19;
    background:#fff;
    border-bottom:3px solid #ef7d19;
}
header.etiquetas-header{
    background:#202c38;
    color:#fff;
    border-bottom:4px solid #f47b20;
    min-height:72px;
    display:flex;
    align-items:center;
    margin:0;
    padding:0 26px;
    box-sizing:border-box;
}
header.etiquetas-header h1{
    margin:0;
    padding:0;
    color:#fff;
    font-family:Arial,sans-serif;
    font-size:27px;
    line-height:1.2;
    font-weight:700;
}
@media(max-width:760px){
    body nav.menu-principal{overflow-x:auto;padding-left:8px}
    body nav.menu-principal a{min-height:52px;padding:0 15px;font-size:14px}
    header.etiquetas-header{min-height:64px;padding:0 16px}
    header.etiquetas-header h1{font-size:22px}
}

/* V19 — navegación global definitiva */
html body nav.menu-principal,
html body nav.menu-principal *{
    box-sizing:border-box;
}
html body nav.menu-principal{
    width:100%;
    height:58px;
    min-height:58px;
    margin:0;
    padding:0 0 0 24px;
    display:flex;
    flex-direction:row;
    align-items:stretch;
    justify-content:flex-start;
    gap:0;
    background:#fff;
    border-bottom:1px solid #e3e7eb;
}
html body nav.menu-principal a{
    width:auto;
    height:58px;
    min-height:58px;
    margin:0;
    padding:0 22px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#111827 !important;
    background:#fff !important;
    text-decoration:none !important;
    font-family:Arial,sans-serif !important;
    font-size:15px !important;
    font-weight:700 !important;
    line-height:1 !important;
    border:0 !important;
    border-radius:0 !important;
    border-bottom:3px solid transparent !important;
    box-shadow:none !important;
    white-space:nowrap;
}
html body nav.menu-principal a:hover{
    color:#111827 !important;
    background:#f8f9fa !important;
    text-decoration:none !important;
}
html body nav.menu-principal a.active{
    color:#ef7d19 !important;
    background:#fff !important;
    border-bottom:3px solid #ef7d19 !important;
}
html body header.etiquetas-header{
    width:100%;
    min-height:72px;
    height:72px;
    margin:0;
    padding:0 26px;
    display:flex;
    align-items:center;
    background:#202c38 !important;
    color:#fff !important;
    border-bottom:4px solid #f47b20 !important;
}
html body header.etiquetas-header h1{
    margin:0;
    padding:0;
    color:#fff !important;
    font-family:Arial,sans-serif !important;
    font-size:27px !important;
    font-weight:700 !important;
    line-height:1.2 !important;
}
@media(max-width:760px){
    html body nav.menu-principal{overflow-x:auto;padding-left:8px}
    html body nav.menu-principal a{padding:0 15px;font-size:14px !important}
    html body header.etiquetas-header{min-height:64px;height:64px;padding:0 16px}
    html body header.etiquetas-header h1{font-size:22px !important}
}

/* ETIQUETAS TOOL — V20 GLOBAL UI */
html body{margin:0;padding:0;background:#f3f5f7;color:#17212b;font-family:Arial,Helvetica,sans-serif}
html body header.etiquetas-header{width:100%;height:72px;min-height:72px;margin:0;padding:0 26px;display:flex;align-items:center;box-sizing:border-box;background:#202c38!important;color:#fff!important;border-bottom:4px solid #f47b20!important}
html body header.etiquetas-header h1{margin:0;padding:0;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:27px!important;line-height:1.2!important;font-weight:700!important}
html body nav.menu-principal{width:100%;height:58px;min-height:58px;margin:0;padding:0 0 0 24px;display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;gap:0;box-sizing:border-box;background:#fff!important;border-bottom:1px solid #e3e7eb!important}
html body nav.menu-principal a{width:auto;height:58px;min-height:58px;margin:0;padding:0 22px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;color:#111827!important;background:#fff!important;text-decoration:none!important;font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:1!important;border:0!important;border-radius:0!important;border-bottom:3px solid transparent!important;box-shadow:none!important;white-space:nowrap}
html body nav.menu-principal a:hover{color:#111827!important;background:#f8f9fa!important;text-decoration:none!important}
html body nav.menu-principal a.active{color:#ef7d19!important;background:#fff!important;border-bottom:3px solid #ef7d19!important}
@media(max-width:760px){html body header.etiquetas-header{height:64px;min-height:64px;padding:0 16px}html body header.etiquetas-header h1{font-size:22px!important}html body nav.menu-principal{height:52px;min-height:52px;overflow-x:auto;padding-left:8px}html body nav.menu-principal a{height:52px;min-height:52px;padding:0 15px;font-size:14px!important}}

/* ETIQUETAS TOOL — NORMALIZACIÓN GLOBAL V21 */
html,body{margin:0;padding:0}
html body{background:#f3f5f7;color:#17212b;font-family:Arial,Helvetica,sans-serif}
html body header.etiquetas-header{width:100%;height:72px;min-height:72px;margin:0;padding:0 26px;display:flex;align-items:center;box-sizing:border-box;background:#202c38!important;color:#fff!important;border-bottom:4px solid #f47b20!important}
html body header.etiquetas-header h1{margin:0;padding:0;color:#fff!important;font-family:Arial,Helvetica,sans-serif!important;font-size:27px!important;line-height:1.2!important;font-weight:700!important}
html body nav.menu-principal{width:100%;height:58px;min-height:58px;margin:0;padding:0 0 0 24px;display:flex;flex-direction:row;align-items:stretch;justify-content:flex-start;gap:0;box-sizing:border-box;background:#fff!important;border-bottom:1px solid #e3e7eb!important}
html body nav.menu-principal a{width:auto;height:58px;min-height:58px;margin:0;padding:0 22px;display:flex;align-items:center;justify-content:center;box-sizing:border-box;color:#111827!important;background:#fff!important;text-decoration:none!important;font-family:Arial,Helvetica,sans-serif!important;font-size:15px!important;font-weight:700!important;line-height:1!important;border:0!important;border-radius:0!important;border-bottom:3px solid transparent!important;box-shadow:none!important;white-space:nowrap}
html body nav.menu-principal a:hover{color:#111827!important;background:#f8f9fa!important;text-decoration:none!important}
html body nav.menu-principal a.active{color:#ef7d19!important;background:#fff!important;border-bottom:3px solid #ef7d19!important}
html body main{box-sizing:border-box}
html body input,html body select,html body textarea{font-family:Arial,Helvetica,sans-serif}
html body .btn{font-family:Arial,Helvetica,sans-serif}
@media(max-width:760px){html body header.etiquetas-header{height:64px;min-height:64px;padding:0 16px}html body header.etiquetas-header h1{font-size:22px!important}html body nav.menu-principal{height:52px;min-height:52px;overflow-x:auto;padding-left:8px}html body nav.menu-principal a{height:52px;min-height:52px;padding:0 15px;font-size:14px!important}}
