html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.disabled-area {
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
}

.FonExpenses {
    background-image: url('../assets/img/expensess.jpg');
    /*background-size:100%*/
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 20px;
    width: 100%;

    display: flex;
    justify-content: center; /* centro horizontal */
    align-items: flex-start; /* arriba */

    padding-top: 250px;
    color: red;
    text-align: center;
 
}
.bg-propio {
    background- --bs-bg-opacity: 1;
    background-color: rgb(24 56 176) !important;
    color: #f8f9fa;
}


/*area de factura*/
:root {
    --pb-green: #0d5c3f;
    --pb-green-2: #138a5d;
    --pb-soft: #eef8f3;
    --pb-border: #e5e7eb;
    --pb-text: #172033;
    --pb-muted: #6b7280;
    --pb-bg: #f6f8fb;
}

body {
    background: var(--pb-bg);
}

.billing-page {
    padding: 24px;
}

.billing-shell {
    max-width: 1600px;
    margin: 0 auto;
}

.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--pb-text);
    margin: 0;
}

.page-subtitle {
    color: var(--pb-muted);
    margin-top: 4px;
}

.modern-card {
    background: #fff;
    border: 1px solid var(--pb-border);
    border-radius: 18px;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.invoice-head {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr .8fr;
    gap: 20px;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--pb-border);
}

.brand-wrap {
    display: flex;
    gap: 14px;
    align-items: center;
}

.brand-badge {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(145deg, #083b2b, #0d7b54);
    box-shadow: 0 8px 20px rgba(13,92,63,.22);
}

.brand-name {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--pb-text);
}

.brand-meta {
    color: var(--pb-muted);
    font-size: .9rem;
    line-height: 1.45;
}

.meta-label {
    color: var(--pb-muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.meta-value {
    color: var(--pb-text);
    font-size: 1rem;
    font-weight: 800;
    margin-top: 5px;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: #fff3cd;
    color: #8a5a00;
    font-weight: 800;
    font-size: .82rem;
}

.section-block {
    padding: 24px;
    border-bottom: 1px solid var(--pb-border);
}

.section-title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--pb-text);
    margin-bottom: 16px;
}

.form-label {
    font-size: .82rem;
    font-weight: 700;
    color: #374151;
}

.form-control, .form-select {
    min-height: 44px;
    border-radius: 10px;
    border: 1px solid #dbe1e8;
    box-shadow: none !important;
}

    .form-control:focus, .form-select:focus {
        border-color: #6dbb98;
    }

.type-bill {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--pb-border);
    background: #fafcfb;
    border-radius: 14px;
}

.table-wrap {
    overflow-x: auto;
    border: 1px solid var(--pb-border);
    border-radius: 14px;
}

.billing-table {
    margin: 0;
    min-width: 980px;
}

    .billing-table thead th {
        background: #f8fafc;
        color: #475569;
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .03em;
        border-bottom: 1px solid var(--pb-border);
        padding: 13px 10px;
    }

    .billing-table td, .billing-table th {
        vertical-align: middle;
        padding: 10px;
    }

    .billing-table .form-control {
        min-height: 38px;
        font-size: .88rem;
    }

.btn-pb {
    background: var(--pb-green);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 700;
}

    .btn-pb:hover {
        background: #0a4b34;
        color: #fff;
    }

.btn-soft {
    background: #fff;
    color: #334155;
    border: 1px solid var(--pb-border);
    border-radius: 10px;
    padding: 10px 15px;
    font-weight: 700;
}

    .btn-soft:hover {
        background: #f8fafc;
    }

.summary-box {
    border: 1px solid var(--pb-border);
    border-radius: 14px;
    padding: 18px;
    background: #fbfcfd;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
    color: #475569;
}

    .summary-row strong {
        color: var(--pb-text);
    }

.summary-total {
    border-top: 1px solid var(--pb-border);
    padding-top: 14px;
    margin-top: 10px;
    font-size: 1.1rem;
}

    .summary-total .value {
        color: var(--pb-green);
        font-size: 1.45rem;
        font-weight: 900;
    }

.recent-panel {
    position: sticky;
    top: 18px;
}

.recent-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 20px 8px;
}

.recent-list {
    padding: 12px 16px 18px;
    max-height: 78vh;
    overflow: auto;
}

.invoice-card {
    border: 1px solid var(--pb-border);
    border-radius: 14px;
    background: #fff;
    transition: .2s;
}

    .invoice-card:hover {
        transform: translateY(-1px);
        box-shadow: 0 8px 20px rgba(15,23,42,.06);
    }

.invoice-title {
    font-weight: 800;
    color: var(--pb-text);
}

.invoice-amount {
    color: var(--pb-green);
    font-weight: 900;
    font-size: 1rem;
}

.pill {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    border-radius: 999px;
    padding: 5px 9px;
    background: #f8fafc;
    border: 1px solid var(--pb-border);
    font-size: .78rem;
}

.store-panel {
    margin-top: 20px;
    padding: 20px;
}

.product-img {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--pb-border);
}

@media (max-width: 1199px) {
    .invoice-head {
        grid-template-columns: 1fr 1fr;
    }

    .recent-panel {
        position: static;
    }
}

@media (max-width: 767px) {
    .billing-page {
        padding: 12px;
    }

    .invoice-head {
        grid-template-columns: 1fr;
    }

    .section-block {
        padding: 16px;
    }
}

/* Area de Navbar*/

:root {
    --prox-sidebar: #1c348f;
    --prox-sidebar-deep: #022b19;
    --prox-sidebar-card: rgba(255,255,255,.055);
    --prox-sidebar-card-hover: rgba(255,255,255,.10);
    --prox-blue: #0d6efd;
    --prox-pink: #e91e63;
}

.modern-sidebar {
    width: 250px !important;
    height: calc(100vh - 32px);
    margin-top: 16px !important;
    margin-bottom: 16px !important;
    border-radius: 18px !important;
    overflow: hidden;
    background: radial-gradient(circle at 50% 0%, rgba(0, 119, 70, .28), transparent 34%), linear-gradient(180deg, var(--prox-sidebar) 0%, var(--prox-sidebar-deep) 100%) !important;
    box-shadow: 0 16px 42px rgba(3, 45, 27, .20);
}

.modern-sidebar-header {
    height: auto !important;
    min-height: 145px;
    padding: 18px 16px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modern-brand {
    width: 100%;
    min-height: 110px;
    margin: 0 !important;
    padding: 8px 10px !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.modern-brand-logo {
    width: 78px !important;
    max-height: 58px !important;
    object-fit: contain;
    filter: drop-shadow(0 7px 12px rgba(0,0,0,.20));
}

.modern-brand-title {
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .1px;
    text-align: center;
}

.modern-sidebar-divider {
    height: 1px;
    margin: 0 16px 12px;
    background: rgba(255,255,255,.11);
}

.modern-sidebar-scroll {
    height: calc(100vh - 275px) !important;
    max-height: none !important;
    overflow-y: auto;
    padding: 0 12px 18px;
}

    .modern-sidebar-scroll::-webkit-scrollbar {
        width: 4px;
    }

    .modern-sidebar-scroll::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.14);
        border-radius: 10px;
    }

.modern-menu {
    gap: 7px;
}

.modern-nav-link {
    min-height: 52px;
    padding: 0 15px !important;
    border-radius: 12px !important;
    color: rgba(255,255,255,.88) !important;
    display: flex !important;
    align-items: center;
    background: transparent;
    transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

    .modern-nav-link:hover {
        color: #fff !important;
        background: var(--prox-sidebar-card-hover) !important;
        transform: translateX(2px);
    }

    .modern-nav-link.active {
        color: #fff !important;
        background: linear-gradient(135deg, #1478ff 0%, #0866e8 100%) !important;
        box-shadow: 0 8px 18px rgba(13, 110, 253, .27);
    }

.modern-nav-icon {
    width: 32px;
    min-width: 32px;
    margin-right: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
}

    .modern-nav-icon i {
        font-size: 19px;
        line-height: 1;
    }

.modern-nav-link .nav-link-text {
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .05px;
}

.modern-sidebar-footer {
    padding-top: 10px;
    background: linear-gradient(180deg, rgba(2,43,25,0) 0%, rgba(2,43,25,.96) 28%);
}

.modern-upgrade-btn {
    min-height: 44px;
    border: 0 !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #ec1763 0%, #d81559 100%) !important;
    color: #fff !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .25px;
    box-shadow: 0 8px 20px rgba(233,30,99,.22);
}

    .modern-upgrade-btn:hover {
        color: #fff !important;
        transform: translateY(-1px);
        box-shadow: 0 10px 24px rgba(233,30,99,.30);
    }

.sidebar-close {
    padding: 16px;
    z-index: 10;
}

@media (min-width: 1200px) {
    .main-content {
        margin-left: 274px !important;
    }
}

/*Area de   Producto tablas */


.products-page {
    padding: 15px 22px 35px;
}

.products-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
    gap: 15px;
    flex-wrap: wrap;
}

.products-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0;
    color: #253047;
}

