#ajxLoader { align-items:center; background-color: rgba(255,255,255,.82); bottom: 0; display: none; height: 100%; justify-content:center; left: 0; position: fixed; width: 100%; z-index: 8000; text-align:center; }
#ajxLoader div{ align-items:center; display:flex; height:96px; justify-content:center; left:50%; position:absolute; top:50%; transform:translate(-50%,-50%); width:96px; }
#ajxLoader div:before{ animation: dressitSpin .75s linear infinite; border:6px solid #eadfe8; border-top-color:#6f4e7c; border-radius:50%; content:""; height:58px; width:58px; }
#ajxLoader div span{ display:none; }
@keyframes dressitSpin{to{transform:rotate(360deg)}}

.bg-pink{
    background-color: #40424d;
    color: white;
}

.nav-link{
    color: white;
}

/*.nav-link:hover{
    color: white;
}*/

.nav-link:focus{
    color: white;
}

.navbar-light .navbar-nav .nav-link{
    color: rgba(0,0,0,.55) !important;
}

.btn-banner{
    background-color: #cb95cd;
}

.headerInicio{
    color: #a171d4;
}

.btn-shopping{
    background-color: #cb95cd;
    border-color: #cb95cd;
}

.btn-shopping:hover{
    background-color: rgb(221, 196, 248);
    border-color: #cb95cd;
    color: rgba(0, 0, 0, 0.521);
}

.testimonials {
    height: 580px;
    background-color: #f5f5f5;
}

.detalles {
    background-color: white;
}

.img-fluid2{
    width: 100%;
    height: 580px;
    align-items: center;
}

.img-fluid{
    padding: 50px !important;
}

.bg-image{
    margin-left: 20px !important;
    margin-right: 20px !important;
}

.center2 {
    margin: auto;
    width: 60%;
    padding: 10px;
  }

.center2 h2{
    text-align: center;
    color: #a171d4;
}

.center2 p{
    text-align: center;
    font-size: 20px;
}

.center2 div{
    align-items: center;
}

.center2 div > hr{
    text-align: center;
    width: 60%;
    margin-left: 20%;
    height: 3px;
    margin-top: 10px;
    color: #610561;
}
#map {
    height: 100%;
    /* The height is 400 pixels */
    width: 100%;
    /* The width is the width of the web page */
}

.space-menu {
    margin-left: 60px;
}

.filaComp{
    margin-bottom: 5px;
}

.fc-content{
    color: black !important; 
}

.a-hand{
    cursor: pointer;
    color: 1a9bfc;
}

.authentication-bg {
    /*background-color: rgba(91, 140, 232, 0.25);*/
    background-color: white;
  }

.table > thead{
    background-color: #a0a8c0;
    color: black;
}

.atras{
    text-decoration: underline !important;
}

.atras:hover{
    cursor: pointer;
}

input[type="text"]:disabled{background-color:lightgrey;}

