:root{--navy:#07172f;--blue:#176fe7;--orange:#ff6b24;--soft:#f4f7fb}body{background:var(--soft);color:#152033}.topbar{background:var(--navy)}.topbar .navbar-brand{font-weight:800}.logo{width:58px;height:58px;border-radius:50%;object-fit:contain}.card{border:0;border-radius:16px;box-shadow:0 8px 28px #07172f0d}.metric strong{font-size:1.7rem}.metric small{color:#728097}.btn-primary{background:var(--blue);border-color:var(--blue)}.badge-status{background:#eaf2ff;color:#145dbf}.table>:not(caption)>*>*{padding:.9rem}.team-list{max-height:260px;overflow:auto;border:1px solid #dee2e6;border-radius:10px}.team-option{display:block;padding:10px 12px;border-bottom:1px solid #edf0f3}.team-option:hover{background:#f1f6ff}.sidebar a{display:block;padding:10px 12px;border-radius:9px;color:#526078;text-decoration:none}.sidebar a:hover,.sidebar a.active{background:#e9f2ff;color:#176fe7}.product-thumb{width:58px;height:58px;object-fit:cover;border-radius:9px}@media(max-width:767px){.logo{width:68px;height:68px}.page-title{font-size:1.5rem}.table-responsive{font-size:.86rem}.metric strong{font-size:1.4rem}}
.cancel-modal{position:fixed;inset:0;z-index:300;background:#180808c9;backdrop-filter:blur(5px);display:grid;place-items:center;padding:20px}.cancel-card{width:min(430px,100%);background:#fff;border-radius:18px;padding:32px;text-align:center;box-shadow:0 24px 70px #0008}.cancel-icon{width:62px;height:62px;margin:0 auto 14px;border-radius:50%;background:#fee2e2;color:#dc2626;border:2px solid #fecaca;display:grid;place-items:center;font-size:38px;font-weight:900}.cancel-card>span{color:#dc2626;font-size:10px;font-weight:800;letter-spacing:.14em}.cancel-card h2{font-size:27px;margin:10px 0}.cancel-card p{color:#657188;font-size:13px;line-height:1.65}.cancel-card>div:last-child{display:flex;gap:10px;margin-top:24px}.cancel-card button{flex:1;border-radius:9px;padding:12px;font-weight:800;border:1px solid #d8dee7;background:#fff}.cancel-card .cancel-confirm{background:#dc2626;border-color:#dc2626;color:#fff}
.order-search{border:1px solid #d7e0ec;border-radius:9px;padding:9px 12px;min-width:230px;font-size:.9rem;outline:none}.order-search:focus{border-color:var(--blue);box-shadow:0 0 0 3px #176fe71a}
.payment-confirmed{background:#dcfce7!important;color:#15803d!important;border:1px solid #bbf7d0}.order-search{background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%23176fe7' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.398 1.398h-.001l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E") no-repeat 11px center;padding-left:35px}
.btn-back{border-radius:9px;font-weight:700;padding:.5rem 1rem}.btn-back:hover{transform:translateX(-2px)}
.admin-header{background:#fff;border-bottom:1px solid #e4eaf2;padding:10px 0;position:sticky;top:0;z-index:50;box-shadow:0 5px 16px #07172f0a}.admin-header .btn{border-radius:8px;font-size:.88rem}
.btn-catalog{width:auto!important;height:auto!important;min-height:40px!important;padding:.55rem 1rem!important;align-self:flex-start}
.buyer-data{display:grid;gap:5px;padding:14px;background:#f4f8ff;border:1px solid #dce9fb;border-radius:10px;font-size:.9rem}.buyer-data span{color:#60708a}.saved-modal{position:fixed;inset:0;z-index:400;background:#07172fc9;display:grid;place-items:center;padding:20px}.saved-card{width:min(390px,100%);background:#fff;border-radius:18px;padding:30px;text-align:center;box-shadow:0 24px 70px #0007}.saved-card>div{width:56px;height:56px;margin:auto;background:#dcfce7;color:#15803d;border-radius:50%;display:grid;place-items:center;font-size:30px;font-weight:900}.saved-card h2{margin:15px 0 8px}.saved-card p{color:#657188;font-size:13px}.saved-card button{border:0;background:var(--blue);color:#fff;border-radius:9px;padding:12px 26px;font-weight:800}
.buyer-row{display:flex;flex-wrap:wrap;gap:10px 32px}.buyer-row span{min-width:0}@media(max-width:576px){.buyer-row{flex-direction:column;gap:5px}}
.image-dropzone{border:2px dashed #bfd0e8;border-radius:12px;padding:18px;text-align:center;background:#f8fbff;color:#23446d;cursor:pointer}.image-dropzone span{display:block;color:#71809a;font-size:.8rem;margin-top:4px}.image-dropzone.is-dragging{background:#eaf3ff;border-color:#176fe7}.image-preview-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px}.image-preview-card,.image-sort-card{position:relative;border:1px solid #dbe4ef;border-radius:10px;padding:6px;background:#fff}.image-preview-card img,.image-sort-card img{width:100%;height:90px;object-fit:cover;border-radius:7px}.image-preview-card small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#657188;font-size:.7rem;margin-top:4px}.image-preview-card button{position:absolute;right:5px;top:5px;border:0;border-radius:50%;width:24px;height:24px;background:#dc3545;color:#fff;font-weight:700}.image-sort-card{cursor:grab}.image-sort-card.dragging{opacity:.45}.image-sort-card label{display:block;font-size:.72rem;color:#dc3545;margin-top:4px}
.product-order-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 0;color:#63728a;font-size:.86rem}.product-order-row{cursor:grab}.product-order-row.dragging{opacity:.45;background:#eaf3ff}.product-order-row td:first-child:before{content:'↕';color:#176fe7;font-weight:800;margin-right:7px}.product-order-row:active{cursor:grabbing}
.testimonial-admin-row{display:flex;gap:14px;align-items:flex-start;padding:16px 0;border-bottom:1px solid #edf0f3}.testimonial-admin-row:last-child{border-bottom:0}.testimonial-admin-image{width:82px;height:82px;flex:0 0 82px;border-radius:12px;overflow:hidden;background:linear-gradient(145deg,#07172f,#176fe7);display:grid;place-items:center;color:#fff;font-weight:900}.testimonial-admin-image img{width:100%;height:100%;object-fit:cover}.testimonial-admin-image span{font-size:24px}.testimonial-admin-row p{color:#53637b;font-size:.9rem;line-height:1.5}.testimonial-admin-row small{font-size:.8rem}@media(max-width:576px){.testimonial-admin-row{flex-wrap:wrap}.testimonial-admin-row>div:last-child{width:100%}}
.report-print-heading{display:none}.report-card{overflow:hidden}.report-table th{white-space:nowrap}.report-table td{vertical-align:middle}
@media print{ @page{size:auto;margin:14mm} body{background:#fff!important;color:#152033!important;font-size:11pt}.topbar{display:flex!important;background:var(--navy)!important;color:#fff!important;-webkit-print-color-adjust:exact;print-color-adjust:exact;box-shadow:none!important}.topbar .container{max-width:none!important}.topbar .logo{width:46px;height:46px}.topbar .btn,.admin-header,.no-print{display:none!important}main.container{max-width:none!important;padding:18px 0 0!important}.report-print-heading{display:block;margin-bottom:18px;border-bottom:2px solid var(--blue);padding-bottom:10px}.report-print-heading h2{font-size:20pt;margin:0}.report-print-heading p{margin:4px 0 0;color:#60708a}.report-page>.row{margin-bottom:18px!important}.report-page .metric{box-shadow:none!important;border:1px solid #dbe4ef!important;border-radius:8px!important}.report-page .metric strong{font-size:16pt}.report-card{box-shadow:none!important;border:1px solid #dbe4ef!important;border-radius:8px!important}.report-table{font-size:9.5pt}.report-table>:not(caption)>*>*{padding:7px 8px}.badge-status{-webkit-print-color-adjust:exact;print-color-adjust:exact}.payment-confirmed{background:#dcfce7!important;color:#15803d!important}}