.products-subtitle {
    color: #7b8494;
    margin-top: 5px;
    font-size: 14px;
}

.btn-new-product {
    background: #118a4e;
    border: none;
    color: white;
    font-weight: 600;
    border-radius: 9px;
    padding: 11px 18px;
    box-shadow: 0 5px 12px rgba(17,138,78,.18);
}

    .btn-new-product:hover {
        background: #0d7542;
        color: white;
    }

.search-card {
    background: white;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 3px 14px rgba(0,0,0,.06);
    border: 1px solid #edf0f4;
}

.modern-search {
    height: 45px;
    border-radius: 9px;
    border: 1px solid #dfe4ea;
    padding-left: 15px;
}

    .modern-search:focus {
        box-shadow: 0 0 0 3px rgba(25,135,84,.10);
        border-color: #198754;
    }

.btn-search-product {
    height: 45px;
    border-radius: 9px;
    padding-left: 20px;
    padding-right: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 18px rgba(0,0,0,.06);
    overflow: hidden;
    border: 1px solid #edf0f4;
    margin-bottom: 20px;
}

.product-table {
    margin-bottom: 0;
    vertical-align: middle;
}

    .product-table thead {
        background: #f8fafc;
    }

        .product-table thead th {
            padding: 15px 12px;
            font-size: 13px;
            font-weight: 700;
            color: #374151;
            border-bottom: 1px solid #e8edf3;
            white-space: nowrap;
        }

    .product-table tbody td {
        padding: 13px 12px;
        border-bottom: 1px solid #edf1f5;
        font-size: 14px;
        color: #4b5563;
    }

    .product-table tbody tr {
        transition: background .15s ease;
    }

        .product-table tbody tr:hover {
            background: #fafcfe;
        }

.product-image {
    width: 58px;
    height: 58px;
    border-radius: 9px;
    background: #f3f5f7;
    border: 1px solid #e8ebef;
    object-fit: contain;
    padding: 3px;
}

.product-name {
    font-weight: 600;
    color: #263044;
}

.category-badge {
    display: inline-block;
    background: #eaf2ff;
    color: #2873d9;
    border-radius: 7px;
    padding: 5px 9px;
    font-size: 12px;
    font-weight: 600;
}

.stock-value {
    font-weight: 700;
    color: #159654;
}

.stock-low {
    color: #e28a00;
    font-weight: 700;
}

.price-value {
    font-weight: 700;
    color: #159654;
}

.btn-action-edit,
.btn-action-delete {
    width: 34px;
    height: 34px;
    padding: 0;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-action-edit {
    background: #0d6efd;
    color: white;
}

.btn-action-delete {
    background: #dc3545;
    color: white;
}

.pagination-modern {
    padding: 15px 18px;
    margin: 0;
    background: white;
}

    .pagination-modern .page-link {
        border-radius: 50% !important;
        margin-right: 6px;
        width: 34px;
        height: 34px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #566174;
        border: 1px solid #e1e5eb;
    }

    .pagination-modern .page-item.active .page-link {
        background: #0d6efd;
        border-color: #0d6efd;
        color: white;
    }

.low-stock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 35px;
    margin-bottom: 15px;
}

.low-stock-title {
    font-size: 23px;
    font-weight: 700;
    color: #253047;
    margin: 0;
}

.low-stock-badge {
    background: #fff3cd;
    color: #856404;
    border-radius: 20px;
    padding: 7px 12px;
    font-size: 12px;
    font-weight: 600;
}

.table-responsive {
    overflow-x: auto;
}



.product-summary-section {
    margin-bottom: 22px;
}

.summary-card {
    background: #ffffff;
    border: 1px solid #edf0f4;
    border-radius: 14px;
    padding: 18px;
    min-height: 105px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    transition: all .2s ease;
}

    .summary-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 7px 20px rgba(0,0,0,.08);
    }

.summary-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 21px;
    flex-shrink: 0;
}

    .summary-icon.total {
        background: #1478ff;
    }

    .summary-icon.stock {
        background: #17a95b;
    }

    .summary-icon.low {
        background: #ffa51f;
    }

    .summary-icon.empty {
        background: #7c3fd3;
    }

.summary-title {
    font-size: 12px;
    font-weight: 600;
    color: #5c6678;
    margin-bottom: 1px;
}

.summary-number {
    font-size: 23px;
    font-weight: 700;
    color: #172033;
    line-height: 1.1;
}

.summary-description {
    font-size: 12px;
    color: #8a94a6;
    margin-top: 4px;
}


/* FILTROS */

.product-filter-card {
    background: #ffffff;
    border: 1px solid #edf0f4;
    box-shadow: 0 4px 16px rgba(0,0,0,.05);
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 22px;
}

.filter-control {
    min-height: 43px;
    border-radius: 9px;
    border: 1px solid #dce2e8;
    font-size: 14px;
}

    .filter-control:focus {
        border-color: #198754;
        box-shadow: 0 0 0 3px rgba(25,135,84,.10);
    }

.filter-label {
    font-size: 12px;
    font-weight: 600;
    color: #697386;
    margin-bottom: 4px;
}

.search-box-wrapper {
    position: relative;
}

    .search-box-wrapper .bi-search {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: #8791a4;
        z-index: 2;
    }

    .search-box-wrapper input {
        padding-left: 39px;
    }

.btn-filter-search {
    min-height: 43px;
    border-radius: 9px;
    padding: 0 20px;
    font-weight: 600;
}

.btn-filter-clear {
    min-height: 43px;
    border-radius: 9px;
    padding: 0 18px;
    font-weight: 600;
}

.products-toolbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 8px;
    margin-bottom: 15px;
}

.btn-export-products {
    min-height: 40px;
    border-radius: 8px;
    border: 1px solid #dce2e8;
    background: white;
    color: #475266;
    font-weight: 600;
}

/* Area de Creacion de producto */



.product-create-page {
    padding: 20px 10px 40px;
}

.page-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

    .page-top h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
        color: #1f2937;
    }

    .page-top p {
        margin: 4px 0 0;
        color: #6b7280;
        font-size: 14px;
    }

.btn-back-products {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
    padding: 9px 15px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: .2s;
}

    .btn-back-products:hover {
        background: #f8fafc;
        color: #111827;
    }

.product-form-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #eaecf0;
    box-shadow: 0 4px 18px rgba(0,0,0,.05);
    overflow: hidden;
}

.product-card-header {
    padding: 22px 25px;
    border-bottom: 1px solid #eaecf0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.product-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eaf2ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
}

.product-card-header h4 {
    margin: 0;
    font-weight: 700;
    color: #1d2939;
}

.product-card-header p {
    margin: 3px 0 0;
    color: #667085;
    font-size: 13px;
}

.product-card-body {
    padding: 25px;
}

.form-label-custom {
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 7px;
}

.required-star {
    color: #dc3545;
}

.product-input,
.product-select {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    font-size: 14px;
}

    .product-input:focus,
    .product-select:focus,
    .product-description:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,.10);
    }

.product-description {
    min-height: 110px;
    resize: vertical;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
}

.field-group {
    margin-bottom: 20px;
}

.price-box {
    position: relative;
}

    .price-box input {
        padding-right: 55px;
    }