.usuario-tienda-card{
    width:100%;
    display:flex;
    align-items:center;
    gap:12px;
    padding:14px 16px;
    border:1px solid #e0d6de;
    border-radius:18px;
    background:#fff;
    box-shadow:0 8px 20px rgba(18,38,63,.06);
    cursor:pointer;
    transition:.18s ease;
}
.usuario-tienda-card:hover{transform:translateY(-2px); box-shadow:0 12px 26px rgba(18,38,63,.11);}
.usuario-tienda-card input{width:20px; height:20px; accent-color:#6f4e7c;}
.usuario-tienda-card span{display:flex; flex-direction:column; line-height:1.2;}
.usuario-tienda-card small{color:#7b6d80; margin-top:4px;}

.pos-shell{--pos-ink:#2b2f4c; --pos-plum:#6f4e7c; --pos-rose:#d7967b; --pos-mint:#17b890; --pos-paper:#fffaf6; --pos-line:#e0d6de; color:var(--pos-ink);}
.pos-hero{background:radial-gradient(circle at 12% 20%, rgba(255,255,255,.25), transparent 24%), linear-gradient(135deg,#252943 0%,#6f4e7c 55%,#d7967b 100%); border-radius:28px; padding:22px; color:#fff; box-shadow:0 20px 48px rgba(18,38,63,.16);}
.pos-hero h4{color:#fff; font-weight:850; letter-spacing:.2px;}
.pos-hero p,.pos-label{color:rgba(255,255,255,.82);}
.pos-hero-icon{width:62px; height:62px; border-radius:22px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.16); font-size:28px;}
.pos-hero .form-control{border-radius:15px; min-height:46px; border:0; font-weight:700;}
.pos-hero #ddlVentaTienda:disabled{background:rgba(255,255,255,.16); color:#fff; opacity:1; -webkit-text-fill-color:#fff;}
.pos-hero #ddlVentaTienda:disabled option{color:#2b2f4c;}
.btn-pos-head{background:#fff; border:1px solid #e0d6de; color:#2b2f4c; box-shadow:0 10px 24px rgba(0,0,0,.14); min-height:46px; border-radius:15px; font-weight:800;}
.btn-pos-head:hover{background:#17b890; border-color:#17b890; color:#fff; transform:translateY(-1px);}
.pos-corte-strip{display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; padding:12px 14px; background:rgba(255,255,255,.14); border:1px solid rgba(255,255,255,.20); border-radius:18px;}
.pos-corte-strip span:first-child{font-weight:850;}
.pos-panel{background:#fff; border:1px solid #f0e8ef; border-radius:26px; padding:18px; box-shadow:0 14px 36px rgba(18,38,63,.08);}
.pos-search{position:relative;}
.pos-search i{position:absolute; left:18px; top:50%; transform:translateY(-50%); color:#8d7891; font-size:18px;}
.pos-search .form-control{min-height:58px; border-radius:20px; padding-left:50px; font-size:18px; font-weight:700; border:1px solid var(--pos-line);}
.pos-product{width:100%; height:100%; padding:0; text-align:left; border:1px solid #efe5eb; border-radius:24px; background:#fff; overflow:hidden; box-shadow:0 12px 28px rgba(18,38,63,.07); transition:.18s ease; color:var(--pos-ink);}
.pos-product:hover{transform:translateY(-3px); box-shadow:0 18px 36px rgba(18,38,63,.13); border-color:#d7967b;}
.pos-product-img{height:150px; display:flex; align-items:center; justify-content:center; background:linear-gradient(180deg,#fffaf6,#f4edf5); overflow:hidden;}
.pos-product-img img{width:100%; height:100%; object-fit:cover;}
.pos-product-body{display:flex; flex-direction:column; gap:5px; padding:14px;}
.pos-product-body small{color:#7c7184; font-weight:800;}
.pos-product-body strong{font-size:16px; line-height:1.15; min-height:38px;}
.pos-product-meta{display:flex; justify-content:space-between; align-items:center;}
.pos-product-meta b{font-size:18px; color:#6f4e7c;}
.pos-product-meta em{font-style:normal; border-radius:999px; padding:5px 9px; background:#ecfaf5; color:#118767; font-weight:800;}
.pos-ticket-panel{position:sticky; top:105px;}
.btn-pos-clear{background:#fff; border:1px solid #e0d6de; color:#2b2f4c; border-radius:999px; font-weight:800; box-shadow:0 8px 18px rgba(18,38,63,.07);}
.btn-pos-clear:hover{background:#d7967b; border-color:#d7967b; color:#fff;}
.pos-cart-list{max-height:330px; overflow:auto; padding-right:4px;}
.pos-empty-cart{min-height:170px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; color:#8a7a8e; background:#fffaf6; border:1px dashed #e0d6de; border-radius:22px;}
.pos-empty-cart i{font-size:34px; color:#d7967b;}
.pos-cart-item{border:1px solid #eee3ea; border-radius:20px; padding:12px; margin-bottom:10px; background:#fff;}
.pos-cart-title{display:flex; justify-content:space-between; gap:8px; margin-bottom:10px;}
.pos-cart-title small{color:#8a7a8e; font-weight:800;}
.pos-cart-controls{display:grid; grid-template-columns:1fr 1fr 46px; gap:8px;}
.pos-cart-controls input{border:1px solid #e0d6de; border-radius:14px; min-height:44px; padding:8px; font-weight:800;}
.pos-cart-controls button{border:0; border-radius:14px; background:#fff0f0; color:#be3f3f;}
.pos-cart-subtotal{text-align:right; font-weight:900; color:#6f4e7c; margin-top:8px;}
.pos-total-card{background:linear-gradient(180deg,#fffaf6,#fff); border:1px solid #eee3ea; border-radius:22px; padding:14px;}
.pos-total-card div{display:flex; justify-content:space-between; padding:5px 0;}
.pos-total-card .total{font-size:24px; border-top:1px dashed #d8c8d4; margin-top:6px; padding-top:12px;}
.pos-payment h6{font-weight:900;}
.btn-pay{width:100%; min-height:58px; border:1px solid #e0d6de; background:#fff; border-radius:18px; color:#2b2f4c; font-weight:850; box-shadow:0 8px 18px rgba(18,38,63,.06);}
.btn-pay.active,.btn-pay:hover{background:#2b2f4c; border-color:#2b2f4c; color:#fff;}
.pos-payment .form-control{border-radius:16px; min-height:48px; font-weight:800;}
.btn-pos-charge{min-height:64px; border:0; border-radius:22px; background:linear-gradient(135deg,#17b890,#119c7a); color:#fff; font-weight:900; font-size:18px; box-shadow:0 16px 32px rgba(23,184,144,.25);}
.btn-pos-charge:hover{color:#fff; transform:translateY(-2px); box-shadow:0 20px 38px rgba(23,184,144,.34);}
.pos-client-card{border:1px solid #eee3ea;border-radius:18px;padding:12px;background:#fffaf6;}.pos-client-card label{font-weight:900;color:#6f4e7c;margin-bottom:6px;}.pos-client-fixed{min-height:44px;border:1px solid #e0d6de;border-radius:14px;background:#fff;display:flex;align-items:center;padding:10px 12px;font-weight:900;color:#2b2f4c;}
.pos-cut-card{background:#fffaf6; border:1px solid #eee3ea; border-radius:18px; padding:12px 14px; display:flex; justify-content:space-between; gap:8px;}
.pos-cut-card span{font-weight:850; color:#6f4e7c;}
.pos-close-diff{min-height:48px; border:1px solid #e0d6de; border-radius:16px; padding:12px; font-weight:900; background:#fffaf6; color:#2b2f4c;}
.pos-close-head{display:grid; grid-template-columns:1fr 1.4fr 1fr; gap:10px; padding:14px; border-radius:20px; background:linear-gradient(135deg,#2b2f4c,#6f4e7c); color:#fff;}
.pos-close-head div{min-width:0;}
.pos-close-head span{display:block; font-size:11px; text-transform:uppercase; letter-spacing:.08em; color:rgba(255,255,255,.68); font-weight:800; margin-bottom:4px;}
.pos-close-head strong{display:block; color:#fff; font-size:15px; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.pos-close-ledger{border:1px solid #eee3ea; border-radius:22px; overflow:hidden; background:#fff; box-shadow:0 12px 28px rgba(18,38,63,.07);}
.pos-close-section-title{padding:9px 14px; background:#fbf7fb; color:#6f4e7c; font-size:12px; font-weight:900; text-transform:uppercase; letter-spacing:.08em; border-top:1px solid #eee3ea;}
.pos-close-section-title:first-child{border-top:0;}
.pos-close-row{display:grid; grid-template-columns:minmax(0,1fr) auto; gap:16px; align-items:center; padding:11px 14px; border-top:1px solid #f2eaf0;}
.pos-close-row span{font-weight:800; color:#4b4051; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.pos-close-row strong{font-variant-numeric:tabular-nums; font-size:17px; color:#2b2f4c; white-space:nowrap; text-align:right;}
.pos-close-row-strong{background:#fffaf6;}
.pos-close-row-strong span,.pos-close-row-strong strong{font-weight:950;}
.pos-close-row-cash{background:#ecfaf5;}
.pos-close-row-cash span,.pos-close-row-cash strong{color:#118767; font-weight:950;}
.pos-close-row-grand{background:#2b2f4c;}
.pos-close-row-grand span,.pos-close-row-grand strong{color:#fff; font-weight:950; font-size:18px;}
.pos-close-row-base strong{color:#6f4e7c;}
.pos-close-count{display:grid; grid-template-columns:1fr 1fr; gap:12px; padding:14px; border-radius:22px; background:linear-gradient(180deg,#fffaf6,#fff); border:1px solid #eee3ea;}
.pos-close-count label{font-weight:900; color:#2b2f4c; margin-bottom:6px;}
.pos-close-count .form-control{min-height:52px; border-radius:16px; font-size:18px; font-weight:900;}
.pos-close-count .pos-close-diff{min-height:52px; display:flex; align-items:center; justify-content:flex-end; font-size:20px; font-variant-numeric:tabular-nums;}
@media (max-width: 640px){.pos-close-head,.pos-close-count{grid-template-columns:1fr}.pos-close-row{grid-template-columns:1fr; gap:3px}.pos-close-row span{white-space:normal}.pos-close-row strong{text-align:left}}
.ticket-print-area{display:none;}
.ticket-pos{font-family:'Courier New', monospace; color:#111; background:#fff; padding:8px; font-size:12px;}
.ticket-brand{text-align:center; font-size:22px; font-weight:900; letter-spacing:1px;}
.ticket-center{text-align:center;}
.ticket-note{border:1px dashed #111; padding:6px; margin:8px 0; text-align:center;}
.ticket-line{border-top:1px dashed #111; margin:8px 0;}
.ticket-item,.ticket-total{display:flex; justify-content:space-between; gap:8px;}
.ticket-item span,.ticket-total strong{white-space:nowrap;}
.ticket-total.grand{font-size:16px; font-weight:900;}
.pos-tabs{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--pos-line,#e0d6de);border-radius:20px;padding:5px;position:relative;}
.pos-tab{position:relative;z-index:1;background:transparent;border:0;border-radius:16px;padding:10px 22px;font-weight:850;color:#7c6d7f;display:flex;align-items:center;white-space:nowrap;cursor:pointer;transition:color .22s ease;}
.pos-tab:hover{color:var(--pos-plum,#6f4e7c);}
.pos-tab.active{color:#fff;}
.pos-tab-indicator{position:absolute;z-index:0;top:5px;left:5px;height:calc(100% - 10px);border-radius:16px;background:linear-gradient(135deg,var(--pos-plum,#6f4e7c),#d7967b);transition:width .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1);}
.venta-catalogo-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;padding-top:14px;border-top:1px dashed var(--pos-line,#e0d6de);}
.venta-catalogo-pagination span{font-size:12px;color:#6f6175;font-weight:850;}
.btn-venta-pagina{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;border-radius:12px;box-shadow:0 7px 15px rgba(36,31,47,.07);font-weight:850;}
.btn-venta-pagina:hover:not(:disabled){background:var(--pos-plum,#6f4e7c);border-color:var(--pos-plum,#6f4e7c);color:#fff;transform:translateY(-1px);}
.btn-venta-pagina:disabled{opacity:.45;cursor:not-allowed;}
@media (max-width: 991px){.pos-ticket-panel{position:static}.pos-product-img{height:120px}.pos-cart-list{max-height:none}.pos-tabs{display:flex;width:100%;overflow-x:auto;scrollbar-width:thin;}.pos-tab{flex:0 0 auto;justify-content:center;padding:10px 14px;}}
@media print{
    body *{visibility:hidden!important;}
    #ticketPrintArea,#ticketPrintArea *{visibility:visible!important;}
    #ticketPrintArea{display:block!important; position:absolute; left:0; top:0; width:auto;}
    .ticket-pos{box-shadow:none;}
    @page{margin:4mm;}
}

.renta-shell{--renta-ink:#2b2f4c;--renta-plum:#6f4e7c;--renta-amber:#d7967b;--renta-teal:#17b890;--renta-blue:#4f7cac;--renta-line:#e0d6de;color:var(--renta-ink);}
.renta-hero{background:linear-gradient(135deg,#f7f0f6 0%,#ffffff 42%,#edf7f5 100%);border:1px solid #eee3ea;border-radius:28px;padding:22px;box-shadow:0 18px 44px rgba(18,38,63,.10);position:relative;overflow:hidden;}
.renta-hero:before{content:"";position:absolute;right:-55px;top:-70px;width:210px;height:210px;border:28px solid rgba(111,78,124,.10);border-radius:50%;}
.renta-hero h4{font-weight:900;color:#2b2f4c;}
.renta-hero p{color:#756979;}
.renta-hero-icon{width:62px;height:62px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:#2b2f4c;color:#fff;font-size:28px;box-shadow:0 12px 26px rgba(43,47,76,.22);}
.btn-renta-head,.btn-renta-clear{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(18,38,63,.08);border-radius:15px;font-weight:850;min-height:42px;}
.btn-renta-head:hover,.btn-renta-clear:hover{background:#6f4e7c;border-color:#6f4e7c;color:#fff;transform:translateY(-1px);}
.btn-renta-primary{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(18,38,63,.08);border-radius:15px;font-weight:900;min-height:42px;}
.btn-renta-primary:hover{background:#17b890;border-color:#17b890;color:#fff;transform:translateY(-1px);}
.btn-renta-charge{min-height:64px;border:0;border-radius:22px;background:linear-gradient(135deg,#17b890,#119c7a);color:#fff;font-weight:900;font-size:18px;box-shadow:0 16px 32px rgba(23,184,144,.25);}.btn-renta-charge:hover{color:#fff;transform:translateY(-2px);box-shadow:0 20px 38px rgba(23,184,144,.34);}
.renta-month-bar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:12px 14px;background:#fff;border:1px solid #eee3ea;border-radius:18px;}
.renta-month-bar strong{text-transform:capitalize;font-size:18px;min-width:190px;}
.btn-renta-nav{width:40px;height:40px;border-radius:14px;border:1px solid #e0d6de;background:#fff;color:#2b2f4c;}
.renta-legend{display:inline-flex;align-items:center;gap:6px;border-radius:999px;padding:6px 10px;font-weight:850;background:#fff;}
.renta-legend:before{content:"";width:10px;height:10px;border-radius:50%;display:inline-block;}
.renta-legend.entrega:before{background:#4f7cac;}.renta-legend.retorno:before{background:#d7967b;}
.renta-panel{background:#fff;border:1px solid #f0e8ef;border-radius:26px;padding:18px;box-shadow:0 14px 36px rgba(18,38,63,.08);}
.renta-panel label{font-weight:850;color:#2b2f4c;margin-bottom:6px;}
.renta-panel .form-control{border:1px solid #e0d6de;border-radius:16px;min-height:46px;font-weight:750;}
.renta-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;}
.renta-calendar-head{margin-bottom:8px;color:#766a7c;font-weight:900;text-align:center;}
.renta-day{min-height:126px;border:1px solid #eee3ea;background:#fff;border-radius:20px;padding:10px;text-align:left;color:#2b2f4c;box-shadow:0 8px 18px rgba(18,38,63,.04);transition:.16s ease;overflow:hidden;}
.renta-day:hover{border-color:#6f4e7c;box-shadow:0 14px 28px rgba(18,38,63,.10);transform:translateY(-1px);}
.renta-day.today{border-color:#17b890;background:linear-gradient(180deg,#ecfaf5,#fff);}
.renta-day.selected{border-color:#6f4e7c;box-shadow:0 0 0 3px rgba(111,78,124,.16),0 14px 28px rgba(18,38,63,.10);}
.renta-day.muted{background:transparent;border:0;box-shadow:none;}
.renta-day strong{display:block;margin-bottom:6px;font-size:17px;}
.renta-day small{display:block;color:#7c7184;font-weight:800;margin-top:3px;}
.renta-event{display:block;border-radius:999px;padding:4px 7px;font-size:11px;line-height:1.15;font-weight:800;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.renta-event.entrega{background:#edf4fb;color:#315f8e;}.renta-event.retorno{background:#fff2ec;color:#a45e43;}
.renta-today-list{display:flex;flex-direction:column;gap:10px;}
.renta-today-item{border:1px solid #eee3ea;border-left:5px solid #4f7cac;border-radius:18px;padding:12px;background:#fff;display:grid;grid-template-columns:1fr auto;gap:3px;}
.renta-today-item.retorno{border-left-color:#d7967b;}
.renta-today-item span,.renta-today-item small{display:block;color:#776b7d;}.renta-today-item em{font-style:normal;font-weight:900;color:#2b2f4c;}
.renta-product{width:100%;height:100%;padding:0;border:1px solid #eee3ea;border-radius:22px;background:#fff;text-align:left;overflow:hidden;color:#2b2f4c;box-shadow:0 10px 24px rgba(18,38,63,.06);transition:.16s ease;}
.renta-product:hover{border-color:#17b890;transform:translateY(-2px);box-shadow:0 16px 32px rgba(18,38,63,.12);}
.renta-product-img{height:125px;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#fbf7fb,#eef8f5);overflow:hidden;}
.renta-product-img img{width:100%;height:100%;object-fit:cover;}
.renta-product-body{display:flex;flex-direction:column;gap:5px;padding:12px;}
.renta-product-body small{color:#766a7c;font-weight:850;}.renta-product-body strong{min-height:36px;line-height:1.15;}.renta-product-body span{display:flex;justify-content:space-between;align-items:center;gap:8px;}
.renta-product-body b{color:#6f4e7c;font-size:16px;}.renta-product-body em{font-style:normal;border-radius:999px;background:#ecfaf5;color:#118767;font-weight:850;padding:4px 8px;}
.renta-ticket-panel{position:sticky;top:105px;}
.renta-cart-list{max-height:450px;overflow:auto;padding-right:4px;}
.renta-empty{min-height:140px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#8a7a8e;background:#fbf7fb;border:1px dashed #e0d6de;border-radius:22px;text-align:center;padding:16px;}
.renta-cart-item{border:1px solid #eee3ea;border-radius:20px;padding:12px;margin-bottom:10px;background:#fff;}
.renta-cart-item button{border:0;border-radius:12px;background:#fff0f0;color:#be3f3f;width:36px;height:34px;}
.renta-cart-item small{display:block;color:#766a7c;font-weight:800;margin-top:2px;}
.renta-cart-item label{font-size:12px;margin-bottom:3px;}
.renta-cart-item .form-control{min-height:40px;border-radius:12px;font-size:13px;}
.renta-total-card{background:linear-gradient(180deg,#fbf7fb,#fff);border:1px solid #eee3ea;border-radius:22px;padding:14px;}
.renta-total-card div{display:flex;justify-content:space-between;padding:5px 0;}.renta-total-card .total{font-size:22px;border-top:1px dashed #d8c8d4;margin-top:6px;padding-top:12px;}
.renta-payment h6{font-weight:900;}.btn-renta-pay{width:100%;min-height:50px;border:1px solid #e0d6de;background:#fff;border-radius:16px;color:#2b2f4c;font-weight:850;box-shadow:0 8px 18px rgba(18,38,63,.05);}
.btn-renta-pay.active,.btn-renta-pay:hover{background:#2b2f4c;border-color:#2b2f4c;color:#fff;}
@media (max-width: 991px){.renta-ticket-panel{position:static}.renta-calendar-grid{gap:5px}.renta-day{min-height:104px;padding:8px}.renta-event{font-size:10px}.renta-cart-list{max-height:none}}
@media (max-width: 640px){.renta-calendar-grid{grid-template-columns:1fr}.renta-calendar-head{display:none}.renta-day.muted{display:none}.renta-day{min-height:auto}.renta-hero .text-xl-end{text-align:left!important}.btn-renta-head,.btn-renta-primary{width:100%;margin:4px 0!important}}

.pagos-shell{--pagos-ink:#2b2f4c;--pagos-plum:#6f4e7c;--pagos-line:#e0d6de;color:var(--pagos-ink);}
.pagos-hero{background:linear-gradient(135deg,#2b2f4c,#6f4e7c 58%,#17b890);border-radius:28px;padding:22px;color:#fff;box-shadow:0 18px 44px rgba(18,38,63,.14);}
.pagos-hero h4{color:#fff;font-weight:900;}.pagos-hero p{color:rgba(255,255,255,.82);}
.pagos-hero-icon{width:62px;height:62px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.16);font-size:28px;}
.btn-pagos-head{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(0,0,0,.14);min-height:46px;border-radius:15px;font-weight:850;}
.btn-pagos-head:hover{background:#17b890;border-color:#17b890;color:#fff;transform:translateY(-1px);}
.pagos-panel{background:#fff;border:1px solid #f0e8ef;border-radius:26px;padding:18px;box-shadow:0 14px 36px rgba(18,38,63,.08);}
.pagos-panel label{font-weight:850;color:#2b2f4c;margin-bottom:6px;}.pagos-panel .form-control{border:1px solid #e0d6de;border-radius:16px;min-height:46px;font-weight:750;}
.pagos-total-card{background:#fff;border:1px solid #eee3ea;border-radius:22px;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 12px 28px rgba(18,38,63,.07);}
.pagos-total-card span{font-weight:900;color:#6f4e7c;}.pagos-total-card strong{font-size:22px;color:#2b2f4c;}.pagos-total-card.grand{background:#2b2f4c;}.pagos-total-card.grand span,.pagos-total-card.grand strong{color:#fff;}

.cortes-shell{--cortes-ink:#2b2f4c;--cortes-plum:#6f4e7c;--cortes-amber:#d7967b;--cortes-mint:#17b890;--cortes-line:#e0d6de;color:var(--cortes-ink);}
.cortes-hero{background:radial-gradient(circle at 18% 30%,rgba(255,255,255,.24),transparent 22%),linear-gradient(135deg,#252943 0%,#6f4e7c 54%,#d7967b 100%);border-radius:28px;padding:22px;color:#fff;box-shadow:0 18px 44px rgba(18,38,63,.14);}
.cortes-hero h4{color:#fff;font-weight:900;letter-spacing:.2px;}.cortes-hero p{color:rgba(255,255,255,.82);}
.cortes-hero-icon{width:62px;height:62px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.16);font-size:28px;}
.btn-cortes-head{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(0,0,0,.14);min-height:46px;border-radius:15px;font-weight:850;}
.btn-cortes-head:hover{background:#17b890;border-color:#17b890;color:#fff;transform:translateY(-1px);}
.cortes-panel{background:#fff;border:1px solid #f0e8ef;border-radius:26px;padding:18px;box-shadow:0 14px 36px rgba(18,38,63,.08);}
.cortes-panel label{font-weight:850;color:#2b2f4c;margin-bottom:6px;}.cortes-panel .form-control{border:1px solid #e0d6de;border-radius:16px;min-height:46px;font-weight:750;}
.cortes-limit-note{min-height:46px;border:1px dashed #e0d6de;border-radius:16px;display:flex;align-items:center;justify-content:center;color:#6f4e7c;font-weight:850;background:#fffaf6;}
.cortes-total-card{background:#fff;border:1px solid #eee3ea;border-radius:22px;padding:16px 18px;display:flex;justify-content:space-between;align-items:center;box-shadow:0 12px 28px rgba(18,38,63,.07);}
.cortes-total-card span{font-weight:900;color:#6f4e7c;}.cortes-total-card strong{font-size:22px;color:#2b2f4c;font-variant-numeric:tabular-nums;}.cortes-total-card.open{background:#fffaf6;}.cortes-total-card.closed{background:#ecfaf5;}.cortes-total-card.money{background:#2b2f4c;}.cortes-total-card.money span,.cortes-total-card.money strong{color:#fff;}
.btn-cortes-action{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;border-radius:999px;font-weight:800;box-shadow:0 8px 18px rgba(18,38,63,.07);}.btn-cortes-action:hover{background:#17b890;border-color:#17b890;color:#fff;}.btn-cortes-action.close:hover{background:#d7967b;border-color:#d7967b;color:#fff;}
.cortes-actions{white-space:nowrap;}.cortes-panel table th{font-size:12px;text-transform:uppercase;letter-spacing:.06em;color:#6f4e7c;}.cortes-panel table td{vertical-align:middle;}
@media (max-width: 640px){.cortes-hero .text-xl-end{text-align:left!important}.btn-cortes-head{width:100%;margin:4px 0!important}.cortes-actions{white-space:normal}.btn-cortes-action{width:100%;margin:3px 0!important}}

.imgRecord{
    width:100%; 
    height:100%;
    max-height: 339px;
}

.imgRecord:hover{
    cursor: pointer;
}

[aria-invalid] {
    border-color: #FA0000;
}
.preview-container {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
    }
    .dropzone {
      width: 150px;
      height: 150px;
      border: 2px dashed #6c757d;
      border-radius: 8px;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #6c757d;
      cursor: pointer;
      transition: background-color 0.3s;
      font-size: 20px;
      font-weight: bold;
    }
    .dropzone.dragover {
      background-color: #f8f9fa;
    }
    .preview-item {
      position: relative;
      width: 150px;
      height: 150px;
      flex: 0 0 auto;
      cursor: pointer;
    }
    .preview-item img {
      width: 100%;
      height: 100%;
      border-radius: 8px;
      object-fit: contain;
      background: #f8f9fa;
    }
    .remove-btn {
      position: absolute;
      top: 5px;
      right: 5px;
      background: transparent;
      border: none;
      color: #6c757d;
      font-size: 20px;
      cursor: pointer;
      padding: 0;
      transition: color 0.3s;
      z-index: 10;
    }
    .remove-btn:hover {
      color: #dc3545;
    }
    .main-btn {
      position: absolute;
      top: 5px;
      left: 5px;
      background: transparent;
      border: none;
      color: #6c757d;
      font-size: 20px;
      cursor: pointer;
      padding: 0;
      z-index: 10;
      transition: color 0.3s;
    }
    .main-btn.active {
      color: #ffc107; /* dorado */
    }
    .main-btn:hover {
      color: #ffc107;
    }
    /* SweetAlert2 ajustes */
    .swal2-image {
      max-width: 90vw !important;
      max-height: 90vh !important;
      object-fit: contain !important;
    }

    .dressit-hero {
        background: linear-gradient(135deg, #2b2f4c 0%, #6f4e7c 48%, #d7967b 100%);
        border-radius: 24px;
        padding: 28px;
        color: #fff;
        overflow: hidden;
        position: relative;
    }
    .dressit-hero:after { content: ''; position:absolute; right:-60px; top:-70px; width:220px; height:220px; border-radius:50%; background:rgba(255,255,255,.13); }
    .dressit-hero h2 { color:#fff; font-weight:800; letter-spacing:.2px; }
    .dressit-muted { color: rgba(255,255,255,.78); }
    .category-card, .product-card, .dressit-panel { border:0; border-radius:22px; box-shadow:0 12px 32px rgba(18,38,63,.08); transition:.2s ease; }
    .category-card { cursor:pointer; background:#fff; }
    .category-card:hover, .category-card.active { transform: translateY(-3px); box-shadow:0 18px 38px rgba(18,38,63,.14); }
    .category-card.active { outline:3px solid rgba(215,150,123,.35); }
    .category-icon { width:54px; height:54px; border-radius:18px; display:flex; align-items:center; justify-content:center; background:#fff3ec; color:#d7967b; font-size:24px; }
    .product-card { overflow:hidden; background:#fff; height:100%; }
    .product-img-wrap { height:245px; background:linear-gradient(180deg,#fbf7f4,#f3edf4); display:flex; align-items:center; justify-content:center; overflow:hidden; }
    .product-img-wrap img { width:100%; height:100%; object-fit:cover; transition:.25s ease; }
    .product-card:hover .product-img-wrap img { transform:scale(1.04); }
    .product-placeholder { font-size:58px; color:#c7b8c8; }
    .product-badge { position:absolute; top:14px; left:14px; border-radius:999px; padding:7px 11px; background:rgba(255,255,255,.92); font-weight:700; font-size:12px; }
    .price-main { font-size:20px; font-weight:800; color:#2b2f4c; }
    .price-rent { color:#6f4e7c; font-weight:700; }
    .btn-dressit { border-radius:999px; padding:.55rem 1rem; font-weight:700; }
    .catalog-toolbar { background:#fff; border-radius:20px; padding:14px; box-shadow:0 10px 28px rgba(18,38,63,.06); }
    .articulos-catalog-header { background:linear-gradient(135deg,#2b2f4c 0%,#6f4e7c 55%,#d7967b 100%); border-radius:26px; padding:24px; color:#fff; box-shadow:0 18px 45px rgba(18,38,63,.12); position:relative; overflow:hidden; }
    .articulos-catalog-header:after { content:''; position:absolute; right:-55px; top:-65px; width:220px; height:220px; border-radius:50%; background:rgba(255,255,255,.12); pointer-events:none; }
    .articulos-catalog-header h4 { color:#fff; font-weight:800; letter-spacing:.2px; }
    .articulos-catalog-header p { color:rgba(255,255,255,.78); }
    .articulos-header-icon { width:58px; height:58px; border-radius:20px; display:flex; align-items:center; justify-content:center; background:rgba(255,255,255,.16); box-shadow:inset 0 0 0 1px rgba(255,255,255,.18); font-size:26px; flex:0 0 auto; }
    .articulos-filter-bar { position:relative; z-index:1; background:rgba(255,255,255,.94); border-radius:20px; padding:14px; box-shadow:0 12px 28px rgba(18,38,63,.12); }
    .articulos-filter-bar .input-group-text { border:1px solid #eadfe9; border-right:0; background:#fff; color:#d7967b; border-radius:999px 0 0 999px; }
    .articulos-filter-bar .form-control { border:1px solid #eadfe9; min-height:44px; background:#fff; }
    .articulos-filter-bar .input-group .form-control { border-left:0; border-radius:0 999px 999px 0; }
    .articulos-filter-bar select.form-control { border-radius:999px; }
    .articulos-catalog-header .btn-dressit { background:#fff; border-color:#fff; color:#2b2f4c; box-shadow:0 10px 24px rgba(0,0,0,.16); margin:3px 0; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease; }
    .articulos-catalog-header .btn-dressit:hover,
    .articulos-catalog-header .btn-dressit:focus { background:#fff3ec; border-color:#fff3ec; color:#6f4e7c; transform:translateY(-2px); box-shadow:0 16px 30px rgba(0,0,0,.22); }
    .articulos-catalog-header .btn-dressit:hover i,
    .articulos-catalog-header .btn-dressit:focus i { color:#d7967b; }
    .image-studio { background:#fff; border-radius:24px; box-shadow:0 12px 32px rgba(18,38,63,.08); padding:18px; }
    .main-preview { height:430px; border-radius:22px; background:linear-gradient(180deg,#fbf7f4,#f2edf4); display:flex; align-items:center; justify-content:center; overflow:hidden; position:relative; }
    .main-preview img { width:100%; height:100%; object-fit:cover; }
    .main-preview .empty { text-align:center; color:#9a8ca0; }
    .thumbs-row { display:grid; grid-template-columns:repeat(4,1fr); gap:10px; margin-top:12px; }
    .thumb-item { height:92px; border-radius:16px; background:#f7f3f6; overflow:hidden; position:relative; border:2px solid transparent; cursor:pointer; }
    .thumb-item.active { border-color:#d7967b; }
    .thumb-item img { width:100%; height:100%; object-fit:cover; }
    .thumb-actions { position:absolute; inset:auto 6px 6px 6px; display:flex; justify-content:space-between; gap:5px; }
    .thumb-actions button { border:0; width:28px; height:28px; border-radius:50%; background:rgba(255,255,255,.92); color:#2b2f4c; }
    .dropzone-dressit { border:2px dashed #d9cbd6; background:#fcf9fb; border-radius:18px; min-height:94px; display:flex; align-items:center; justify-content:center; text-align:center; color:#8a7a8e; cursor:pointer; }
    .dropzone-dressit.dragover { border-color:#d7967b; background:#fff5ef; }
    .form-card { background:#fff; border-radius:24px; box-shadow:0 12px 32px rgba(18,38,63,.08); padding:22px; }
    .form-card label { font-weight:700; color:#334; }
    .form-card .form-control, .form-card .form-select { border-radius:12px; min-height:42px; }
    .section-title { font-weight:800; color:#2b2f4c; }
    .stock-pill { border-radius:999px; padding:6px 10px; background:#f0f7f3; color:#27734f; font-weight:700; }
/* =========================================================
   DRESSIT - FIX IMAGENES CATALOGO / PREVIEW / VISOR
   Mantiene los contenedores con tamano fijo y muestra la imagen completa.
   ========================================================= */

.product-img-wrap{
    height:245px;
    background:linear-gradient(180deg,#fbf7f4,#f3edf4);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    position:relative;
    padding:12px;
}

.product-img-wrap img{
    width:100%;
    height:100%;
    object-fit:contain !important;
    transition:transform .25s ease;
    transform-origin:center center;
}

.product-card:hover .product-img-wrap img,
.product-img-wrap:hover img{
    transform:scale(1.08);
}

.main-preview{
    height:430px;
    border-radius:22px;
    background:linear-gradient(180deg,#fbf7f4,#f2edf4);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    position:relative;
    padding:15px;
    cursor:zoom-in;
}

.main-preview img{
    width:100%;
    height:100%;
    object-fit:contain !important;
    transition:transform .2s ease;
    transform-origin:center center;
}

.main-preview:hover img{
    transform:scale(1.35);
}

.main-preview .empty{
    text-align:center;
    color:#9a8ca0;
}

.thumb-item{
    height:92px;
    border-radius:16px;
    background:#f7f3f6;
    overflow:hidden;
    position:relative;
    border:2px solid transparent;
    cursor:pointer;
    padding:4px;
}

.thumb-item.active{
    border-color:#d7967b;
}

.thumb-item img{
    width:100%;
    height:100%;
    object-fit:contain !important;
    background:#fff;
}

.viewer-image-wrap{
    width:100%;
    height:500px;
    background:#f8f8f8;
    border-radius:20px;
    overflow:hidden;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:15px;
    position:relative;
    cursor:zoom-in;
}

.viewer-image-wrap img{
    width:100%;
    height:100%;
    object-fit:contain !important;
    transition:transform .25s ease;
    transform-origin:center center;
}

.viewer-image-wrap:hover img{
    transform:scale(1.25);
}

.swal2-image{
    max-width:95vw !important;
    max-height:90vh !important;
    object-fit:contain !important;
    border-radius:12px;
    background:#fff;
    padding:10px;
}

/* =========================================================
   DRESSIT - CORRECCION SWAL VISOR ARTICULOS
   Agregar al FINAL de custom.css para que sobreescriba reglas anteriores.
   ========================================================= */

/* Evita que SweetAlert centre/deforme el HTML del visor */
.swal2-popup .swal2-html-container{
    text-align:left !important;
}

.swal2-popup .swal2-html-container.swal-center-message{
    text-align:center !important;
}

#articuloViewerModal{
    width:100%;
    margin:0;
}

.articulo-viewer .viewer-info-card{
    background:#fff;
    border-radius:22px;
    padding:22px;
    box-shadow:0 12px 32px rgba(18,38,63,.08);
    height:100%;
}

/* Imagen principal dentro del Swal: tamano fijo, imagen completa */
.viewer-main{
    height:540px;
    border-radius:22px;
    background:linear-gradient(180deg,#fbf7f4,#f2edf4);
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    cursor:zoom-in;
    padding:15px;
    position:relative;
}

.viewer-main.empty{
    color:#9a8ca0;
    text-align:center;
}

.viewer-main img{
    width:100%;
    height:100%;
    object-fit:contain !important;
    transition:transform .12s ease;
    transform-origin:center center;
}

.viewer-thumbs{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

.viewer-thumb{
    height:105px;
    border-radius:16px;
    background:#f7f3f6;
    overflow:hidden;
    position:relative;
    border:2px solid transparent;
    cursor:pointer;
    padding:4px;
}

.viewer-thumb.active{
    border-color:#d7967b;
    box-shadow:0 0 0 3px rgba(215,150,123,.2);
}

.viewer-thumb img{
    width:100%;
    height:100%;
    object-fit:contain !important;
    background:#fff;
}

.viewer-main-badge{
    position:absolute;
    top:6px;
    left:6px;
    width:27px;
    height:27px;
    border-radius:50%;
    background:#ffc107;
    color:#2b2f4c;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:13px;
    z-index:3;
}

/* Imagen completa abierta con Swal.imageUrl: sin padding para que no se mueva */
.swal2-popup .swal2-image{
    display:block !important;
    max-width:92vw !important;
    max-height:88vh !important;
    width:auto !important;
    height:auto !important;
    object-fit:contain !important;
    margin:0 auto !important;
    padding:0 !important;
    border-radius:12px;
    background:transparent !important;
}

@media (max-width: 991px){
    .viewer-main{
        height:380px;
    }
}

.btn,
button,
.btn *{
    cursor:pointer !important;
}

/* =========================================================
   DRESSIT - CATALOGOS VISUALES
   Capa global para catalogos legacy. No aplica a articulos.
   ========================================================= */

#Principal > .col-lg-12 > .card,
#Principal > .col-lg-12.d-flex > .card,
#Detalle > .col-lg-12 > .card,
#Recepcion > .col-lg-12 > .card{
    border:0;
    border-radius:26px;
    overflow:hidden;
    background:linear-gradient(180deg,#ffffff 0%,#fbf8fb 100%);
    box-shadow:0 18px 45px rgba(18,38,63,.10);
}

#Principal > .col-lg-12 > .card > .card-body,
#Principal > .col-lg-12.d-flex > .card > .card-body,
#Detalle > .col-lg-12 > .card > .card-body,
#Recepcion > .col-lg-12 > .card > .card-body{
    padding:24px;
}

#Principal > .col-lg-12 > .card .card-body > .row:first-child,
#Principal > .col-lg-12.d-flex > .card .card-body > .row:first-child,
#Detalle > .col-lg-12 > .card .card-body > .row:first-child,
#Recepcion > .col-lg-12 > .card .card-body > .row:first-child{
    margin:-24px -24px 22px;
    padding:22px 24px;
    background:linear-gradient(135deg,#2b2f4c 0%,#6f4e7c 58%,#d7967b 100%);
    color:#fff;
    align-items:center;
}

#Principal > .col-lg-12 > .card h4,
#Principal > .col-lg-12.d-flex > .card h4,
#Detalle > .col-lg-12 > .card h4,
#Recepcion > .col-lg-12 > .card h4{
    color:#fff;
    font-weight:800;
    letter-spacing:.2px;
    margin:0;
    display:flex;
    align-items:center;
    gap:10px;
}

#Detalle > .col-lg-12 > .card h4:before{
    content:"\f044";
}

#Detalle > .col-lg-12 > .card h4 .atras,
#Detalle > .col-lg-12 > .card h4 a,
#Recepcion > .col-lg-12 > .card h4 .atras,
#Recepcion > .col-lg-12 > .card h4 a{
    color:#fff;
    text-decoration:none !important;
}

#Detalle > .col-lg-12 > .card h4 .atras:hover,
#Detalle > .col-lg-12 > .card h4 a:hover,
#Recepcion > .col-lg-12 > .card h4 .atras:hover,
#Recepcion > .col-lg-12 > .card h4 a:hover{
    color:#ffe4d2;
}

#btnNuevo,
#btnGuardar{
    background:#fff;
    color:#2b2f4c;
    border:1px solid #e0d6de;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:.62rem 1.05rem;
    font-weight:800;
    letter-spacing:.1px;
    box-shadow:0 8px 20px rgba(18,38,63,.06);
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}

#btnNuevo:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(18,38,63,.14);
    background:#fcf9fb;
    border-color:#eadfe9;
}

#btnGuardar:hover{
    background:#17b890;
    border-color:#17b890;
    color:#fff;
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(18,38,63,.14);
}

#btnGuardar:hover i{
    color:#fff;
}

#Principal #tblCatalogo{
    border-collapse:separate !important;
    border-spacing:0 10px !important;
    background:transparent !important;
}

#Principal #tblCatalogo thead{
    background:transparent !important;
    color:#2b2f4c;
}

#Principal #tblCatalogo thead th{
    border:0 !important;
    background:#f3edf4;
    color:#2b2f4c;
    font-weight:800;
    padding:14px 16px;
    white-space:nowrap;
}

#Principal #tblCatalogo thead th:first-child{
    border-radius:16px 0 0 16px;
}

#Principal #tblCatalogo thead th:last-child{
    border-radius:0 16px 16px 0;
}

#Principal #tblCatalogo tbody tr{
    background:#fff;
    box-shadow:0 10px 24px rgba(18,38,63,.06);
    transition:transform .18s ease, box-shadow .18s ease;
}

#Principal #tblCatalogo tbody tr:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 32px rgba(18,38,63,.12);
}

#Principal #tblCatalogo tbody td{
    border-top:0 !important;
    border-bottom:0 !important;
    padding:14px 16px;
    vertical-align:middle;
    background:#fff;
}

#Principal #tblCatalogo tbody td:first-child{
    border-radius:16px 0 0 16px;
    font-weight:800;
    color:#6f4e7c;
}

#Principal #tblCatalogo tbody td:last-child{
    border-radius:0 16px 16px 0;
}

#Principal #tblCatalogo .btn,
#Principal #tblCatalogo .btn-rounded{
    border-radius:999px !important;
    font-weight:800;
    padding:.42rem .78rem;
}

#panelExistencias > .col-lg-12.d-flex > .card{
    border:0;
    border-radius:26px;
    overflow:hidden;
    background:linear-gradient(180deg,#ffffff 0%,#fbf8fb 100%);
    box-shadow:0 18px 45px rgba(18,38,63,.10);
}

#panelExistencias > .col-lg-12.d-flex > .card > .card-body{
    padding:24px;
}

#panelExistencias > .col-lg-12.d-flex > .card .card-body > .row:first-child{
    margin:-24px -24px 22px;
    padding:22px 24px;
    background:linear-gradient(135deg,#2b2f4c 0%,#6f4e7c 58%,#d7967b 100%);
    color:#fff;
    align-items:center;
}

#panelExistencias > .col-lg-12.d-flex > .card h4{
    color:#fff;
    font-weight:800;
    letter-spacing:.2px;
    margin:0;
    display:flex;
    align-items:center;
    gap:10px;
}

#panelExistencias #tblExistencias{
    border-collapse:separate !important;
    border-spacing:0 10px !important;
    background:transparent !important;
}

#panelExistencias #tblExistencias thead{
    background:transparent !important;
    color:#2b2f4c;
}

#panelExistencias #tblExistencias thead th{
    border:0 !important;
    background:#f3edf4;
    color:#2b2f4c;
    font-weight:800;
    padding:14px 16px;
    white-space:nowrap;
}

#panelExistencias #tblExistencias thead th:first-child{
    border-radius:16px 0 0 16px;
}

#panelExistencias #tblExistencias thead th:last-child{
    border-radius:0 16px 16px 0;
}

#panelExistencias #tblExistencias tbody tr{
    background:#fff;
    box-shadow:0 10px 24px rgba(18,38,63,.06);
    transition:transform .18s ease, box-shadow .18s ease;
}

#panelExistencias #tblExistencias tbody tr:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 32px rgba(18,38,63,.12);
}

#panelExistencias #tblExistencias tbody td{
    border-top:0 !important;
    border-bottom:0 !important;
    padding:14px 16px;
    vertical-align:middle;
    background:#fff;
}

#panelExistencias #tblExistencias tbody td:first-child{
    border-radius:16px 0 0 16px;
    font-weight:800;
    color:#6f4e7c;
}

#panelExistencias #tblExistencias tbody td:last-child{
    border-radius:0 16px 16px 0;
}

#panelExistencias #tblExistencias thead th i{
    color:#d7967b;
}

#Principal .dataTables_wrapper .dataTables_filter input,
#Principal .dataTables_wrapper .dataTables_length select{
    border:1px solid #eadfe9;
    border-radius:999px;
    padding:8px 14px;
    background:#fff;
    box-shadow:0 8px 20px rgba(18,38,63,.05);
}

#Detalle > .col-lg-12 > .card form,
#Detalle > .col-lg-12 > .card .card-body > .row:not(:first-child),
#Recepcion > .col-lg-12 > .card form{
    background:#fff;
    border-radius:22px;
    padding:20px;
    box-shadow:0 10px 28px rgba(18,38,63,.06);
}

#Detalle > .col-lg-12 > .card label,
#Recepcion > .col-lg-12 > .card label{
    color:#2b2f4c;
    font-weight:800;
    margin-bottom:8px;
    display:inline-flex;
    align-items:center;
    gap:7px;
}

#Principal #tblCatalogo thead th i,
#Detalle > .col-lg-12 > .card label i,
#Detalle .form-card label i,
#Recepcion > .col-lg-12 > .card label i,
.bootbox label i{
    color:#d7967b;
}

#Detalle > .col-lg-12 > .card label i,
#Detalle .form-card label i,
#Recepcion > .col-lg-12 > .card label i,
.bootbox label i{
    width:24px;
    height:24px;
    border-radius:9px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:#fff3ec;
    font-size:12px;
}

#Detalle > .col-lg-12 > .card .form-control,
#Detalle > .col-lg-12 > .card .form-select,
#Detalle > .col-lg-12 > .card select,
#Detalle > .col-lg-12 > .card textarea,
#Recepcion > .col-lg-12 > .card .form-control,
#Recepcion > .col-lg-12 > .card .form-select,
#Recepcion > .col-lg-12 > .card select{
    border:1px solid #eadfe9;
    border-radius:15px;
    min-height:44px;
    background:#fcf9fb;
    box-shadow:none;
    transition:border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#Detalle > .col-lg-12 > .card .form-control:focus,
#Detalle > .col-lg-12 > .card select:focus,
#Detalle > .col-lg-12 > .card textarea:focus,
#Recepcion > .col-lg-12 > .card .form-control:focus,
#Recepcion > .col-lg-12 > .card select:focus{
    border-color:#d7967b;
    background:#fff;
    box-shadow:0 0 0 4px rgba(215,150,123,.14);
}




#Detalle > .col-lg-12 > .card .form-check-input{
    width:1.25rem;
    height:1.25rem;
    border-color:#d7967b;
}

@media (max-width: 767px){
    #Principal > .col-lg-12 > .card .card-body > .row:first-child,
    #Principal > .col-lg-12.d-flex > .card .card-body > .row:first-child,
    #panelExistencias > .col-lg-12.d-flex > .card .card-body > .row:first-child,
    #Detalle > .col-lg-12 > .card .card-body > .row:first-child,
    #Recepcion > .col-lg-12 > .card .card-body > .row:first-child{
        gap:14px;
    }

    #Principal #tblCatalogo,
    #panelExistencias #tblExistencias{
        border-spacing:0 8px !important;
    }

    #Principal #tblCatalogo thead th,
    #panelExistencias #tblExistencias thead th,
    #panelExistencias #tblExistencias tbody td,
    #Principal #tblCatalogo tbody td{
        padding:12px;
    }
}

/* =========================================================
   DRESSIT - RESPONSIVE APP
   Ajustes para operar catálogos desde tablet y celular.
   ========================================================= */

html,
body{
    max-width:100%;
    overflow-x:hidden;
}

.table-responsive{
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    border-radius:20px;
}

#Principal #tblCatalogo,
#tblExistencias{
    min-width:760px;
}

@media (max-width: 1199px){
    .articulos-catalog-header .col-lg-6.text-lg-end{
        text-align:left !important;
    }

    .articulos-catalog-header .btn-dressit{
        margin-right:6px;
    }
}

@media (max-width: 991px){
    .page-content{
        padding-left:12px !important;
        padding-right:12px !important;
    }

    .container-fluid{
        padding-left:10px;
        padding-right:10px;
    }

    #page-topbar .container-fluid{
        padding-left:0;
        padding-right:0;
    }

    .topnav .navbar-collapse{
        background:#fff;
        border-radius:0 0 22px 22px;
        box-shadow:0 14px 32px rgba(18,38,63,.16);
        padding:10px 14px 16px;
    }

    .topnav .navbar-nav .nav-link{
        color:#2b2f4c !important;
        border-radius:14px;
        padding:12px 14px;
        font-weight:700;
    }

    .topnav .navbar-nav .nav-link:hover,
    .topnav .navbar-nav .nav-link:focus{
        background:#fff3ec;
        color:#6f4e7c !important;
    }

    .topnav .dropdown-menu{
        position:static !important;
        float:none;
        width:100%;
        border:0;
        box-shadow:none;
        background:#fbf8fb;
        border-radius:16px;
        margin:4px 0 10px;
        padding:8px;
    }

    .topnav .dropdown-item{
        border-radius:12px;
        padding:10px 12px;
    }

    #Principal > .col-lg-12 > .card,
    #Principal > .col-lg-12.d-flex > .card,
    #panelExistencias > .col-lg-12.d-flex > .card,
    #Detalle > .col-lg-12 > .card,
    #Recepcion > .col-lg-12 > .card,
    .articulos-catalog-header,
    .image-studio,
    .form-card,
    .dressit-panel,
    .product-card,
    .category-card{
        border-radius:20px;
    }

    #Principal > .col-lg-12 > .card > .card-body,
    #Principal > .col-lg-12.d-flex > .card > .card-body,
    #panelExistencias > .col-lg-12.d-flex > .card > .card-body,
    #Detalle > .col-lg-12 > .card > .card-body,
    #Recepcion > .col-lg-12 > .card > .card-body{
        padding:18px;
    }

    #Principal > .col-lg-12 > .card .card-body > .row:first-child,
    #Principal > .col-lg-12.d-flex > .card .card-body > .row:first-child,
    #panelExistencias > .col-lg-12.d-flex > .card .card-body > .row:first-child,
    #Detalle > .col-lg-12 > .card .card-body > .row:first-child,
    #Recepcion > .col-lg-12 > .card .card-body > .row:first-child{
        margin:-18px -18px 18px;
        padding:18px;
    }

    #Principal > .col-lg-12 > .card .float-start,
    #Principal > .col-lg-12.d-flex > .card .float-start,
    #panelExistencias > .col-lg-12.d-flex > .card .float-start,
    #Detalle > .col-lg-12 > .card .float-start,
    #Recepcion > .col-lg-12 > .card .float-start,
    #Principal > .col-lg-12 > .card .float-end,
    #Principal > .col-lg-12.d-flex > .card .float-end,
    #panelExistencias > .col-lg-12.d-flex > .card .float-end,
    #Detalle > .col-lg-12 > .card .float-end,
    #Recepcion > .col-lg-12 > .card .float-end{
        float:none !important;
    }

    #Principal > .col-lg-12 > .card .float-end,
    #Principal > .col-lg-12.d-flex > .card .float-end,
    #panelExistencias > .col-lg-12.d-flex > .card .float-end,
    #Detalle > .col-lg-12 > .card .float-end,
    #Recepcion > .col-lg-12 > .card .float-end{
        margin-top:14px;
    }

    #btnNuevo,
    #btnGuardar{
        min-height:44px;
    }

    #Detalle > .col-lg-12 > .card form,
    #Detalle > .col-lg-12 > .card .card-body > .row:not(:first-child),
    #Recepcion > .col-lg-12 > .card form{
        padding:16px;
        border-radius:18px;
    }

    .dataTables_wrapper .row,
    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter,
    .dataTables_wrapper .dataTables_info,
    .dataTables_wrapper .dataTables_paginate{
        text-align:left !important;
    }

    #Principal .dataTables_wrapper .dataTables_filter input{
        width:100%;
        margin:8px 0 0;
    }
}

@media (max-width: 767px){
    body[data-layout=horizontal] .main-content{
        margin-left:0 !important;
    }

    .page-content{
        padding-top:92px !important;
        padding-bottom:36px !important;
    }

    .navbar-header{
        height:64px;
        padding-right:8px;
    }

    .header-profile-user{
        height:34px;
        width:34px;
    }

    #Principal > .col-lg-12 > .card h4,
    #Principal > .col-lg-12.d-flex > .card h4,
    #panelExistencias > .col-lg-12.d-flex > .card h4,
    #Detalle > .col-lg-12 > .card h4,
    #Recepcion > .col-lg-12 > .card h4{
        font-size:1.12rem;
        line-height:1.35;
        flex-wrap:wrap;
    }

    #Principal > .col-lg-12 > .card h4:before,
    #Principal > .col-lg-12.d-flex > .card h4:before,
    #panelExistencias > .col-lg-12.d-flex > .card h4:before,
    #Detalle > .col-lg-12 > .card h4:before{
        width:36px;
        height:36px;
        border-radius:14px;
        font-size:15px;
    }

    #Principal > .col-lg-12 > .card .float-end,
    #Principal > .col-lg-12.d-flex > .card .float-end,
    #panelExistencias > .col-lg-12.d-flex > .card .float-end,
    #Detalle > .col-lg-12 > .card .float-end,
    #Recepcion > .col-lg-12 > .card .float-end,
    #btnNuevo,
    #btnGuardar{
        width:100%;
    }

    #btnNuevo,
    #btnGuardar{
        justify-content:center;
    }

    #Detalle > .col-lg-12 > .card label,
    #Recepcion > .col-lg-12 > .card label{
        font-size:.92rem;
        line-height:1.25;
    }

    #Detalle > .col-lg-12 > .card .form-control,
    #Detalle > .col-lg-12 > .card .form-select,
    #Detalle > .col-lg-12 > .card select,
    #Detalle > .col-lg-12 > .card textarea,
    #Recepcion > .col-lg-12 > .card .form-control,
    #Recepcion > .col-lg-12 > .card .form-select,
    #Recepcion > .col-lg-12 > .card select,
    .form-card .form-control,
    .form-card .form-select{
        min-height:46px;
        font-size:16px;
    }



    .table-responsive{
        margin-left:-4px;
        margin-right:-4px;
        padding:0 4px 6px;
    }

    #Principal #tblCatalogo,
    #tblExistencias{
        min-width:820px;
        font-size:.88rem;
    }

    #Principal #tblCatalogo thead th,
    #panelExistencias #tblExistencias thead th,
    #panelExistencias #tblExistencias tbody td,
    #Principal #tblCatalogo tbody td{
        white-space:nowrap;
    }

    .dataTables_wrapper .dataTables_length,
    .dataTables_wrapper .dataTables_filter{
        margin-bottom:10px;
    }

    .dataTables_wrapper .dataTables_paginate .paginate_button{
        padding:.35em .55em !important;
        margin-left:2px !important;
    }

    .swal2-popup{
        width:calc(100vw - 24px) !important;
        max-width:calc(100vw - 24px) !important;
        border-radius:18px !important;
        padding:1rem !important;
    }

    .bootbox .modal-dialog,
    .modal-dialog{
        margin:.75rem;
    }
}

@media (max-width: 575px){
    .page-content{
        padding-left:6px !important;
        padding-right:6px !important;
    }

    .container-fluid{
        padding-left:6px;
        padding-right:6px;
    }

    #Principal > .col-lg-12 > .card > .card-body,
    #Principal > .col-lg-12.d-flex > .card > .card-body,
    #panelExistencias > .col-lg-12.d-flex > .card > .card-body,
    #Detalle > .col-lg-12 > .card > .card-body{
        padding:14px;
    }

    #Principal > .col-lg-12 > .card .card-body > .row:first-child,
    #Principal > .col-lg-12.d-flex > .card .card-body > .row:first-child,
    #panelExistencias > .col-lg-12.d-flex > .card .card-body > .row:first-child,
    #Detalle > .col-lg-12 > .card .card-body > .row:first-child,
    #Recepcion > .col-lg-12 > .card .card-body > .row:first-child{
        margin:-14px -14px 16px;
        padding:16px 14px;
    }

    #Detalle > .col-lg-12 > .card form,
    #Detalle > .col-lg-12 > .card .card-body > .row:not(:first-child),
    #Recepcion > .col-lg-12 > .card form{
        padding:14px;
    }
}

@media (max-width: 420px){
    #Principal #tblCatalogo,
    #tblExistencias{
        min-width:760px;
        font-size:.82rem;
    }

    #Principal #tblCatalogo thead th,
    #panelExistencias #tblExistencias thead th,
    #panelExistencias #tblExistencias tbody td,
    #Principal #tblCatalogo tbody td{
        padding:10px;
    }
}

@media (max-width: 991px){
    .articulos-catalog-header{
        padding:20px;
    }

    .articulos-catalog-header .col-lg-6.text-lg-end{
        display:grid;
        grid-template-columns:repeat(2,minmax(0,1fr));
        gap:8px;
    }

    .articulos-catalog-header .btn-dressit{
        width:100%;
        margin:0;
        justify-content:center;
        display:inline-flex;
        align-items:center;
    }

    .articulos-filter-bar{
        padding:12px;
    }

    .product-img-wrap{
        height:220px;
    }

    .main-preview{
        height:360px;
    }

    .viewer-main{
        height:390px;
    }

    .viewer-thumbs{
        grid-template-columns:repeat(4,minmax(0,1fr));
    }

    .viewer-thumb{
        height:82px;
    }
}

@media (max-width: 767px){
    .articulos-catalog-header{
        padding:18px;
        border-radius:20px;
    }

    .articulos-catalog-header .d-flex.align-items-center.gap-3{
        align-items:flex-start !important;
    }

    .articulos-header-icon{
        width:46px;
        height:46px;
        border-radius:16px;
        font-size:20px;
    }

    .articulos-catalog-header h4{
        font-size:1.2rem;
    }

    .articulos-catalog-header p{
        font-size:.88rem;
    }

    .articulos-catalog-header .col-lg-6.text-lg-end{
        grid-template-columns:1fr;
    }

    .articulos-filter-bar .input-group,
    .articulos-filter-bar .form-control,
    .articulos-filter-bar select.form-control{
        width:100%;
    }

    .category-card .card-body{
        padding:14px;
    }

    .category-icon{
        width:46px;
        height:46px;
        border-radius:15px;
        font-size:20px;
    }

    .product-card .p-3{
        padding:14px !important;
    }

    .product-img-wrap{
        height:210px;
    }

    .image-studio,
    .form-card{
        padding:14px;
    }

    .main-preview{
        height:300px;
    }

    .thumbs-row{
        grid-template-columns:repeat(4,minmax(0,1fr));
        gap:7px;
    }

    .thumb-item{
        height:72px;
        border-radius:12px;
    }

    .dropzone-dressit{
        min-height:84px;
        padding:12px;
    }

    .articulo-viewer .viewer-info-card{
        padding:16px;
    }

    .viewer-main{
        height:300px;
        border-radius:16px;
    }

    .viewer-thumbs{
        gap:7px;
    }

    .viewer-thumb{
        height:68px;
        border-radius:12px;
    }

    #tblExistencias{
        min-width:720px;
    }
}

@media (max-width: 420px){
    .product-img-wrap{
        height:190px;
    }

    .main-preview{
        height:255px;
    }

    .thumb-item,
    .viewer-thumb{
        height:60px;
    }
}

/* =========================================================
   DRESSIT - BOTONES ORDENES DE COMPRA (btn-oc-*)
   Fondo blanco, icono/texto negro, redondeados.
   Hover: fondo del color de cada accion, letras blancas.
   ========================================================= */

.btn-oc{
    border:1px solid #e0d6de;
    border-radius:999px;
    font-weight:800;
    letter-spacing:.1px;
    padding:.62rem 1.05rem;
    background:#fff;
    color:#2b2f4c;
    box-shadow:0 8px 20px rgba(18,38,63,.06);
    transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
    display:inline-flex;
    align-items:center;
    gap:8px;
}

.btn-oc i{
    color:#2b2f4c;
    font-size:1rem;
    transition:color .18s ease;
}

.btn-oc:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(18,38,63,.14);
}

.btn-oc-guardar:hover{
    background:#17b890;
    border-color:#17b890;
    color:#fff;
}
.btn-oc-guardar:hover i{ color:#fff; }

.btn-oc-aprobar:hover{
    background:#0dcaf0;
    border-color:#0dcaf0;
    color:#fff;
}
.btn-oc-aprobar:hover i{ color:#fff; }

.btn-oc-recibir:hover{
    background:#405cf5;
    border-color:#405cf5;
    color:#fff;
}
.btn-oc-recibir:hover i{ color:#fff; }

.btn-oc-pagar:hover{
    background:#17b890;
    border-color:#17b890;
    color:#fff;
}
.btn-oc-pagar:hover i{ color:#fff; }

.btn-oc-cancelar:hover{
    background:#dc3545;
    border-color:#dc3545;
    color:#fff;
}
.btn-oc-cancelar:hover i{ color:#fff; }

.btn-oc-quitar-aprobacion{ background:#fff; border:1px solid #6c757d; color:#212529; border-radius:0.25rem; }
.btn-oc-quitar-aprobacion i{ color:#6c757d; }
.btn-oc-quitar-aprobacion:hover{ background:#ffc107; border-color:#ffc107; color:#fff; }
.btn-oc-quitar-aprobacion:hover i{ color:#fff; }

.btn-empresa-head{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(18,38,63,.08);border-radius:15px;font-weight:850;min-height:42px;display:inline-flex;align-items:center;justify-content:center;gap:6px;}
.btn-empresa-head:hover{background:#17b890;border-color:#17b890;color:#fff;transform:translateY(-1px);}
.empresa-onboarding{display:grid;grid-template-columns:260px minmax(0,1fr);gap:22px;align-items:start;}
.empresa-logo-card,.empresa-form-card{background:#fff;border:1px solid #f0e8ef;border-radius:24px;padding:20px;box-shadow:0 14px 34px rgba(18,38,63,.07);}
.empresa-logo-preview{height:210px;border-radius:22px;background:linear-gradient(135deg,#fffaf6,#f4edf5);border:1px dashed #e0d6de;display:flex;align-items:center;justify-content:center;overflow:hidden;}
.empresa-logo-preview img{width:100%;height:100%;object-fit:contain;padding:18px;}
.empresa-form-card label{font-weight:850;color:#4b4051;margin-bottom:7px;}
.empresa-form-card .form-control{border:1px solid #e0d6de;border-radius:14px;min-height:46px;color:#2b2f4c;font-weight:700;}
.empresa-form-card .form-control:focus{border-color:#6f4e7c;box-shadow:0 0 0 .18rem rgba(111,78,124,.12);}
.empresa-defaults{display:flex;flex-wrap:wrap;gap:8px;}
.empresa-defaults span{display:inline-flex;align-items:center;gap:5px;padding:7px 10px;border-radius:999px;background:#fffaf6;border:1px solid #eee3ea;color:#6f4e7c;font-weight:800;font-size:12px;}
.empresa-row-brand{display:flex;align-items:center;gap:10px;min-width:180px;}
.empresa-row-brand img{width:38px;height:38px;border-radius:12px;object-fit:contain;background:#fffaf6;border:1px solid #eee3ea;padding:3px;}
@media (max-width: 900px){.empresa-onboarding{grid-template-columns:1fr}.empresa-logo-card{max-width:320px}.empresa-logo-preview{height:180px}}

.generales-shell{--gen-ink:#2b2f4c;--gen-plum:#6f4e7c;--gen-rose:#d7967b;--gen-mint:#17b890;--gen-line:#e0d6de;color:var(--gen-ink);}

/* Apartados: ficha de resguardo, distinta al POS de venta */
.apartados-shell{--ap-ink:#22233f;--ap-plum:#5a315f;--ap-amber:#c58a2d;--ap-paper:#fff8ed;--ap-line:#ead9c2;--ap-sage:#697d61;color:var(--ap-ink);}
.apartados-hero{background:radial-gradient(circle at 12% 20%,rgba(197,138,45,.24),transparent 28%),linear-gradient(135deg,#fff8ed 0%,#f7edf7 48%,#efe6d7 100%);border:1px solid var(--ap-line);border-radius:28px;padding:22px;box-shadow:0 18px 42px rgba(34,35,63,.10);position:relative;overflow:hidden;}
.apartados-hero:after{content:"AP";position:absolute;right:28px;bottom:-18px;font-size:96px;font-weight:900;letter-spacing:-8px;color:rgba(90,49,95,.08);}
.apartados-hero-icon{width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,var(--ap-plum),#8b5b85);color:#fff;display:flex;align-items:center;justify-content:center;font-size:26px;box-shadow:0 16px 30px rgba(90,49,95,.28);}
.apartados-label,.apartados-shell label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:var(--ap-plum);}
.btn-apartados-head{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(0,0,0,.14);border-radius:15px;font-weight:800;min-height:46px;}
.btn-apartados-head:hover{background:var(--ap-amber);border-color:var(--ap-amber);color:#fff;transform:translateY(-1px);}
.apartados-ribbon{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;background:rgba(255,255,255,.72);border:1px dashed rgba(90,49,95,.25);border-radius:18px;padding:10px 14px;font-weight:800;color:var(--ap-plum);}
.apartados-panel{background:#fff;border:1px solid var(--ap-line);border-radius:26px;padding:18px;box-shadow:0 14px 32px rgba(34,35,63,.08);}
.apartados-search{position:relative;}.apartados-search i{position:absolute;left:16px;top:50%;transform:translateY(-50%);color:var(--ap-amber);}.apartados-search input{padding-left:44px;border-radius:18px;border:1px solid var(--ap-line);min-height:50px;}
.apartado-card{border:1px solid var(--ap-line);border-radius:24px;background:var(--ap-paper);overflow:hidden;height:100%;box-shadow:0 12px 26px rgba(34,35,63,.07);}.apartado-card img{width:100%;height:168px;object-fit:cover;background:#f5f1ec;}.apartado-card-body{padding:14px;}.apartado-card-body small{color:var(--ap-sage);font-weight:800;}.apartado-card-body h5{font-weight:900;color:var(--ap-plum);min-height:42px;}
.btn-apartados-pick,.btn-apartados-save{width:100%;border:0;border-radius:18px;background:linear-gradient(135deg,var(--ap-plum),#7d4a7c);color:#fff;font-weight:900;box-shadow:0 14px 28px rgba(90,49,95,.24);}.btn-apartados-pick:hover,.btn-apartados-save:hover{color:#fff;filter:brightness(1.05);transform:translateY(-1px);}
.apartado-slip-panel{background:linear-gradient(180deg,#fff 0%,var(--ap-paper) 100%);}.apartado-slip-top{display:flex;justify-content:space-between;align-items:center;border-bottom:1px dashed var(--ap-line);padding-bottom:12px;}.apartado-slip-top span{font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:var(--ap-sage);font-weight:900;}.apartado-slip-top strong{color:var(--ap-plum);}
.apartado-client,.apartado-selected{border:1px dashed var(--ap-line);border-radius:16px;background:#fff;padding:11px 12px;min-height:46px;font-weight:800;}.btn-apartados-soft{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 8px 18px rgba(18,38,63,.07);border-radius:14px;}.btn-apartados-soft:hover{background:var(--ap-plum);color:#fff;}
.btn-apartado-pay{width:100%;min-height:48px;background:#fff;border:1px solid var(--ap-line);color:var(--ap-ink);border-radius:16px;font-weight:800;}.btn-apartado-pay.active,.btn-apartado-pay:hover{background:var(--ap-amber);border-color:var(--ap-amber);color:#fff;}
.apartado-total{border-radius:22px;background:var(--ap-plum);color:#fff;padding:16px;display:grid;gap:3px;}.apartado-total span,.apartado-total small{opacity:.82;}.apartado-total strong{font-size:26px;}
.apartado-client-results{max-height:360px;overflow:auto;}.apartado-client-row{width:100%;border:1px solid var(--ap-line);background:#fff;border-radius:14px;padding:10px 12px;margin-bottom:8px;text-align:left;display:flex;justify-content:space-between;gap:8px;}.apartado-client-row:hover{border-color:var(--ap-plum);color:var(--ap-plum);}
.btn-apartados-action{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 6px 14px rgba(0,0,0,.08);}.btn-apartados-action:hover{background:var(--ap-amber);border-color:var(--ap-amber);color:#fff;}.btn-apartados-action.ok:hover{background:#17b890;border-color:#17b890;}.btn-apartados-action.danger:hover{background:#b53d4a;border-color:#b53d4a;}
.apartados-tabs{display:inline-flex;align-items:center;gap:6px;background:#fff;border:1px solid var(--ap-line);border-radius:20px;padding:5px;position:relative;}.apartados-tab{position:relative;z-index:1;background:transparent;border:0;border-radius:16px;padding:10px 22px;font-weight:850;color:#7c6d7f;display:flex;align-items:center;white-space:nowrap;cursor:pointer;transition:color .22s ease;}.apartados-tab:hover{color:var(--ap-plum);}.apartados-tab.active{color:#fff;}.apartados-tab-indicator{position:absolute;z-index:0;top:5px;left:5px;height:calc(100% - 10px);border-radius:16px;background:linear-gradient(135deg,var(--ap-plum),#8b5b85);transition:width .28s cubic-bezier(.4,0,.2,1),transform .28s cubic-bezier(.4,0,.2,1);}.apartados-tabs-mobile .apartados-tab{flex:1;justify-content:center;padding:10px 14px;}
@media (max-width:767px){.apartados-hero{border-radius:20px;padding:16px}.apartado-card img{height:130px}.apartados-ribbon{font-size:12px}.apartado-total strong{font-size:22px}.apartados-tabs{display:flex;width:100%;}.apartados-tab{flex:1;justify-content:center;padding:10px 14px;}}

/* Dashboard DressIT: tablero de corte textil */
.dash-dressit-shell{--dash-ink:#241f2f;--dash-plum:#5b3a70;--dash-clay:#8a4f2b;--dash-gold:#d79a3d;--dash-mint:#17b890;--dash-paper:#fbf6ef;--dash-line:#eadfd7;color:var(--dash-ink);}
.dash-atelier-hero{position:relative;overflow:hidden;border-radius:30px;padding:28px;background:linear-gradient(135deg,#fbf6ef 0%,#f4e7dc 46%,#ece7f3 100%);border:1px solid var(--dash-line);box-shadow:0 20px 44px rgba(36,31,47,.10);}
.dash-atelier-hero:after{content:"";position:absolute;right:-90px;top:-110px;width:280px;height:280px;border:34px solid rgba(91,58,112,.08);border-radius:50%;}
.dash-stitch{position:absolute;left:18px;right:18px;bottom:14px;border-bottom:2px dashed rgba(138,79,43,.22);}
.dash-company-lockup{position:relative;z-index:1;display:flex;align-items:center;gap:18px;}.dash-company-logo{width:86px;height:86px;flex:0 0 86px;border-radius:26px;background:#fff;padding:8px;box-shadow:0 18px 34px rgba(36,31,47,.14);border:1px solid rgba(255,255,255,.7);}.dash-company-logo img{width:100%;height:100%;object-fit:contain;border-radius:18px;background:#fffaf6;}
.dash-eyebrow{display:inline-flex;align-items:center;gap:8px;color:var(--dash-clay);font-size:12px;text-transform:uppercase;letter-spacing:.16em;font-weight:900;margin-bottom:8px;}.dash-eyebrow:before{content:"";width:32px;height:2px;background:var(--dash-clay);display:inline-block;}
.dash-atelier-hero h2{font-size:34px;font-weight:900;letter-spacing:-.04em;color:var(--dash-ink);}.dash-atelier-hero p{font-size:16px;color:#6f6175;max-width:680px;}
.dash-filter-card{position:relative;z-index:1;background:rgba(255,255,255,.82);border:1px solid rgba(234,223,215,.95);border-radius:22px;padding:16px;display:inline-flex;min-width:min(100%,330px);flex-direction:column;align-items:flex-start;box-shadow:0 14px 28px rgba(36,31,47,.08);}.dash-filter-card span{font-size:12px;text-transform:uppercase;letter-spacing:.12em;color:var(--dash-clay);font-weight:900;}.dash-filter-card strong{font-size:18px;color:var(--dash-plum);}
.btn-dashboard-filter{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(0,0,0,.12);border-radius:15px;font-weight:800;}.btn-dashboard-filter:hover{background:var(--dash-clay);border-color:var(--dash-clay);color:#fff;transform:translateY(-1px);}
.dash-metrics-carousel{display:grid;grid-template-columns:46px minmax(0,1fr) 46px;gap:10px;align-items:center;}.dash-metrics-viewport{overflow:hidden;padding:4px 2px 14px;}.dash-metrics-track{display:flex;gap:14px;width:max-content;will-change:transform;}.dash-metrics-track .dash-metric{width:285px;flex:0 0 285px;}.dash-carousel-btn{width:46px;height:46px;border-radius:16px;border:1px solid #e0d6de;background:#fff;color:#2b2f4c;box-shadow:0 10px 24px rgba(36,31,47,.10);font-weight:900;}.dash-carousel-btn:hover{background:var(--dash-plum);border-color:var(--dash-plum);color:#fff;transform:translateY(-1px);}
.dash-metric{position:relative;min-height:150px;border-radius:24px;background:#fff;border:1px solid var(--dash-line);padding:18px;box-shadow:0 14px 30px rgba(36,31,47,.08);overflow:hidden;}.dash-metric:after{content:"";position:absolute;right:-30px;bottom:-34px;width:100px;height:100px;background:rgba(91,58,112,.07);border-radius:50%;}.dash-metric-icon{width:42px;height:42px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--dash-paper);color:var(--dash-clay);margin-bottom:12px;}.dash-metric span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.1em;color:#7c6d7f;font-weight:900;}.dash-metric strong{display:block;font-size:25px;line-height:1.1;color:var(--dash-ink);font-weight:950;letter-spacing:-.04em;margin:4px 0;}.dash-metric small{color:#786f78;font-weight:700;}.dash-metric-cash .dash-metric-icon{background:#f9ebd5;color:#8a4f2b}.dash-metric-sales .dash-metric-icon{background:#ede6f5;color:#5b3a70}.dash-metric-rent .dash-metric-icon{background:#fff2c9;color:#9a6a13}.dash-metric-hold .dash-metric-icon{background:#e8f8f3;color:#0f8b6e}.dash-metric-warn .dash-metric-icon{background:#ffe8e8;color:#b53d4a}.dash-metric.skeleton{background:linear-gradient(90deg,#fff 25%,#f4eee8 50%,#fff 75%);background-size:200% 100%;animation:dashSkeleton 1.2s infinite;}@keyframes dashSkeleton{0%{background-position:200% 0}100%{background-position:-200% 0}}
.dash-panel{background:#fff;border:1px solid var(--dash-line);border-radius:26px;padding:18px;box-shadow:0 14px 32px rgba(36,31,47,.08);}.dash-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}.dash-panel-head span{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--dash-clay);font-weight:900;}.dash-panel-head h5{margin:0;color:var(--dash-ink);font-weight:900;}.dash-panel-head i{color:var(--dash-plum);font-size:22px;}.dash-chart{min-height:320px;}.dash-donut{min-height:220px;}.dash-empty,.dash-empty-small{border:1px dashed var(--dash-line);background:var(--dash-paper);border-radius:18px;padding:18px;text-align:center;color:#7c6d7f;font-weight:800;}.dash-empty-small{padding:14px;margin-top:8px;}
.dash-calendar-controls{display:flex;gap:7px;}.dash-calendar-nav{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 8px 18px rgba(36,31,47,.07);border-radius:13px;font-weight:850;}.dash-calendar-nav:hover{background:var(--dash-clay);border-color:var(--dash-clay);color:#fff;}.dash-calendar-legend{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;}.dash-calendar-legend span{border-radius:999px;padding:5px 10px;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.06em;}.dash-calendar-legend .credito{background:#e9f0ff;color:#315f9d}.dash-calendar-legend .renta-entrega{background:#e8f8f3;color:#0f8b6e}.dash-calendar-legend .renta-retorno{background:#fff2c9;color:#9a6a13}.dash-calendar-legend .apartado{background:#f3e8ff;color:#6b3fa0}.dash-calendar-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;}.dash-calendar-head{margin-bottom:8px;}.dash-calendar-head span{text-align:center;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#7c6d7f;font-weight:900;}.dash-day{min-height:112px;border:1px solid var(--dash-line);border-radius:18px;background:#fff;text-align:left;padding:9px;display:flex;flex-direction:column;gap:5px;color:var(--dash-ink);transition:.18s ease;}.dash-day:hover,.dash-day.selected{border-color:var(--dash-clay);box-shadow:0 12px 24px rgba(138,79,43,.13);transform:translateY(-1px);}.dash-day.today{background:linear-gradient(180deg,#fffaf6,#fff);}.dash-day.muted{background:transparent;border:0;box-shadow:none;}.dash-day strong{font-size:15px;font-weight:950;}.dash-day small{color:#7c6d7f;font-weight:800;}.dash-event{display:block;border-radius:8px;padding:3px 6px;font-size:11px;font-weight:850;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.dash-event.credito{background:#e9f0ff;color:#315f9d}.dash-event.renta_entrega{background:#e8f8f3;color:#0f8b6e}.dash-event.renta_retorno{background:#fff2c9;color:#9a6a13}.dash-event.apartado{background:#f3e8ff;color:#6b3fa0}.dash-day-detail{display:grid;gap:10px;max-height:590px;overflow:auto;padding-right:2px;}.dash-day-item{border:1px solid var(--dash-line);border-left-width:5px;border-radius:18px;background:#fff;padding:12px;display:grid;grid-template-columns:1fr auto;gap:8px;}.dash-day-item span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#7c6d7f;}.dash-day-item strong{display:block;color:var(--dash-ink);font-weight:950;}.dash-day-item small{display:block;color:#786f78;font-weight:800;}.dash-day-item em{font-style:normal;font-weight:950;color:var(--dash-plum);}.dash-day-item p{grid-column:1 / -1;margin:0;color:#4b4051;font-weight:800;}.dash-day-item b{grid-column:1 / -1;color:var(--dash-clay);font-size:17px;}.dash-day-item.credito{border-left-color:#4f7cac}.dash-day-item.renta_entrega{border-left-color:#17b890}.dash-day-item.renta_retorno{border-left-color:#d79a3d}.dash-day-item.apartado{border-left-color:#8d5bd1}
.dash-alert{display:flex;align-items:center;gap:12px;border:1px solid var(--dash-line);border-radius:18px;padding:13px;margin-bottom:10px;background:var(--dash-paper);}.dash-alert i{width:36px;height:36px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:#fff;color:var(--dash-clay);}.dash-alert span{display:block;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;color:#7c6d7f;}.dash-alert strong{display:block;font-size:21px;font-weight:950;color:var(--dash-ink);}.dash-alert small{color:#786f78;}.dash-alert-danger i{color:#b53d4a}.dash-alert-warn i{color:#d79a3d}.dash-alert-stock i{color:#5b3a70}.dash-alert-money i{color:#17b890}
.dash-mini-list>div{display:flex;justify-content:space-between;border-top:1px solid var(--dash-line);padding:9px 0;}.dash-mini-list span{font-weight:800;color:#716479;}.dash-mini-list strong{color:var(--dash-ink);}.dash-ranking{display:grid;gap:10px;}.dash-rank-row{display:grid;grid-template-columns:34px 1fr auto;align-items:center;gap:10px;border:1px solid var(--dash-line);border-radius:18px;padding:10px;background:#fff;}.dash-rank-row em{font-style:normal;width:34px;height:34px;border-radius:12px;background:var(--dash-paper);display:flex;align-items:center;justify-content:center;color:var(--dash-clay);font-weight:950;}.dash-rank-row strong{display:block;color:var(--dash-ink);}.dash-rank-row small{color:#7c6d7f;font-weight:800;}.dash-rank-row span{font-weight:900;color:var(--dash-plum);white-space:nowrap;}
.dash-table thead th{background:var(--dash-paper);border-bottom:1px solid var(--dash-line);color:var(--dash-clay);font-size:11px;text-transform:uppercase;letter-spacing:.1em;}.dash-chip{display:inline-flex;border-radius:999px;background:#efe6f5;color:var(--dash-plum);padding:4px 9px;font-weight:900;font-size:11px;}.dash-store-list{display:grid;gap:12px;}.dash-store-row{border:1px solid var(--dash-line);border-radius:18px;padding:12px;background:#fff;}.dash-store-row>div:first-child{display:flex;justify-content:space-between;gap:12px;margin-bottom:8px;}.dash-store-row strong{color:var(--dash-ink);}.dash-store-row span{color:var(--dash-plum);font-weight:900;}.dash-store-bar{height:9px;background:var(--dash-paper);border-radius:999px;overflow:hidden;}.dash-store-bar i{display:block;height:100%;background:linear-gradient(90deg,var(--dash-clay),var(--dash-gold));border-radius:999px;}.dash-filter-swal label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--dash-clay);font-weight:900;}
@media (prefers-reduced-motion: reduce){.dash-metric.skeleton{animation:none}}
@media (max-width:767px){.dash-atelier-hero{border-radius:22px;padding:20px}.dash-company-lockup{align-items:flex-start}.dash-company-logo{width:68px;height:68px;flex-basis:68px;border-radius:20px}.dash-atelier-hero h2{font-size:26px}.dash-filter-card{width:100%;margin-top:8px}.dash-metrics-carousel{grid-template-columns:38px minmax(0,1fr) 38px;gap:7px}.dash-carousel-btn{width:38px;height:42px}.dash-metrics-track .dash-metric{width:260px;flex-basis:260px}.dash-metric{min-height:132px}.dash-metric strong{font-size:22px}.dash-panel-head{align-items:flex-start;flex-direction:column}.dash-calendar-grid{gap:5px}.dash-day{min-height:86px;border-radius:14px;padding:7px}.dash-event{font-size:10px}.dash-rank-row{grid-template-columns:30px 1fr}.dash-rank-row span{grid-column:2}.dash-table{min-width:720px}}
.generales-shell{--gen-ink:#2b2f4c;--gen-plum:#6f4e7c;--gen-orchid:#d796c0;--gen-mint:#17b890;--gen-paper:#fffaf6;--gen-line:#e0d6de;--gen-muted:#806f84;color:var(--gen-ink);}
.generales-cover{position:relative;overflow:hidden;border-radius:32px;min-height:270px;background:linear-gradient(135deg,#252943 0%,#6f4e7c 52%,#d7967b 100%);box-shadow:0 24px 58px rgba(18,38,63,.18);}
.generales-cover:after{content:"";position:absolute;right:28px;bottom:24px;width:160px;height:160px;border:2px dashed rgba(255,255,255,.25);border-radius:42px;transform:rotate(10deg);}
.generales-cover-pattern{position:absolute;inset:0;background:radial-gradient(circle at 18% 25%,rgba(255,255,255,.25),transparent 23%),radial-gradient(circle at 82% 18%,rgba(255,255,255,.16),transparent 20%),linear-gradient(90deg,rgba(255,255,255,.08) 1px,transparent 1px);background-size:auto,auto,42px 42px;opacity:.95;}
.generales-profile{position:absolute;left:26px;right:26px;bottom:24px;display:flex;align-items:flex-end;gap:18px;z-index:1;}
.generales-logo-wrap{position:relative;width:138px;height:138px;flex:0 0 138px;border-radius:38px;background:#fff;padding:8px;box-shadow:0 20px 42px rgba(0,0,0,.24);}
.generales-logo-wrap img{width:100%;height:100%;object-fit:contain;border-radius:30px;background:#fffaf6;}
.generales-logo-action{position:absolute;right:5px;bottom:5px;width:42px;height:42px;border-radius:16px;border:3px solid #fff;background:var(--gen-ink);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 10px 22px rgba(43,47,76,.26);transition:.18s ease;}
.generales-logo-action:hover{background:var(--gen-mint);transform:translateY(-1px);}
.generales-profile-copy{min-width:0;flex:1;color:#fff;padding-bottom:8px;}
.generales-profile-copy span{display:inline-flex;padding:6px 11px;border-radius:999px;background:rgba(255,255,255,.17);font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:850;color:rgba(255,255,255,.84);}
.generales-profile-copy h4{margin:10px 0 4px;color:#fff;font-size:34px;font-weight:950;line-height:1.05;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.generales-profile-copy p{margin:0;color:rgba(255,255,255,.80);font-weight:700;}
.generales-actions{padding-bottom:10px;}
.btn-generales-save{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(0,0,0,.14);min-height:46px;border-radius:15px;font-weight:850;}
.btn-generales-save:hover{background:#17b890;border-color:#17b890;color:#fff;transform:translateY(-1px);}
.generales-feed{display:grid;gap:18px;}
.generales-section-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start;}
.generales-grid-full{grid-column:1 / -1;}
.generales-card{height:100%;background:#fff;border:1px solid #f0e8ef;border-radius:28px;padding:22px;box-shadow:0 15px 38px rgba(18,38,63,.08);}
.generales-section-card{position:relative;overflow:hidden;}
.generales-section-card:before{content:"";position:absolute;left:22px;right:22px;top:0;height:4px;background:linear-gradient(90deg,var(--gen-plum),var(--gen-orchid),var(--gen-mint));border-radius:0 0 999px 999px;}
.generales-identity-card{background:linear-gradient(180deg,#fff,#fffaf6);}
.generales-card-head{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:20px;gap:12px;}
.generales-card-head span{display:block;color:#8a758e;font-size:12px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;margin-bottom:4px;}
.generales-card-head h5{margin:0;color:var(--gen-ink);font-weight:950;}
.generales-card-head p{margin:6px 0 0;color:var(--gen-muted);font-weight:700;max-width:520px;}
.generales-card-head>i{width:52px;height:52px;flex:0 0 52px;border-radius:18px;background:#fffaf6;color:var(--gen-plum);display:flex;align-items:center;justify-content:center;font-size:26px;border:1px solid #eee3ea;}
.generales-card label{font-weight:850;color:#4b4051;margin-bottom:7px;}
.generales-card .form-control{border:1px solid var(--gen-line);border-radius:16px;min-height:48px;color:var(--gen-ink);font-weight:700;background:#fff;}
.generales-card textarea.form-control{min-height:98px;}
.generales-card .form-control:focus{border-color:var(--gen-plum);box-shadow:0 0 0 .18rem rgba(111,78,124,.12);}
.generales-ticket-card{background:linear-gradient(180deg,#fffaf6,#fff);}
.generales-credit-card{background:linear-gradient(180deg,#fff,#f8fbff);}
.generales-apartados-card{background:linear-gradient(180deg,#fff,#fffaf6);}
.generales-whatsapp-card{background:linear-gradient(180deg,#f7fffc,#fff);}
.generales-highlight-field{border:1px solid var(--gen-line);border-radius:22px;background:#fff;padding:16px;box-shadow:0 12px 26px rgba(43,47,76,.06);}
.generales-percent-control{display:grid;grid-template-columns:minmax(0,1fr) 54px;gap:10px;align-items:center;}
.generales-percent-control span{height:48px;border-radius:16px;background:var(--gen-ink);color:#fff;display:flex;align-items:center;justify-content:center;font-weight:950;}
.generales-apartados-config{border:1px solid var(--gen-line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 22px rgba(43,47,76,.05);}
.generales-apartados-config table{margin:0;}
.generales-apartados-config thead th{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:#7c6d7f;font-weight:950;border-bottom:1px solid var(--gen-line);}
.generales-wa-row{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid var(--gen-line);background:#fff;border-radius:18px;padding:12px 14px;box-shadow:0 10px 22px rgba(43,47,76,.06);}
.generales-wa-row strong{color:var(--gen-ink);font-weight:900;}
.generales-wa-row .btn{min-height:38px;border-radius:13px;box-shadow:0 8px 18px rgba(43,47,76,.08);}
.generales-wa-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;}
.generales-wa-actions-table{min-width:210px;}
@media (max-width: 1199px){.generales-section-grid{grid-template-columns:1fr;}}
@media (max-width: 767px){.generales-cover{min-height:390px;border-radius:24px}.generales-profile{align-items:center;flex-direction:column;text-align:center;top:28px;bottom:auto}.generales-profile-copy h4{white-space:normal;font-size:27px}.generales-actions{padding-bottom:0}.generales-logo-wrap{width:118px;height:118px;flex-basis:118px}.generales-card{border-radius:22px;padding:18px}.generales-card-head{align-items:flex-start}.generales-card-head>i{width:44px;height:44px;flex-basis:44px;font-size:22px}.generales-wa-row{align-items:flex-start;flex-direction:column}.generales-wa-row .btn,.generales-wa-actions{width:100%;}.generales-wa-actions-table{min-width:0;justify-content:flex-start;}.generales-wa-actions .btn{flex:1 1 100%;}}
.btn-sale-type,
.btn-pagos-action,
.btn-pagos-save {
    width: 100%;
    background: #fff;
    border: 1px solid #e0d6de;
    color: #2b2f4c;
    box-shadow: 0 10px 24px rgba(43, 47, 76, 0.08);
    border-radius: 14px;
    font-weight: 700;
}

.btn-sale-type {
    min-height: 48px;
}

.btn-sale-type.active,
.btn-sale-type:hover,
.btn-pagos-save:hover,
.btn-pagos-action:hover {
    background: #17b890;
    border-color: #17b890;
    color: #fff;
}

.btn-sale-type.sin-permiso {
    opacity: .72;
    border-style: dashed;
}

.btn-sale-type.sin-permiso:hover {
    background: #fff3cd;
    border-color: #f2c94c;
    color: #7a4f00;
}

.pos-credit-box {
    border: 1px solid #e0d6de;
    background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
    border-radius: 18px;
    padding: 14px;
}

.reportes-shell{--rep-ink:#241f2f;--rep-plum:#5b3a70;--rep-mint:#17b890;--rep-gold:#d79a3d;--rep-blue:#4f7cac;--rep-paper:#fbf6ef;--rep-line:#eadfd7;color:var(--rep-ink);}.reportes-hero{position:relative;overflow:hidden;border-radius:30px;padding:24px;background:radial-gradient(circle at 14% 18%,rgba(255,255,255,.34),transparent 26%),linear-gradient(135deg,#241f2f 0%,#5b3a70 55%,#8a4f2b 100%);color:#fff;box-shadow:0 20px 44px rgba(36,31,47,.14);}.reportes-hero:after{content:"";position:absolute;right:28px;bottom:-35px;width:180px;height:90px;border-top:2px dashed rgba(255,255,255,.28);transform:rotate(-8deg);}.reportes-hero span{font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;color:rgba(255,255,255,.75);}.reportes-hero h4{color:#fff;font-weight:950;}.reportes-hero p{color:rgba(255,255,255,.78);}.reportes-hero-icon{width:62px;height:62px;border-radius:22px;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:26px;border:1px solid rgba(255,255,255,.22);}.btn-reportes-head,.btn-reportes-search{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(0,0,0,.14);border-radius:15px;font-weight:850;min-height:44px;}.btn-reportes-head:hover,.btn-reportes-search:hover{background:var(--rep-mint);border-color:var(--rep-mint);color:#fff;transform:translateY(-1px);}.reportes-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;}.reportes-tabs button{border:1px solid var(--rep-line);background:#fff;border-radius:20px;padding:13px 14px;display:flex;align-items:center;justify-content:center;gap:9px;color:var(--rep-ink);font-weight:900;box-shadow:0 10px 24px rgba(36,31,47,.07);}.reportes-tabs button i{width:34px;height:34px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:var(--rep-paper);}.reportes-tabs button.active{color:#fff;transform:translateY(-1px);}.reportes-tabs button.ventas.active{background:#167d67;border-color:#167d67}.reportes-tabs button.rentas.active{background:#9a6a13;border-color:#9a6a13}.reportes-tabs button.apartados.active{background:#5b3a70;border-color:#5b3a70}.reportes-tabs button.pagos.active{background:#315f9d;border-color:#315f9d}.reportes-tabs button.active i{background:rgba(255,255,255,.18);}.reportes-panel{background:#fff;border:1px solid var(--rep-line);border-radius:26px;padding:18px;box-shadow:0 14px 32px rgba(36,31,47,.08);}.reportes-panel label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#7c6d7f;font-weight:900;}.reportes-panel .form-control{border:1px solid #e0d6de;border-radius:15px;min-height:44px;font-weight:750;color:#2b2f4c;}.reportes-total-card{height:100%;min-height:104px;background:#fff;border:1px solid var(--rep-line);border-radius:22px;padding:16px;box-shadow:0 12px 28px rgba(36,31,47,.07);position:relative;overflow:hidden;}.reportes-total-card:after{content:"";position:absolute;right:-24px;bottom:-28px;width:80px;height:80px;border-radius:50%;background:rgba(91,58,112,.08);}.reportes-total-card i{width:38px;height:38px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:var(--rep-paper);color:var(--rep-plum);margin-bottom:10px;}.reportes-total-card span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.1em;color:#7c6d7f;font-weight:900;}.reportes-total-card strong{display:block;font-size:24px;font-weight:950;color:var(--rep-ink);}.reportes-total-card.grand i,.reportes-shell.ventas .reportes-total-card.grand i{background:#e8f8f3;color:#0f8b6e}.reportes-shell.rentas .reportes-total-card.grand i{background:#fff2c9;color:#9a6a13}.reportes-shell.apartados .reportes-total-card.grand i{background:#f3e8ff;color:#6b3fa0}.reportes-shell.pagos .reportes-total-card.grand i{background:#e9f0ff;color:#315f9d}.reportes-table-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:12px;}.reportes-table-head span{display:block;font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;color:#8a4f2b;}.reportes-table-head h5{margin:0;font-weight:950;color:var(--rep-ink);}.reportes-table-head small{border-radius:999px;background:var(--rep-paper);padding:6px 10px;color:#7c6d7f;font-weight:900;}.reportes-table-panel table{min-width:1080px;}.reportes-table-panel thead th{background:var(--rep-paper);border-bottom:1px solid var(--rep-line);color:#8a4f2b;font-size:11px;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap;}.reportes-table-panel tbody td{border-color:#f1e8e1;vertical-align:middle;}.reportes-shell.ventas .reportes-table-head span{color:#167d67}.reportes-shell.rentas .reportes-table-head span{color:#9a6a13}.reportes-shell.apartados .reportes-table-head span{color:#5b3a70}.reportes-shell.pagos .reportes-table-head span{color:#315f9d}@media (max-width:767px){.reportes-hero{border-radius:22px;padding:18px}.reportes-tabs{grid-template-columns:1fr 1fr}.reportes-tabs button{justify-content:flex-start}.reportes-table-head{align-items:flex-start;flex-direction:column}.reportes-total-card strong{font-size:21px}}

.credit-ledger-head,
.credit-calendar-mini div,
.ticket-total {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.credit-ledger-head {
    border-bottom: 1px dashed #d8dce8;
    padding-bottom: 8px;
    margin-bottom: 8px;
}

.credit-ledger-head span,
.credit-calendar-mini span,
.pagos-selected span {
    color: #6b7280;
    font-size: 12px;
}

.credit-ledger-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 8px;
}

.credit-ledger-grid div {
    background: #fff;
    border: 1px solid #edf0f7;
    border-radius: 12px;
    padding: 8px;
    font-size: 12px;
}

.credit-calendar-mini {
    display: grid;
    gap: 6px;
}

.pagos-captura-hero {
    background: radial-gradient(circle at 20% 20%, rgba(23,184,144,.18), transparent 34%), linear-gradient(135deg, #111827, #2b2f4c);
}

.pagos-form-panel,
.pagos-captura-shell .pagos-panel {
    border-radius: 22px;
}

.pagos-selected {
    background: #f8fafc;
    border: 1px solid #e0d6de;
    border-radius: 18px;
    padding: 14px;
}

.pagos-selected strong,
.pagos-selected small {
    display: block;
}

.pagos-selected strong {
    color: #2b2f4c;
    font-size: 20px;
}

.reportes-hero:after{
    pointer-events:none;
    z-index:0;
}

.reportes-hero>.row{
    position:relative;
    z-index:1;
}

.btn-reportes-head{
    position:relative;
    z-index:2;
}

@media (min-width: 992px){
    #reportesTotales .reportes-ingreso-col{
        flex:0 0 20%;
        max-width:20%;
    }

    #reportesTotales .reportes-ingreso-col .reportes-total-card{
        min-height:104px;
        padding:14px;
    }

    #reportesTotales .reportes-ingreso-col .reportes-total-card i{
        width:32px;
        height:32px;
        border-radius:12px;
        margin-bottom:8px;
    }

    #reportesTotales .reportes-ingreso-col .reportes-total-card strong{
        font-size:18px;
        line-height:1.15;
    }
}

.cancel-shell{--cancel-ink:#241f2f;--cancel-rust:#a54236;--cancel-plum:#5b3a70;--cancel-green:#167d67;--cancel-paper:#fbf6ef;--cancel-line:#eadfd7;color:var(--cancel-ink);}.cancel-hero{position:relative;overflow:hidden;border-radius:30px;padding:24px;background:radial-gradient(circle at 14% 18%,rgba(255,255,255,.3),transparent 28%),linear-gradient(135deg,#241f2f 0%,#5b3a70 54%,#a54236 100%);color:#fff;box-shadow:0 20px 44px rgba(36,31,47,.14);}.cancel-hero:after{content:"";position:absolute;right:26px;bottom:-32px;width:190px;height:86px;border-top:2px dashed rgba(255,255,255,.28);transform:rotate(-8deg);pointer-events:none;}.cancel-hero>.row{position:relative;z-index:1}.cancel-hero span,.cancel-panel-head span{font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;color:rgba(255,255,255,.75);}.cancel-hero h4{color:#fff;font-weight:950}.cancel-hero p{color:rgba(255,255,255,.78)}.cancel-hero-icon{width:62px;height:62px;border-radius:22px;background:rgba(255,255,255,.15);display:flex;align-items:center;justify-content:center;font-size:25px;border:1px solid rgba(255,255,255,.22)}.cancel-corte-card{display:inline-flex;min-width:260px;flex-direction:column;gap:4px;border:1px solid rgba(255,255,255,.22);border-radius:20px;background:rgba(255,255,255,.13);padding:13px 16px}.cancel-corte-card small{text-transform:uppercase;letter-spacing:.12em;font-weight:900;color:rgba(255,255,255,.72)}.cancel-corte-card strong{color:#fff}.cancel-panel{background:#fff;border:1px solid var(--cancel-line);border-radius:24px;padding:18px;box-shadow:0 14px 34px rgba(36,31,47,.06)}.cancel-panel label{font-size:11px;text-transform:uppercase;letter-spacing:.1em;font-weight:900;color:#7b6d7a}.cancel-panel .form-control{border-radius:14px;border:1px solid #e0d6de;min-height:42px}.btn-cancel-search,.btn-cancel-process,.btn-cancel-pick{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(0,0,0,.12);border-radius:15px;font-weight:850;min-height:42px}.btn-cancel-search:hover,.btn-cancel-process:hover,.btn-cancel-pick:hover{background:var(--cancel-rust);border-color:var(--cancel-rust);color:#fff;transform:translateY(-1px)}.btn-cancel-process{background:#241f2f;color:#fff}.btn-cancel-process:hover{background:#167d67;border-color:#167d67}.cancel-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-bottom:14px;border-bottom:1px dashed var(--cancel-line);margin-bottom:12px}.cancel-panel-head span{color:#a54236}.cancel-panel-head h5{margin:0;font-weight:950;color:#241f2f}.cancel-table thead th{background:#241f2f;color:#fff;border:0;font-size:11px;text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}.cancel-table tbody td{border-color:#f0e7ef;font-size:12px}.cancel-table tbody tr:hover{background:#fbf6ef}.cancel-origin{display:inline-flex;align-items:center;border-radius:999px;padding:5px 9px;font-size:11px;font-weight:900;background:#fbf6ef;color:#241f2f}.cancel-origin.venta{background:#eaf7f3;color:#167d67}.cancel-origin.apartado{background:#eef4ff;color:#4f7cac}.cancel-origin.renta{background:#f3edf7;color:#5b3a70}.cancel-empty{min-height:250px;border:1px dashed var(--cancel-line);border-radius:22px;background:#fbf6ef;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;color:#7b6d7a}.cancel-empty i{font-size:34px;color:#a54236}.cancel-empty strong{font-size:18px;color:#241f2f}.cancel-selected{border-radius:18px;background:linear-gradient(145deg,#fbf6ef,#fff);border:1px solid var(--cancel-line);padding:14px}.cancel-selected strong,.cancel-selected span,.cancel-selected small{display:block}.cancel-selected strong{font-size:18px;color:#241f2f}.cancel-choice{display:grid;grid-template-columns:1fr 1fr;gap:10px}.cancel-choice button{border:1px solid #e0d6de;background:#fff;border-radius:16px;padding:12px 10px;color:#241f2f;font-weight:900;display:flex;gap:8px;align-items:center;justify-content:center}.cancel-choice button.active{background:#241f2f;color:#fff;border-color:#241f2f}.cancel-choice button:disabled{opacity:.45;cursor:not-allowed}@media(max-width:767px){.cancel-hero{border-radius:22px;padding:18px}.cancel-corte-card{width:100%;min-width:0}.cancel-choice{grid-template-columns:1fr}}

.reportes-tabs{grid-template-columns:repeat(2,minmax(0,1fr));}.reportes-tabs button{min-width:0;padding-left:10px;padding-right:10px;}.reportes-tabs button span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.reportes-tabs button.cancelaciones.active{background:#a54236;border-color:#a54236;}@media(min-width:992px){.reportes-tabs{grid-template-columns:repeat(5,minmax(0,1fr));}.reportes-tabs button{padding:11px 9px;gap:7px;font-size:13px;}.reportes-tabs button i{width:30px;height:30px;border-radius:11px;font-size:13px;}}@media(min-width:1200px){.reportes-tabs button{padding:13px 14px;gap:9px;font-size:14px;}.reportes-tabs button i{width:34px;height:34px;border-radius:13px;font-size:14px;}}

/* Notificaciones automaticas: boton Dashboard, variables en Generales y pantalla Notificaciones enviadas */
.dash-day-actions{display:flex;align-items:center;gap:10px;}
.dash-btn-notificar{font-size:12px;padding:8px 12px;}.dash-btn-notificar:hover{background:#17b890;border-color:#17b890;color:#fff;}
.dash-panel-head .dash-btn-notificar i{font-size:14px;color:inherit;}
.generales-variables-box{border:1px dashed var(--gen-line);border-radius:18px;background:var(--gen-paper);padding:14px 16px;}
.generales-variables-box strong{display:block;color:var(--gen-ink);font-weight:900;margin-bottom:8px;}
.generales-variables-chips{display:flex;flex-wrap:wrap;gap:7px;margin-bottom:8px;}
.generales-variables-chips span{border-radius:999px;background:#fff;border:1px solid var(--gen-line);color:var(--gen-plum);padding:4px 11px;font-size:12px;font-weight:900;font-family:Consolas,Menlo,monospace;}
.wa-editor{border:1px solid var(--gen-line);border-radius:18px;background:#fff;overflow:hidden;box-shadow:0 10px 24px rgba(18,38,63,.05);}
.wa-editor-toolbar{display:grid;grid-template-columns:auto minmax(0,1fr);gap:9px;align-items:center;padding:9px 10px;background:linear-gradient(135deg,#fffaf6,#f7fbf9);border-bottom:1px solid var(--gen-line);}
.wa-format-group{display:flex;gap:7px;align-items:center;}
.wa-emoji-picker{display:grid;grid-template-columns:32px minmax(0,1fr) 32px;align-items:center;gap:6px;min-width:0;}
.wa-emoji-rail{display:flex;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scroll-snap-type:x proximity;padding:2px;min-width:0;}
.wa-emoji-rail::-webkit-scrollbar{height:6px;}.wa-emoji-rail::-webkit-scrollbar-thumb{background:#d9cbd6;border-radius:999px;}
.wa-editor-toolbar button{width:34px;height:32px;border-radius:11px;border:1px solid #e0d6de;background:#fff;color:#2b2f4c;font-weight:900;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 6px 14px rgba(18,38,63,.07);flex:0 0 auto;scroll-snap-align:start;}
.wa-editor-toolbar button:hover,.wa-editor-toolbar button:focus{background:#17b890;border-color:#17b890;color:#fff;outline:none;transform:translateY(-1px);}
.wa-emoji-scroll{color:#6f4e7c!important;background:#fff!important;}.wa-emoji-scroll:hover,.wa-emoji-scroll:focus{background:#6f4e7c!important;border-color:#6f4e7c!important;color:#fff!important;}
.wa-emoji-rail:focus{outline:2px solid rgba(23,184,144,.35);outline-offset:2px;border-radius:13px;}
.generales-card .wa-editor textarea.form-control,.generales-card .wa-editor textarea.form-control:focus{border:0;border-radius:0;box-shadow:none;min-height:170px;font-family:Consolas,Menlo,monospace;font-size:13px;font-weight:700;line-height:1.5;white-space:pre-wrap;}
@media (max-width:767px){.wa-editor-toolbar{grid-template-columns:1fr;}.wa-format-group{overflow-x:auto;padding-bottom:2px;}.wa-emoji-picker{grid-template-columns:30px minmax(0,1fr) 30px;}.wa-editor-toolbar button{width:32px;height:31px;}}
.notif-shell{--notif-ink:#2b2f4c;--notif-plum:#6f4e7c;--notif-mint:#17b890;--notif-gold:#d79a3d;--notif-line:#e0d6de;color:var(--notif-ink);}
.notif-hero{background:linear-gradient(135deg,#2b2f4c,#6f4e7c 55%,#17b890);border-radius:28px;padding:22px;color:#fff;box-shadow:0 18px 44px rgba(18,38,63,.14);}
.notif-hero h4{color:#fff;font-weight:900;}.notif-hero p{color:rgba(255,255,255,.82);}
.notif-eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;color:rgba(255,255,255,.75);}
.notif-hero-icon{width:62px;height:62px;border-radius:22px;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.16);font-size:28px;}
.btn-notif-send{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(0,0,0,.14);min-height:46px;border-radius:15px;font-weight:850;}
.btn-notif-send:hover{background:#17b890;border-color:#17b890;color:#fff;transform:translateY(-1px);}
.notif-panel{background:#fff;border:1px solid #f0e8ef;border-radius:26px;padding:18px;box-shadow:0 14px 36px rgba(18,38,63,.08);}
.notif-panel-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;}.notif-panel-head span{font-size:11px;text-transform:uppercase;letter-spacing:.14em;color:var(--notif-plum);font-weight:900;}.notif-panel-head h5{margin:0;color:var(--notif-ink);font-weight:900;}.notif-panel-head>i{color:var(--notif-plum);font-size:22px;}
.notif-table thead th{background:#fbf6ef;border-bottom:1px solid var(--notif-line);color:var(--notif-plum);font-size:11px;text-transform:uppercase;letter-spacing:.08em;font-weight:900;}
.notif-chip{display:inline-flex;border-radius:999px;padding:4px 11px;font-size:11px;font-weight:900;white-space:nowrap;}
.notif-chip-enviado{background:#e8f8f3;color:#0f8b6e;}.notif-chip-error{background:#ffe8e8;color:#b53d4a;}.notif-chip-sintelefono{background:#fff2c9;color:#9a6a13;}.notif-chip-hoy{background:#e9f0ff;color:#315f9d;}.notif-chip-vencido{background:#f3e8ff;color:#6b3fa0;}.notif-chip-apartado-hoy{background:#e9fbf5;color:#0f8b6e;}.notif-chip-apartado-vencido{background:#fff0dd;color:#a45d13;}
.btn-notif-detail{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 8px 18px rgba(0,0,0,.08);border-radius:12px;font-weight:850;}
.btn-notif-detail:hover{background:var(--notif-plum);border-color:var(--notif-plum);color:#fff;}
.notif-detalle-wrap{max-height:420px;overflow:auto;border:1px solid var(--notif-line);border-radius:16px;}
.notif-msg-cell{max-width:260px;font-size:12px;color:#6f6175;}
@media (max-width:767px){.notif-hero .btn{width:100%;}}
.dash-day-item.credito_vencido{border-left-color:#b53d4a;background:#fffafa;}.dash-overdue-days{grid-column:1 / -1;color:#b53d4a!important;font-size:12px!important;font-weight:900!important;}
.notif-confirmation-content{max-height:68vh;overflow:hidden;}.notif-preview-summary{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 12px;}.notif-preview-summary span{border:1px solid #e0d6de;border-radius:999px;background:#fbf6ef;color:#6f4e7c;padding:5px 10px;font-size:12px;font-weight:800;}.notif-preview-link{color:#6f4e7c;font-weight:900;text-decoration:underline;}.notif-preview-link:hover{color:#17b890;}.notif-resend-warning{display:flex;align-items:flex-start;gap:9px;border:1px solid #f1d48b;border-radius:14px;background:#fff8df;color:#8a6414;padding:10px 12px;margin-bottom:12px;text-align:left;font-size:13px;font-weight:750;}.notif-resend-warning i{margin-top:2px;}.notif-preview-details{border:1px solid #e0d6de;border-radius:16px;background:#fff;padding:8px;margin-bottom:12px;text-align:left;}.notif-preview-scroll{max-height:310px;overflow:auto;}.notif-preview-table{font-size:12px;min-width:760px;}.notif-preview-table thead th{position:sticky;top:0;z-index:1;background:#fbf6ef;color:#6f4e7c;border-bottom:1px solid #e0d6de;font-size:10px;text-transform:uppercase;letter-spacing:.06em;}.notif-preview-table td{vertical-align:top;}.notif-preview-message{min-width:280px;max-width:390px;white-space:pre-wrap;color:#5e5363;line-height:1.45;}.notif-preview-hoy{background:#e9f0ff;color:#315f9d;}.notif-preview-vencido{background:#ffe8e8;color:#b53d4a;}.notif-preview-apartado-hoy{background:#e9fbf5;color:#0f8b6e;}.notif-preview-apartado-vencido{background:#fff0dd;color:#a45d13;}.notif-preview-empty{padding:16px;color:#7c6d7f;text-align:center;font-weight:700;}
@media (max-width:767px){.notif-confirmation-content{max-height:66vh;}.notif-preview-summary{display:grid;grid-template-columns:1fr;}.notif-preview-table{font-size:11px;}}
.dash-alert-clickable{cursor:pointer;transition:transform .18s ease,box-shadow .18s ease;}.dash-alert-clickable:hover,.dash-alert-clickable:focus{transform:translateY(-2px);box-shadow:0 12px 24px rgba(36,31,47,.12);outline:none;}.navbar-alertas-badge{position:absolute;top:8px;right:7px;min-width:16px;height:16px;padding:0 4px;border-radius:999px;background:#b53d4a;color:#fff;font-size:9px;line-height:16px;font-weight:900;text-align:center;border:2px solid #2b2f4c;}.navbar-alertas-menu{width:390px;max-width:calc(100vw - 24px);padding:0;overflow:hidden;border:1px solid #e0d6de;border-radius:18px;box-shadow:0 18px 36px rgba(36,31,47,.18);}.navbar-alertas-head{padding:14px 16px;background:linear-gradient(135deg,#2b2f4c,#6f4e7c);color:#fff;}.navbar-alertas-head span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.14em;color:rgba(255,255,255,.7);font-weight:900;}.navbar-alertas-head strong{display:block;font-size:16px;font-weight:900;}.navbar-alertas-menu #alertasOperativasNavbar{padding:10px;max-height:calc(100vh - 180px);overflow:auto;background:#fff;}.navbar-alertas-loading,.navbar-alertas-empty{padding:18px 10px;text-align:center;color:#7c6d7f;font-weight:700;}.navbar-alerta-item{display:flex;align-items:center;gap:10px;border:1px solid #eadfd7;border-radius:14px;padding:10px;margin-bottom:8px;background:#fbf6ef;color:#2b2f4c;cursor:pointer;}.navbar-alerta-item:last-child{margin-bottom:0;}.navbar-alerta-item:hover,.navbar-alerta-item:focus{border-color:#17b890;box-shadow:0 8px 16px rgba(23,184,144,.13);outline:none;}.navbar-alerta-item>i{width:32px;height:32px;border-radius:11px;display:flex;align-items:center;justify-content:center;background:#fff;color:#6f4e7c;}.navbar-alerta-item span,.navbar-alerta-item strong,.navbar-alerta-item small{display:block;}.navbar-alerta-item span{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:#7c6d7f;font-weight:900;}.navbar-alerta-item strong{font-size:17px;line-height:1.1;}.navbar-alerta-item small{color:#786f78;font-size:11px;}.navbar-alerta-danger>i{color:#b53d4a;}.navbar-alerta-warn>i{color:#d79a3d;}.navbar-alerta-stock>i{color:#5b3a70;}.navbar-alerta-money>i{color:#17b890;}.alerta-detalle-wrap{max-height:520px;overflow:auto;border:1px solid #e0d6de;border-radius:16px;}.alerta-detalle-table{min-width:700px;font-size:12px;}.alerta-detalle-table thead th{position:sticky;top:0;z-index:1;background:#fbf6ef;color:#6f4e7c;border-bottom:1px solid #e0d6de;font-size:10px;text-transform:uppercase;letter-spacing:.06em;white-space:nowrap;}.alerta-detalle-table td{vertical-align:top;}.alerta-apartados .swal2-html-container,.alerta-creditos .swal2-html-container,.alerta-cortes .swal2-html-container,.alerta-stock .swal2-html-container,.alerta-saldo .swal2-html-container{overflow:hidden;}
@media (max-width:767px){.navbar-alertas-menu{position:fixed!important;top:58px!important;right:8px!important;left:8px!important;width:auto;}.alerta-detalle-wrap{max-height:56vh;}.alerta-detalle-table{font-size:11px;}}
.apartado-catalogo-pagination{display:flex;align-items:center;justify-content:center;gap:12px;margin-top:18px;padding-top:14px;border-top:1px dashed var(--apartados-line,#e0d6de);}.apartado-catalogo-pagination span{font-size:12px;color:#6f6175;font-weight:850;}.btn-apartado-pagina{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;border-radius:12px;box-shadow:0 7px 15px rgba(36,31,47,.07);font-weight:850;}.btn-apartado-pagina:hover:not(:disabled){background:#17b890;border-color:#17b890;color:#fff;transform:translateY(-1px);}.btn-apartado-pagina:disabled{opacity:.45;cursor:not-allowed;}
.alerta-detalle-toolbar{min-height:32px;}.alerta-exportar-excel{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 7px 15px rgba(36,31,47,.08);border-radius:11px;font-weight:850;}.alerta-exportar-excel:hover{background:#17b890;border-color:#17b890;color:#fff;}.alerta-detalle-table th{white-space:nowrap;}.notif-error-detail{border:0;background:#ffe8e8;color:#b53d4a;border-radius:999px;padding:4px 9px;font-size:11px;font-weight:900;cursor:pointer;}.notif-error-detail:hover{background:#b53d4a;color:#fff;}.reportes-tabs button.vencimientos.active{background:#b53d4a;border-color:#b53d4a;}.reportes-shell.vencimientos .reportes-total-card.grand{background:#b53d4a;}.reportes-shell.vencimientos #tblReportes thead th{background:#fff0f0;color:#8d3440;}
.reportes-tabs button.vencimientos.active{background:#fff;border-color:#e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(36,31,47,.07);}.reportes-tabs button.vencimientos.active i{background:#fbf6ef;color:#5b3a70;}.reportes-shell.vencimientos .reportes-total-card.grand{background:#fff;border:1px solid #e0d6de;color:#2b2f4c;box-shadow:0 10px 24px rgba(36,31,47,.07);}.reportes-shell.vencimientos .reportes-total-card.grand i{color:#b53d4a;}
@media (min-width:992px){.reportes-tabs{grid-template-columns:repeat(6,minmax(0,1fr));}}

.generales-status-tag{margin-top:6px;}.generales-status-tag .badge{padding:6px 14px;border-radius:999px;font-size:12px;font-weight:800;}
.generales-google-card .generales-card-head i,.generales-prontipagos-card .generales-card-head i{color:#4285f4;}
.generales-prontipagos-card .generales-card-head i,.generales-google-card i{opacity:.85;}
#boxGcalConfig,#boxProntipagosConfig{border-top:1px solid var(--gen-line,#e0d6de);padding-top:10px;}
.generales-google-card .btn-generales-save,.generales-prontipagos-card .btn-generales-save{min-width:auto;font-size:13px;}
.pos-servicio-btn .pos-product-img{background:linear-gradient(135deg,#f8fafc,#fbf6ef);}
.pos-servicio-btn .pos-product-img i{font-size:32px!important;}
.pos-servicio-btn:hover .pos-product-img{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);}
.btnServicioMonto{margin:2px;padding:6px 14px;border-radius:12px;min-width:54px;text-align:center;font-weight:800;}
.btnServicioMonto:hover{background:#17b890;border-color:#17b890;color:#fff;}