.price-currency {
    position: absolute;
    right: 1px;
    top: 1px;
    height: 42px;
    min-width: 48px;
    border-left: 1px solid #d0d5dd;
    background: #f9fafb;
    color: #667085;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0 8px 8px 0;
    font-size: 12px;
    font-weight: 600;
}

.upload-box {
    border: 1px dashed #98b8ff;
    background: #f8fbff;
    border-radius: 12px;
    padding: 22px;
    margin-top: 4px;
}

.upload-box-title {
    font-weight: 700;
    color: #344054;
    margin-bottom: 5px;
}

.upload-box p {
    color: #667085;
    font-size: 13px;
    margin-bottom: 12px;
}

.form-actions {
    border-top: 1px solid #eaecf0;
    padding: 18px 25px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.btn-save-product {
    border: 0;
    background: #0d6efd;
    color: #fff;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

    .btn-save-product:hover {
        background: #0b5ed7;
    }

.btn-cancel-product {
    border: 1px solid #d0d5dd;
    background: #fff;
    color: #344054;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

    .btn-cancel-product:hover {
        background: #f8fafc;
        color: #111827;
    }

@media (max-width: 768px) {
    .product-card-body {
        padding: 18px;
    }

    .form-actions {
        padding: 15px 18px;
        flex-direction: column;
    }

    .btn-save-product,
    .btn-cancel-product {
        width: 100%;
        text-align: center;
    }
}


/*   Area de Editar producto */

.edit-product-page {
    margin: 25px;
}

.edit-page-header {
    margin-bottom: 20px;
}

    .edit-page-header h2 {
        margin: 0;
        font-size: 28px;
        font-weight: 700;
        color: #1f2937;
    }

    .edit-page-header p {
        margin: 5px 0 0;
        color: #667085;
        font-size: 14px;
    }

.btn-back-products {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    background: #fff;
    color: #344054;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 20px;
    transition: .2s;
}

    .btn-back-products:hover {
        background: #f8fafc;
        color: #111827;
    }

.edit-main-card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    overflow: hidden;
}

.edit-card-header {
    padding: 22px 25px;
    border-bottom: 1px solid #eaecf0;
    display: flex;
    align-items: center;
    gap: 15px;
}

.edit-product-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: #eaf2ff;
    color: #0d6efd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
}

.edit-card-header h4 {
    margin: 0;
    font-size: 19px;
    font-weight: 700;
    color: #1d2939;
}

.edit-card-header p {
    margin: 3px 0 0;
    font-size: 13px;
    color: #667085;
}

.edit-card-body {
    padding: 25px;
}

.edit-field {
    margin-bottom: 19px;
}

.edit-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 7px;
}

.edit-input,
.edit-select {
    height: 44px;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    font-size: 14px;
}

    .edit-input:focus,
    .edit-select:focus,
    .edit-description:focus {
        border-color: #0d6efd;
        box-shadow: 0 0 0 3px rgba(13,110,253,.08);
    }

.edit-readonly {
    height: 44px;
    background: #f8fafc !important;
    border: 1px solid #e4e7ec !important;
    border-radius: 8px;
    padding: 10px 12px;
    color: #667085;
}

.edit-description {
    min-height: 100px;
    border-radius: 8px;
    border: 1px solid #d0d5dd;
    resize: vertical;
    font-size: 14px;
}

.current-image-box {
    border: 1px solid #eaecf0;
    background: #f9fafb;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
}

.current-image-title {
    font-size: 13px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 10px;
}

.current-image-box img {
    width: 130px;
    height: 130px;
    object-fit: contain;
    display: block;
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 6px;
}

.upload-box-edit {
    border: 1px dashed #98b8ff;
    background: #f8fbff;
    border-radius: 12px;
    padding: 20px;
    height: 100%;
}

    .upload-box-edit h6 {
        font-weight: 700;
        color: #344054;
        margin-bottom: 5px;
    }

    .upload-box-edit p {
        font-size: 13px;
        color: #667085;
        margin-bottom: 12px;
    }

.edit-actions {
    padding: 18px 25px;
    border-top: 1px solid #eaecf0;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
}

.btn-update-product {
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    transition: .2s;
}

    .btn-update-product:hover {
        background: #0b5ed7;
    }

.btn-cancel-edit {
    border: 1px solid #d0d5dd;
    background: white;
    color: #344054;
    border-radius: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

    .btn-cancel-edit:hover {
        background: #f8fafc;
        color: #111827;
    }

/* PREVISUALIZACION */

.preview-card {
    background: #fff;
    border: 1px solid #eaecf0;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,.05);
    overflow: hidden;
    position: sticky;
    top: 20px;
}

.preview-header {
    padding: 20px;
    border-bottom: 1px solid #eaecf0;
}

    .preview-header h5 {
        margin: 0;
        color: #1d2939;
        font-size: 18px;
        font-weight: 700;
    }

    .preview-header p {
        margin: 4px 0 0;
        color: #667085;
        font-size: 13px;
    }

.preview-image-box {
    margin: 20px;
    height: 190px;
    background: #f8fafc;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

    .preview-image-box img {
        max-width: 100%;
        max-height: 180px;
        object-fit: contain;
        padding: 10px;
    }

.preview-content {
    padding: 0 20px 22px;
}

.preview-item {
    margin-bottom: 18px;
}

.preview-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: #475467;
    margin-bottom: 6px;
}

.preview-main-text {
    font-size: 17px;
    font-weight: 700;
    color: #1d2939;
}

.preview-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
}

.brand-preview {
    background: #eaf2ff;
    color: #0d6efd;
}

.category-preview {
    background: #fff4e5;
    color: #d97706;
}

.price-preview {
    background: #ecfdf3;
    color: #027a48;
}

.stock-preview {
    background: #f4ebff;
    color: #7f56d9;
}

.preview-date {
    font-size: 13px;
    color: #475467;
}

.preview-description {
    margin: 0;
    color: #667085;
    font-size: 13px;
    line-height: 1.5;
    word-break: break-word;
}

@media(max-width: 991px) {
    .preview-card {
        position: static;
    }
}

@media(max-width: 768px) {
    .edit-product-page {
        margin: 15px;
    }

    .edit-card-body {
        padding: 18px;
    }

    .edit-actions {
        flex-direction: column;
    }

    .btn-update-product,
    .btn-cancel-edit {
        width: 100%;
        text-align: center;
    }
}

/*  Area del Navbar*/



.modern-navbar {
    background: #ffffff;
    border-bottom: 1px solid #e7eaf0;
    box-shadow: 0 3px 14px rgba(0,0,0,.05);
    min-height: 78px;
    padding: 10px 0;
    position: relative;
    z-index: 1000;
    margin-bottom:25px;
}


.navbar-logo {
    width: 180px;
    max-height: 60px;
    object-fit: contain;
}


.modern-nav-link {
    color: #eaecf0 !important;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 13px !important;
    border-radius: 8px;
    transition: .2s;
}


    .modern-nav-link:hover {
        background: #f2f7ff;
        color: #0d6efd !important;
    }


.navbar-right {
    margin-left: auto;
}


/* CARRITO */

.cart-button {
    position: relative;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid #e4e7ec;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #344054;
    text-decoration: none;
    font-size: 20px;
    transition: .2s;
}


    .cart-button:hover {
        background: #f8fafc;
        color: #0d6efd;
    }


.cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 50px;
    background: #dc3545;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    border: 2px solid white;
}


/* USUARIO */

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #344054;
    padding: 6px 10px;
    border-radius: 10px;
    transition: .2s;
}


    .user-profile:hover {
        background: #f8fafc;
        color: #344054;
    }


.user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient( 135deg, #006838, #00a651 );
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 3px 8px rgba(0,0,0,.15);
}


.user-info {
    line-height: 1.15;
}


.user-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1d2939;
}


.user-info small {
    color: #98a2b3;
    font-size: 11px;
}


/* DROPDOWN */

.modern-dropdown {
    min-width: 230px;
    border: 1px solid #eaecf0;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.10);
    padding: 8px;
    margin-top: 12px !important;
}


    .modern-dropdown .dropdown-item {
        border-radius: 7px;
        padding: 9px 11px;
        font-size: 13px;
        color: #344054;
    }


        .modern-dropdown .dropdown-item:hover {
            background: #f2f7ff;
            color: #0d6efd;
        }


.dropdown-user-header {
    padding: 8px 10px;
}


    .dropdown-user-header strong {
        display: block;
        font-size: 13px;
        color: #1d2939;
    }


    .dropdown-user-header small {
        font-size: 11px;
        color: #98a2b3;
    }


.register-btn,
.login-btn {
    border-radius: 8px;
    padding: 8px 15px;
    font-weight: 600;
}


/* MOBILE */

@@media(max-width: 991px) {

    .modern-navbar {
        padding: 8px 0;
    }


    .navbar-logo {
        width: 150px;
    }


    .navbar-collapse {
        padding-top: 15px;
    }


    .navbar-right {
        margin-top: 15px;
        padding-top: 15px;
        border-top: 1px solid #eaecf0;
        flex-wrap: wrap;
    }


    .modern-nav-link {
        padding-left: 0 !important;
    }
}

/* Area Categorias */

.category-wrapper {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 30px;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
}

.category-title h2 {
    margin: 0;
    font-size: 26px;
    font-weight: 700;
    color: #1f2937;
}

.category-title p {
    margin: 4px 0 0 0;
    color: #6b7280;
    font-size: 14px;
}

.btn-new-category {
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 9px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: .2s;
}

    .btn-new-category:hover {
        background: #0b5ed7;
        color: white;
        transform: translateY(-1px);
    }

.category-search {
    margin-bottom: 22px;
}

    .category-search form {
        display: flex;
        width: 100%;
        gap: 10px;
    }

    .category-search input {
        height: 44px;
        border-radius: 9px;
        border: 1px solid #d9dee7;
        font-size: 14px;
        padding-left: 15px;
        box-shadow: none;
    }

        .category-search input:focus {
            border-color: #0d6efd;
            box-shadow: 0 0 0 3px rgba(13,110,253,.08);
        }

.btn-search {
    min-width: 110px;
    border-radius: 9px;
    font-weight: 600;
}

.table-container {
    border: 1px solid #edf0f4;
    border-radius: 12px;
    overflow: hidden;
}

.category-table {
    width: 100%;
    margin: 0;
}

    .category-table thead th {
        background: #f8fafc;
        color: #475467;
        font-size: 13px;
        font-weight: 700;
        padding: 15px 18px;
        border-bottom: 1px solid #e5e7eb;
        vertical-align: middle;
    }

    .category-table tbody td {
        padding: 15px 18px;
        font-size: 14px;
        color: #344054;
        border-bottom: 1px solid #f0f2f5;
        vertical-align: middle;
    }

    .category-table tbody tr:last-child td {
        border-bottom: none;
    }

    .category-table tbody tr {
        transition: .2s;
    }

        .category-table tbody tr:hover {
            background: #f9fbff;
        }

.id-value {
    font-weight: 600;
    color: #667085;
}

.brand-badge {
    display: inline-block;
    background: #eef4ff;
    color: #175cd3;
    padding: 6px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
}

.category-badge {
    display: inline-block;
    background: #ecfdf3;
    color: #027a48;
    padding: 6px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
}

.action-buttons {
    display: flex;
    gap: 7px;
}

.btn-edit-custom {
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 7px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

    .btn-edit-custom:hover {
        background: #0b5ed7;
        color: white;
    }

.btn-delete-custom {
    background: #dc3545;
    color: white;
    border: none;
    border-radius: 7px;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

    .btn-delete-custom:hover {
        background: #bb2d3b;
        color: white;
    }

.pagination-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 22px;
    flex-wrap: wrap;
    gap: 15px;
}

.pagination-info {
    color: #667085;
    font-size: 13px;
}

.pagination {
    margin-bottom: 0;
    gap: 5px;
}

    .pagination .page-link {
        border-radius: 7px !important;
        border: 1px solid #e4e7ec;
        color: #475467;
        min-width: 36px;
        height: 36px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 13px;
    }

    .pagination .page-item.active .page-link {
        background: #0d6efd;
        border-color: #0d6efd;
        color: white;
    }

    .pagination .page-link:hover {
        background: #f2f4f7;
        color: #0d6efd;
    }

    .pagination .page-item.active .page-link:hover {
        background: #0d6efd;
        color: white;
    }

@media (max-width: 768px) {

    .category-wrapper {
        padding: 15px;
    }

    .category-header {
        align-items: stretch;
        flex-direction: column;
    }

    .btn-new-category {
        width: 100%;
        text-align: center;
    }

    .category-search form {
        flex-direction: column;
    }

    .btn-search {
        width: 100%;
    }

    .table-container {
        overflow-x: auto;
    }

    .category-table {
        min-width: 750px;
    }
}


/*button regresar a la web*/

.return-web-btn {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    color: #ffffff;
    text-decoration: none;
    transition: all .25s ease;
}

    .return-web-btn:hover {
        background: rgba(255, 255, 255, 0.15);
        border-color: rgba(255, 255, 255, 0.35);
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
    }

.return-web-icon {
    width: 38px;
    height: 38px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.12);
    font-size: 18px;
    flex-shrink: 0;
}

.return-web-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
    flex-grow: 1;
}


    .return-web-text span {
        font-size: 13px;
        font-weight: 700;
    }

    .return-web-text small {
        margin-top: 3px;
        font-size: 10px;
        color: rgba(255, 255, 255, 0.65);
    }

.return-web-arrow {
    font-size: 16px;
    opacity: .8;
    transition: transform .2s ease;
}

.return-web-btn:hover .return-web-arrow {
    transform: translateX(3px);
}

/* area de Hitory */

.billing-wrapper {
    min-height: 100vh;
    background: #f5f7fb;
    padding: 25px;
}


/* HEADER */

.billing-top-card {
    background: white;
    border-radius: 16px;
    padding: 25px 30px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}


.invoice-number {
    color: #8792a2;
    font-size: 14px;
    margin-bottom: 8px;
}


.site-name {
    color: #4695c5;
    font-size: 24px;
    margin: 0;
    font-weight: 600;
}


.billing-title {
    color: #202c3c;
    font-size: 29px;
    margin-top: 5px;
    margin-bottom: 0;
    font-weight: 700;
}


/* NAVIGATION */

.history-navigation {
    display: flex;
    gap: 5px;
    background: #edf2f8;
    border-radius: 12px;
    padding: 5px;
}


.history-btn {
    border: none;
    background: transparent;
    color: #4f5d70;
    padding: 11px 22px;
    border-radius: 9px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
    white-space: nowrap;
}


    .history-btn:hover {
        background: #dce8f5;
    }


    .history-btn.active {
        background: #0d6efd;
        color: white;
        box-shadow: 0 3px 8px rgba(13, 110, 253, .25);
    }


/* CARD TABLE */

.billing-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .05);
}


/* TABLE */

.billing-table {
    width: 100%;
    margin: 0;
    font-size: 14px;
}


    .billing-table thead {
        background: #f6f8fb;
    }


    .billing-table th {
        padding: 16px 15px;
        border-bottom: 1px solid #e6eaf0;
        color: #687587;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
    }


    .billing-table td {
        padding: 15px;
        border-bottom: 1px solid #edf0f4;
        vertical-align: middle;
    }


    .billing-table tbody tr {
        transition: .15s;
    }


        .billing-table tbody tr:hover {
            background: #f9fbfe;
        }


/* CUSTOMER */

.customer-name {
    color: #253140;
    font-weight: 600;
    font-size: 13px;
}


/* DESCRIPTION */

.description-text {
    color: #df4554;
    font-weight: 500;
}


/* VALUES */

.amount-value {
    color: #007a55;
    font-weight: 700;
}


.total-value {
    color: #00694b;
    font-size: 15px;
    font-weight: 800;
}


/* ITBIS */

.itbis-badge {
    background: #e9f8f2;
    color: #087f5b;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 700;
}


.no-itbis-badge {
    background: #fff1f2;
    color: #e13d4c;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
}


/* STATUS */

.status-badge {
    display: inline-block;
    border-radius: 20px;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: 600;
}


.account-pay {
    color: #c2410c;
    background: #fff4e6;
}


.spent-pay {
    color: #7c3aed;
    background: #f3e8ff;
}


/* DATE */

.date-value {
    color: #7a8797;
    font-size: 12px;
    white-space: nowrap;
}


/* ACTIONS */

.action-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}


.btn-export {
    border: none;
    background: #e8f1ff;
    color: #0d6efd;
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: .2s;
}


    .btn-export:hover {
        background: #0d6efd;
        color: white;
    }


.btn-delete-bill {
    text-decoration: none;
    background: #ffe9ec;
    color: #dc3545;
    padding: 7px 11px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 600;
    transition: .2s;
}


    .btn-delete-bill:hover {
        background: #dc3545;
        color: white;
    }


/* PAGINATION */

.pagination-card {
    margin-top: 18px;
    padding: 15px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.pagination-title {
    font-size: 14px;
    font-weight: 600;
    color: #687587;
}


/* RESPONSIVE */

@media(max-width: 950px) {

    .billing-top-card {
        flex-direction: column;
        align-items: flex-start;
    }


    .history-navigation {
        width: 100%;
        overflow-x: auto;
    }


    .history-btn {
        flex: 1;
        min-width: 140px;
    }


    .billing-wrapper {
        padding: 12px;
    }
}

/* Area de Order List */
.orders-page {
    padding: 10px 18px 30px 18px;
}

.orders-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
    flex-wrap: wrap;
    gap: 12px;
}

    .orders-header h2 {
        margin: 0;
        font-size: 26px;
        font-weight: 700;
        color: #1f2937;
    }

    .orders-header p {
        margin: 4px 0 0;
        color: #6b7280;
        font-size: 14px;
    }

.orders-card {
    background: #ffffff;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.orders-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

    .orders-table thead th {
        background: #f8fafc;
        color: #64748b;
        font-size: 12px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        padding: 16px 18px;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .orders-table tbody td {
        padding: 16px 18px;
        vertical-align: middle;
        color: #374151;
        font-size: 14px;
        border-bottom: 1px solid #f0f1f3;
    }

    .orders-table tbody tr {
        transition: all 0.18s ease;
    }

        .orders-table tbody tr:hover {
            background: #f8fafc;
        }

        .orders-table tbody tr:last-child td {
            border-bottom: none;
        }

.order-id {
    font-weight: 700;
    color: #111827;
}

.client-name {
    font-weight: 600;
    color: #1f2937;
    white-space: nowrap;
}

.units-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 30px;
    padding: 0 10px;
    background: #f1f5f9;
    border-radius: 8px;
    font-weight: 700;
    color: #475569;
}

.order-total {
    font-weight: 700;
    color: #111827;
    white-space: nowrap;
}

.payment-method {
    text-transform: capitalize;
    color: #475569;
    font-weight: 500;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: capitalize;
    white-space: nowrap;
}

    .status-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

.status-pending {
    background: #fff7d6;
    color: #b77900;
}

.status-accepted {
    background: #dcfce7;
    color: #15803d;
}

.status-canceled {
    background: #f1f5f9;
    color: #64748b;
}

.status-created {
    background: #fff7d6;
    color: #b77900;
}

.status-delivered {
    background: #dcfce7;
    color: #15803d;
}

.status-returned {
    background: #cffafe;
    color: #0e7490;
}

.status-deleted {
    background: #fee2e2;
    color: #dc2626;
}

.status-default {
    background: #fee2e2;
    color: #dc2626;
}

.order-date {
    color: #64748b;
    white-space: nowrap;
}

.btn-order-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff !important;
    border: none;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.18);
}

    .btn-order-details:hover {
        background: #1d4ed8;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22);
    }

.orders-pagination-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.orders-pagination {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: 7px;
}

    .orders-pagination .page-link {
        min-width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0;
        color: #475569;
        background: #ffffff;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: none;
    }

        .orders-pagination .page-link:hover {
            background: #f1f5f9;
            color: #2563eb;
            border-color: #cbd5e1;
        }

    .orders-pagination .page-item.active .page-link {
        background: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
    }

@media (max-width: 992px) {

    .orders-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .orders-table thead th,
    .orders-table tbody td {
        padding: 13px 14px;
    }
}
/* Area de Details de Order */

.order-details-page {
    padding: 12px 18px 40px 18px;
}


/* HEADER */

.order-details-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

    .order-details-header h2 {
        margin: 8px 0 3px 0;
        color: #111827;
        font-size: 27px;
        font-weight: 700;
    }

    .order-details-header p {
        margin: 0;
        color: #64748b;
        font-size: 14px;
    }

.order-back-link {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .order-back-link:hover {
        color: #1d4ed8;
    }


/* INFO GRID */

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: 22px;
}


/* CARDS */

.order-info-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
}

.order-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
}

    .order-card-header h3 {
        margin: 3px 0 0 0;
        font-size: 19px;
        color: #111827;
        font-weight: 700;
    }

.order-card-label {
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.order-number {
    background: #eff6ff;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 7px;
}


/* INFORMATION ROW */

.detail-row {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: center;
    min-height: 48px;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

    .detail-row:last-child {
        border-bottom: none;
    }

.detail-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.detail-value {
    color: #1f2937;
    font-size: 13px;
}

.detail-value-bold {
    font-weight: 700;
}

.detail-capitalize {
    text-transform: capitalize;
}

.detail-action-group {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
}


/* STATUS */

.detail-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: capitalize;
}

    .detail-status::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

.detail-status-warning {
    background: #fff7d6;
    color: #b77900;
}

.detail-status-success {
    background: #dcfce7;
    color: #15803d;
}

.detail-status-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.detail-status-info {
    background: #cffafe;
    color: #0e7490;
}

.detail-status-danger {
    background: #fee2e2;
    color: #dc2626;
}


/* LINKS */

.detail-edit-link {
    color: #2563eb;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

    .detail-edit-link:hover {
        text-decoration: underline;
    }

.detail-secondary-link {
    color: #64748b;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

    .detail-secondary-link:hover {
        color: #111827;
    }

.client-name-link {
    color: #2563eb;
    font-weight: 700;
    text-decoration: none;
}

    .client-name-link:hover {
        text-decoration: underline;
    }


/* PRODUCTS */

.order-products-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
}

.products-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 22px;
    border-bottom: 1px solid #e5e7eb;
}

    .products-card-header h3 {
        margin: 3px 0 0;
        color: #111827;
        font-size: 19px;
        font-weight: 700;
    }

.product-count {
    background: #f1f5f9;
    color: #475569;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
}


/* PRODUCT TABLE */

.order-products-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .order-products-table thead th {
        background: #f8fafc;
        color: #64748b;
        padding: 13px 18px;
        font-size: 11px;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.04em;
        border-bottom: 1px solid #e5e7eb;
        white-space: nowrap;
    }

    .order-products-table tbody td {
        padding: 15px 18px;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
        color: #374151;
        font-size: 13px;
    }

    .order-products-table tbody tr:last-child td {
        border-bottom: none;
    }

    .order-products-table tbody tr:hover {
        background: #f8fafc;
    }

.product-image-column {
    width: 90px;
}

.order-product-image {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .order-product-image img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

.order-product-name {
    display: inline-block;
    color: #1f2937;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    margin-bottom: 4px;
}

    .order-product-name:hover {
        color: #2563eb;
    }

.order-product-category {
    color: #94a3b8;
    font-size: 12px;
}

.order-quantity {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    min-width: 33px;
    height: 30px;
    padding: 0 9px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 7px;
    font-weight: 700;
}

.product-unit-price {
    color: #64748b;
    white-space: nowrap;
}

.product-total-price {
    color: #111827;
    font-weight: 700;
    white-space: nowrap;
}


/* SUMMARY */

.order-summary-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.order-summary-card {
    width: 340px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px 22px;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.035);
}

    .order-summary-card h4 {
        margin: 0 0 18px 0;
        color: #111827;
        font-size: 16px;
        font-weight: 700;
    }

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 8px 0;
    color: #64748b;
    font-size: 13px;
}

.summary-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 10px 0;
}

.summary-total {
    color: #111827;
    font-size: 17px;
    font-weight: 800;
    padding-top: 10px;
}


/* MODAL */

.order-modal {
    border: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

    .order-modal .modal-header {
        padding: 18px 22px;
        border-bottom: 1px solid #e5e7eb;
    }

    .order-modal .modal-body {
        padding: 22px;
    }

    .order-modal .modal-footer {
        border-top: 1px solid #e5e7eb;
        padding: 14px 22px;
    }

.payment-details-box {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 16px;
    color: #475569;
    min-height: 90px;
}


/* RESPONSIVE */

@media (max-width: 992px) {

    .order-info-grid {
        grid-template-columns: 1fr;
    }

    .order-details-page {
        padding-left: 8px;
        padding-right: 8px;
    }
}


@media (max-width: 600px) {

    .order-details-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .detail-row {
        grid-template-columns: 1fr;
        gap: 5px;
    }

    .detail-label {
        font-size: 11px;
    }

    .order-summary-card {
        width: 100%;
    }

    .order-products-table thead th,
    .order-products-table tbody td {
        padding: 12px;
    }
}

/* Area de  Details of order*/

.user-details-page {
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px 20px 40px;
}


/* HEADER */

.user-details-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 24px;
}

    .user-details-header h2 {
        margin: 8px 0 3px;
        font-size: 27px;
        font-weight: 700;
        color: #111827;
    }

    .user-details-header p {
        margin: 0;
        color: #64748b;
        font-size: 14px;
    }

.user-back-link {
    display: inline-flex;
    align-items: center;
    color: #2563eb;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

    .user-back-link:hover {
        color: #1d4ed8;
    }


/* ALERT */

.user-alert {
    border-radius: 10px;
    margin-bottom: 20px;
}


/* MAIN CARD */

.user-details-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 22px rgba(0, 0, 0, 0.04);
}


/* CARD HEADER */

.user-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px 28px;
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
}

.user-avatar {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
}

.user-card-name h3 {
    margin: 0 0 4px;
    color: #111827;
    font-size: 20px;
    font-weight: 700;
}

.user-card-name span {
    color: #64748b;
    font-size: 13px;
}


/* INFORMATION */

.user-information-section {
    padding: 25px 28px;
}

.user-section-title {
    margin-bottom: 15px;
}

    .user-section-title h4 {
        margin: 3px 0 0;
        color: #111827;
        font-size: 17px;
        font-weight: 700;
    }

.user-section-label {
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}


/* ROWS */

.user-detail-row {
    display: grid;
    grid-template-columns: 32% 68%;
    align-items: center;
    min-height: 52px;
    border-bottom: 1px solid #f1f5f9;
}

    .user-detail-row:last-child {
        border-bottom: none;
    }

.user-detail-label {
    color: #64748b;
    font-size: 13px;
    font-weight: 500;
}

.user-detail-value {
    color: #1f2937;
    font-size: 13px;
    font-weight: 500;
}

.user-empty-value {
    color: #94a3b8;
    font-style: italic;
}


/* ROLES */

.user-role-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.user-role-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 10px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
}

    .user-role-badge::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

.user-role-admin {
    background: #fee2e2;
    color: #dc2626;
}

.user-role-seller {
    background: #fff7d6;
    color: #b77900;
}

.user-role-client {
    background: #cffafe;
    color: #0e7490;
}

.user-role-secondary {
    background: #f1f5f9;
    color: #64748b;
}

.user-edit-role-btn {
    border: none;
    background: transparent;
    padding: 4px 2px;
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

    .user-edit-role-btn:hover {
        color: #1d4ed8;
        text-decoration: underline;
    }


/* CARD FOOTER */

.user-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 18px 28px;
    background: #f8fafc;
    border-top: 1px solid #e5e7eb;
}

.user-btn-back {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 17px;
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .user-btn-back:hover {
        background: #f1f5f9;
        color: #1f2937;
    }

.user-btn-delete {
    border: none;
    border-radius: 8px;
    padding: 9px 17px;
    background: #dc2626;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    transition: all 0.2s ease;
}

    .user-btn-delete:hover {
        background: #b91c1c;
    }


/* MODALS */

.user-modal {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

    .user-modal .modal-header {
        padding: 20px 22px;
        border-bottom: 1px solid #e5e7eb;
    }

        .user-modal .modal-header h5 {
            margin-top: 3px;
            color: #111827;
            font-weight: 700;
        }

    .user-modal .modal-body {
        padding: 23px;
    }

    .user-modal .modal-footer {
        padding: 14px 22px;
        border-top: 1px solid #e5e7eb;
    }

.user-modal-label {
    color: #2563eb;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

.user-modal-danger-label {
    color: #dc2626;
}


/* FORM */

.user-form-label {
    color: #475569;
    font-size: 13px;
    font-weight: 600;
}

.user-form-select {
    min-height: 43px;
    border-radius: 8px;
    border-color: #dbe2ea;
}

    .user-form-select:focus {
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    }

.user-modal-save {
    width: 100%;
    border: none;
    border-radius: 8px;
    padding: 10px 15px;
    background: #2563eb;
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
}

    .user-modal-save:hover {
        background: #1d4ed8;
    }

.user-modal-close {
    border: 1px solid #dbe2ea;
    border-radius: 8px;
    padding: 8px 15px;
    background: #ffffff;
    color: #475569;
    font-size: 12px;
    font-weight: 700;
}

    .user-modal-close:hover {
        background: #f1f5f9;
    }


/* DELETE MODAL */

.delete-warning-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 17px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
}

.delete-warning-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    font-size: 18px;
    font-weight: 800;
}

.delete-warning-box h6 {
    margin: 0 0 5px;
    color: #991b1b;
    font-weight: 700;
}

.delete-warning-box p {
    margin: 0;
    color: #7f1d1d;
    font-size: 13px;
    line-height: 1.5;
}

.user-modal-delete {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 15px;
    border-radius: 8px;
    background: #dc2626;
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
}

    .user-modal-delete:hover {
        background: #b91c1c;
    }


/* RESPONSIVE */

@media (max-width: 768px) {

    .user-details-page {
        padding: 15px 10px 30px;
    }

    .user-details-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .user-header-role {
        display: none;
    }

    .user-detail-row {
        grid-template-columns: 1fr;
        gap: 5px;
        padding: 11px 0;
    }

    .user-card-header,
    .user-information-section,
    .user-card-footer {
        padding-left: 18px;
        padding-right: 18px;
    }
}


@media (max-width: 480px) {

    .user-card-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .user-btn-back,
    .user-btn-delete {
        width: 100%;
    }
}

/* Area  Users Config */

.users-page {
    padding: 12px 18px 40px;
}


/* HEADER */

.users-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

    .users-header h2 {
        margin: 4px 0 3px;
        color: #111827;
        font-size: 27px;
        font-weight: 700;
    }

    .users-header p {
        margin: 0;
        color: #64748b;
        font-size: 14px;
    }

.users-header-label {
    color: #2563eb;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1px;
}

.users-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 13px;
    background: #f1f5f9;
    color: #475569;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}


/* TABLE CARD */

.users-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}


/* TABLE */

.users-table {
    width: 100%;
    margin: 0;
    border-collapse: separate;
    border-spacing: 0;
}

    .users-table thead th {
        padding: 15px 18px;
        background: #f8fafc;
        color: #64748b;
        border-bottom: 1px solid #e5e7eb;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.04em;
        text-transform: uppercase;
        white-space: nowrap;
    }

    .users-table tbody td {
        padding: 15px 18px;
        vertical-align: middle;
        border-bottom: 1px solid #f1f5f9;
        color: #374151;
        font-size: 13px;
    }

    .users-table tbody tr {
        transition: background 0.18s ease;
    }

        .users-table tbody tr:hover {
            background: #f8fafc;
        }

        .users-table tbody tr:last-child td {
            border-bottom: none;
        }


/* USER */

.users-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.users-avatar {
    width: 39px;
    height: 39px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 800;
    text-transform: uppercase;
}

.users-name-container {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.users-name {
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}

.users-id {
    color: #94a3b8;
    font-size: 10px;
}


/* EMAIL */

.users-email {
    color: #475569;
    font-size: 13px;
}


/* PHONE */

.users-phone {
    color: #475569;
    white-space: nowrap;
}

.users-empty {
    color: #94a3b8;
    font-size: 12px;
    font-style: italic;
}


/* ROLES */

.users-role {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 11px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    white-space: nowrap;
}

    .users-role::before {
        content: "";
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: currentColor;
    }

.users-role-admin {
    background: #fee2e2;
    color: #dc2626;
}

.users-role-seller {
    background: #fff7d6;
    color: #b77900;
}

.users-role-client {
    background: #cffafe;
    color: #0e7490;
}

.users-role-default {
    background: #f1f5f9;
    color: #64748b;
}


/* DATE */

.users-date {
    color: #64748b;
    white-space: nowrap;
}


/* DETAILS BUTTON */

.users-details-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 8px;
    background: #2563eb;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(37, 99, 235, 0.18);
}

    .users-details-btn:hover {
        background: #1d4ed8;
        transform: translateY(-1px);
        box-shadow: 0 4px 10px rgba(37, 99, 235, 0.22);
    }


/* PAGINATION */

.users-pagination-wrapper {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}

.users-pagination {
    display: flex;
    align-items: center;
    gap: 7px;
    list-style: none;
    margin: 0;
    padding: 0;
}

    .users-pagination .page-link {
        min-width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 8px !important;
        border: 1px solid #e2e8f0;
        background: #ffffff;
        color: #475569;
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
        box-shadow: none;
    }

        .users-pagination .page-link:hover {
            background: #f1f5f9;
            color: #2563eb;
            border-color: #cbd5e1;
        }

    .users-pagination .page-item.active .page-link {
        background: #2563eb;
        border-color: #2563eb;
        color: #ffffff;
    }


/* RESPONSIVE */

@media (max-width: 992px) {

    .users-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .users-table thead th,
    .users-table tbody td {
        padding: 13px 14px;
    }
}


@media (max-width: 768px) {

    .users-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .users-count {
        align-self: flex-start;
    }
}

/*Area de sidebar*/

/* =========================================
   SIDEBAR MOBILE
========================================= */

.mobile-sidebar-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: none;
    border-radius: 10px;
    background: #f1f5f9;
    color: #1f2937;
    font-size: 25px;
    cursor: pointer;
    transition: all 0.2s ease;
}

    .mobile-sidebar-toggle:hover {
        background: #e2e8f0;
        color: #2563eb;
    }

.mobile-sidebar-close {
    display: none;
    position: absolute;
    top: 16px;
    right: 15px;
    z-index: 20;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 18px;
    cursor: pointer;
}

    .mobile-sidebar-close:hover {
        background: rgba(255, 255, 255, 0.22);
    }


/* FONDO OSCURO DETRAS DEL MENU */

.mobile-sidebar-overlay {
    display: none;
}


/* =========================================
   CELULAR / TABLET
========================================= */

@media (max-width: 1199.98px) {

    .mobile-sidebar-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .mobile-sidebar-close {
        display: flex;
    }


    /* SIDEBAR CERRADO */

    #sidenav-main.modern-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        height: 100vh !important;
        margin-left: 0 !important;
        transform: translateX(-110%) !important;
        transition: transform 0.3s ease !important;
        z-index: 1060 !important;
        border-radius: 0 16px 16px 0 !important;
        box-shadow: 10px 0 30px rgba(0, 0, 0, 0.15);
    }


        /* SIDEBAR ABIERTO */

        #sidenav-main.modern-sidebar.mobile-open {
            transform: translateX(0) !important;
        }


    /* OVERLAY */

    .mobile-sidebar-overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        z-index: 1050;
    }

        .mobile-sidebar-overlay.show {
            opacity: 1;
            visibility: visible;
        }


    /* EVITA SCROLL CUANDO EL MENU ESTA ABIERTO */

    body.mobile-sidebar-open {
        overflow: hidden;
    }


    /* NAVBAR */

    .modern-navbar .container-fluid {
        display: flex;
        align-items: center;
        gap: 10px;
    }


    /*
       Mantenemos el usuario/avatar visible.
       Ya no necesitamos que esta parte se colapse.
    */

    #navbarSupportedContent {
        display: flex !important;
        flex-basis: auto !important;
        flex-grow: 1 !important;
    }

    .navbar-right {
        margin-left: auto;
    }
}


/* CELULARES PEQUEÑOS */

@media (max-width: 576px) {

    .modern-navbar .container-fluid {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .mobile-sidebar-toggle {
        width: 40px;
        height: 40px;
        font-size: 23px;
    }
}


/*  Area de  Navbar nuevo  */
/* ===================================================== */
/* NEYAC DESIGN - NUEVO HOME                             */
/* ===================================================== */

:root {
    --neyac-blue: #1267ff;
    --neyac-blue-dark: #003fad;
    --neyac-blue-deep: #002c82;
    --neyac-cyan: #19b9ff;
    --neyac-text: #102544;
    --neyac-muted: #718096;
}


body {
    background: #f7faff;
}


/* =============================== */
/* NAVBAR */
/* =============================== */

.neyac-navbar {
    background: #ffffff;
    min-height: 88px;
    padding: 9px 0;
    box-shadow: 0 4px 25px rgba(12, 49, 105, 0.08);
    position: relative;
    z-index: 1000;
}

.neyac-nav-container {
    max-width: 1260px;
}

.neyac-brand {
    padding: 0;
}

.neyac-logo {
    width: 205px;
    max-height: 67px;
    object-fit: contain;
}

.neyac-menu {
    gap: 6px;
}

    .neyac-menu .nav-link {
        position: relative;
        color: #596c89;
        font-weight: 600;
        padding: 28px 13px !important;
        font-size: 14px;
        transition: 0.25s;
    }

        .neyac-menu .nav-link:hover {
            color: var(--neyac-blue);
        }

        .neyac-menu .nav-link::after {
            position: absolute;
            content: "";
            left: 50%;
            bottom: 16px;
            width: 0;
            height: 3px;
            border-radius: 20px;
            background: var(--neyac-blue);
            transform: translateX(-50%);
            transition: .25s ease;
        }

        .neyac-menu .nav-link:hover::after {
            width: 24px;
        }


/* CARRITO */

.neyac-cart {
    margin-left: 8px;
}

.neyac-cart-link {
    position: relative !important;
    font-size: 24px !important;
    color: #ff304b !important;
}

    .neyac-cart-link::after {
        display: none !important;
    }

.neyac-cart-badge {
    position: absolute;
    top: 16px;
    right: 1px;
    background: #ff304b;
    color: white;
    min-width: 19px;
    height: 19px;
    line-height: 19px;
    border-radius: 50px;
    text-align: center;
    font-size: 10px;
}


/* USER */

.neyac-user-area {
    margin-left: 12px;
}

.neyac-user-profile {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: var(--neyac-text);
}

.neyac-avatar {
    width: 47px;
    height: 47px;
    border-radius: 50%;
    background: linear-gradient(135deg, #1d70ff, #0a50df);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 7px 18px rgba(21, 104, 255, .25);
}

.neyac-user-info {
    flex-direction: column;
    line-height: 1.2;
}

    .neyac-user-info strong {
        font-size: 13px;
        color: #132b4d;
    }

    .neyac-user-info small {
        margin-top: 4px;
        color: #7e8ca3;
        font-size: 11px;
    }

.neyac-user-arrow {
    font-size: 11px;
    margin-left: 4px;
}

.neyac-dropdown {
    min-width: 245px;
    border: none;
    border-radius: 15px;
    padding: 10px;
    margin-top: 17px !important;
    box-shadow: 0 16px 45px rgba(0, 42, 100, .15);
}

    .neyac-dropdown .dropdown-item {
        border-radius: 9px;
        padding: 11px 12px;
        font-size: 14px;
    }

        .neyac-dropdown .dropdown-item i {
            margin-right: 10px;
        }

.neyac-dropdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
}

    .neyac-dropdown-header div:last-child {
        display: flex;
        flex-direction: column;
    }

    .neyac-dropdown-header small {
        color: #8390a3;
    }

.neyac-dropdown-avatar {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--neyac-blue);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
}


/* LOGIN */

.neyac-login-buttons {
    display: flex;
    gap: 8px;
}

.neyac-btn-login,
.neyac-btn-register {
    border-radius: 9px;
    padding: 9px 18px;
}

.neyac-btn-login {
    border: 1px solid var(--neyac-blue);
    color: var(--neyac-blue);
}

.neyac-btn-register {
    background: var(--neyac-blue);
    color: #fff;
}


/* =============================== */
/* HERO */
/* =============================== */

.neyac-hero {
    min-height: 570px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 70% 25%, rgba(0, 174, 255, .42), transparent 24%), radial-gradient(circle at 90% 80%, rgba(32, 133, 255, .30), transparent 25%), linear-gradient(115deg, #003391 0%, #0652d2 50%, #0077ff 100%);
    color: #fff;
    padding: 76px 0 92px;
}

    .neyac-hero::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        background: rgba(42, 143, 255, .12);
        border-radius: 50%;
        left: -120px;
        top: 180px;
    }

    .neyac-hero .container {
        max-width: 1260px;
        position: relative;
        z-index: 2;
    }

.neyac-hero-label {
    display: inline-block;
    padding: 9px 17px;
    border-radius: 8px;
    background: rgba(255,255,255,.10);
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
    margin-bottom: 22px;
}

.neyac-hero h1 {
    font-size: clamp(42px, 5vw, 67px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -1.5px;
    max-width: 650px;
}

    .neyac-hero h1 span {
        color: #20c4ff;
    }

.neyac-hero-content > p {
    max-width: 600px;
    margin-top: 20px;
    color: rgba(255,255,255,.83);
    line-height: 1.75;
    font-size: 17px;
}


/* BOTONES */

.neyac-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 28px;
}

.neyac-btn-primary,
.neyac-btn-outline {
    min-height: 47px;
    padding: 0 21px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: .25s;
}

.neyac-btn-primary {
    color: white;
    background: linear-gradient(135deg, #18b7ff, #086dff);
    box-shadow: 0 10px 25px rgba(0,70,190,.25);
}

    .neyac-btn-primary:hover {
        color: white;
        transform: translateY(-2px);
    }

.neyac-btn-outline {
    color: white;
    border: 1px solid rgba(255,255,255,.65);
}

    .neyac-btn-outline:hover {
        background: white;
        color: var(--neyac-blue);
    }


/* BENEFICIOS */

.neyac-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    margin-top: 40px;
}

.neyac-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
}

.neyac-benefit-icon {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,.45);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.neyac-benefit > div:last-child {
    display: flex;
    flex-direction: column;
}

.neyac-benefit strong {
    font-size: 12px;
}

.neyac-benefit small {
    color: rgba(255,255,255,.65);
    font-size: 10px;
}


/* =============================== */
/* HERO VISUAL */
/* =============================== */

.neyac-hero-image-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding-left: 20px;
}

.neyac-main-hero-image {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    object-fit: contain;
    object-position: center;
    border-radius: 0;
    /* mezcla visual con el fondo azul */
    filter: drop-shadow(0 25px 35px rgba(0, 31, 105, 0.25));
    transition: transform .35s ease;
}

    .neyac-main-hero-image:hover {
        transform: translateY(-3px);
    }


/* =============================== */
/* SERVICE STRIP */
/* =============================== */

.neyac-service-strip {
    position: relative;
    margin-top: -44px;
    z-index: 20;
}

    .neyac-service-strip .container {
        max-width: 1220px;
    }

.neyac-service-strip-box {
    background: #fff;
    border-radius: 17px;
    box-shadow: 0 15px 40px rgba(10,61,129,.10);
    padding: 20px 30px;
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.neyac-strip-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .neyac-strip-item > div:last-child {
        display: flex;
        flex-direction: column;
    }

    .neyac-strip-item strong {
        color: #172c4b;
        font-size: 14px;
    }

    .neyac-strip-item small {
        color: #8190a7;
        font-size: 11px;
    }

.neyac-strip-icon {
    min-width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg,#15b8ff,#176bff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

    .neyac-strip-icon.pink {
        background: linear-gradient(135deg,#ff30c7,#d3009b);
    }

    .neyac-strip-icon.green {
        background: linear-gradient(135deg,#21d88b,#03ad62);
    }

    .neyac-strip-icon.orange {
        background: linear-gradient(135deg,#ffb244,#ff7d1c);
    }

.neyac-strip-divider {
    width: 1px;
    height: 48px;
    background: #e5ebf4;
}


/* =============================== */
/* SERVICIOS */
/* =============================== */

.neyac-services {
    padding: 90px 0 70px;
}

    .neyac-services .container {
        max-width: 1220px;
    }

.neyac-services-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 30px;
}

.neyac-section-label {
    position: relative;
    color: var(--neyac-blue);
    font-size: 11px;
    font-weight: 800;
}

    .neyac-section-label::before {
        content: "";
        display: inline-block;
        width: 43px;
        height: 4px;
        background: var(--neyac-blue);
        border-radius: 10px;
        vertical-align: middle;
        margin-right: 12px;
    }

.neyac-services h2 {
    font-size: 34px;
    color: var(--neyac-text);
    font-weight: 800;
    margin-top: 10px;
    margin-bottom: 5px;
}

.neyac-services-header p {
    color: #7a899f;
    margin: 0;
}

.neyac-view-all {
    border: 1px solid var(--neyac-blue);
    border-radius: 9px;
    color: var(--neyac-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    padding: 12px 18px;
}

    .neyac-view-all i {
        margin-left: 12px;
    }


/* CARDS */

.neyac-service-card {
    height: 100%;
    background: white;
    border: 1px solid #edf1f7;
    border-radius: 15px;
    padding: 23px;
    box-shadow: 0 8px 25px rgba(22,70,135,.05);
    transition: .25s;
}

    .neyac-service-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 16px 35px rgba(22,70,135,.12);
    }

.neyac-service-icon {
    width: 47px;
    height: 47px;
    border-radius: 11px;
    background: linear-gradient(135deg,#17b2ff,#1168ff);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    margin-bottom: 17px;
}

    .neyac-service-icon.green {
        background: linear-gradient(135deg,#22d884,#05ae61);
    }

.neyac-service-card h4 {
    font-size: 16px;
    font-weight: 750;
    color: #182e4d;
}

.neyac-service-card p {
    font-size: 13px;
    color: #8190a5;
    margin-bottom: 0;
    line-height: 1.55;
}


/* =============================== */
/* RESPONSIVE */
/* =============================== */

@media (max-width: 991px) {

    .neyac-navbar {
        min-height: 75px;
    }

    .neyac-logo {
        width: 175px;
    }

    .neyac-toggler {
        border: 0;
        box-shadow: none !important;
        color: var(--neyac-blue);
        font-size: 30px;
    }

    .neyac-menu {
        align-items: stretch !important;
        padding: 15px 0;
    }

        .neyac-menu .nav-link {
            padding: 11px 6px !important;
        }

            .neyac-menu .nav-link::after {
                display: none;
            }

    .neyac-cart {
        margin-left: 0;
    }

    .neyac-cart-link {
        width: 50px;
    }

    .neyac-user-area {
        margin: 10px 0 0;
    }


    .neyac-hero {
        text-align: center;
        padding-top: 65px;
    }

    .neyac-hero-content > p {
        margin-left: auto;
        margin-right: auto;
    }

    .neyac-hero-buttons,
    .neyac-benefits {
        justify-content: center;
    }

    .neyac-hero-visual {
        margin-top: 65px;
        min-height: 400px;
    }

    .neyac-products-stage {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 90%;
    }

    .neyac-floating-text {
        left: 6%;
    }


    .neyac-service-strip {
        margin-top: 25px;
    }

    .neyac-service-strip-box {
        grid-template-columns: 1fr 1fr;
    }

    .neyac-strip-divider {
        display: none;
    }
}


@media (max-width: 575px) {

    .neyac-hero {
        padding: 55px 0 60px;
    }

        .neyac-hero h1 {
            font-size: 40px;
        }

    .neyac-hero-content > p {
        font-size: 15px;
    }

    .neyac-benefits {
        flex-direction: column;
        align-items: flex-start;
        margin-left: 20px;
    }

    .neyac-hero-visual {
        display: none;
    }

    .neyac-service-strip-box {
        grid-template-columns: 1fr;
    }

    .neyac-services-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 22px;
    }

    .neyac-login-buttons {
        flex-direction: column;
    }
}