body {
  margin: 0;
  font-family: Arial;
}

.layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

aside {
  background: #222;
  color: white;
  padding: 2rem;
}

aside nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

aside a {
  color: white;
  text-decoration: none;
}

main {
  padding: 2rem;
}

header {
  margin-bottom: 2rem;
}

.table
{
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.table th,
.table td
{
    padding: 14px 18px;
    vertical-align: middle;
    text-align: left;
    border-bottom: 1px solid #e5e5e5;
}

.table th:nth-child(1),
.table td:nth-child(1)
{
    width: 60px;
}

.table th:nth-child(2),
.table td:nth-child(2)
{
    width: 220px;
}

.table th:nth-child(3),
.table td:nth-child(3)
{
    width: 260px;
}

.table th:nth-child(4),
.table td:nth-child(4)
{
    width: 280px;
}

.table th:nth-child(5),
.table td:nth-child(5)
{
    width: 180px;
}

button {
  padding: 0.8rem 1.5rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.page-header
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:2rem;
}

.form
{
    display:flex;
    flex-direction:column;
    gap:1rem;
    max-width:700px;
}

.form input,
.form textarea
.from select
{
    padding:.8rem;
    border:1px solid #ddd;
    border-radius:6px;
}

.form textarea
{
    min-height:150px;
}

/* ==========================================================
   TABS
========================================================== */

.tabs
{
    display:flex;
    gap:1rem;
    margin-bottom:2rem;
    border-bottom:1px solid #ddd;
}

.tab-button
{
    background:none;
    border:none;
    padding:1rem 1.5rem;
    cursor:pointer;
    font-size:1rem;
    font-weight:600;
    color:#777;
    border-bottom:3px solid transparent;
    transition:.2s;
}

.tab-button:hover
{
    color:#000;
}

.tab-button.active
{
    color:#000;
    border-bottom:3px solid #b89052;
}

.product-subtitle
{
    margin-top: .4rem;
    color: #777;
    font-size: .95rem;
}

.product-summary
{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:2rem;
    padding:1.5rem 0;
    border-top:1px solid #ececec;
    border-bottom:1px solid #ececec;
    margin-bottom:2rem;
}

.product-summary span
{
    display:block;
    color:#888;
    font-size:.9rem;
    margin-bottom:.25rem;
}
.product-summary div
{
    font-size: .9rem;
}

.hidden
{
    display:none;
}

/*==========================================================
PRODUCT HEADER
==========================================================*/

.product-header
{
    display:flex;
    justify-content:space-between;
    align-items:flex-start;
    margin-bottom:2rem;
}

.product-header h1
{
    margin:.5rem 0;
    font-size:2rem;
}

.product-brand
{
    color:#777;
    font-size:1rem;
}

.btn-back
{
    border:none;
    background:none;
    cursor:pointer;
    font-weight:600;
    color:#666;
    padding:0;
}

.btn-back:hover
{
    color:#000;
}

/*==========================================================
VARIANTES
==========================================================*/

.variants-header
{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:2rem;
}

.variant-card
{
    margin-top:2rem;
    padding:2rem;
    background:#fff;
    border:1px solid #e5e5e5;
    border-radius:12px;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

.variant-card h3
{
    margin-bottom:2rem;
}

.variant-card label
{
    display:block;
    margin-top:1.25rem;
    margin-bottom:.5rem;
    font-weight:600;
}

.variant-card input,
.variant-card select
{
    width:100%;
    padding:.75rem;
    border:1px solid #ddd;
    border-radius:8px;
    font-size:1rem;
    transition:.2s;
}

.variant-card input:focus,
.variant-card select:focus
{
    outline:none;
    border-color:#b89052;
}

.generated-sku
{
    margin-top:.5rem;
    padding:1rem;
    background:#f8f8f8;
    border:1px dashed #bbb;
    border-radius:8px;
    font-family:monospace;
    font-size:1rem;
    font-weight:600;
}

.variant-card .btn-primary
{
    margin-top:2rem;
    width:100%;
}

.variant-row
{
    cursor:pointer;
}

.variant-row:hover
{
    background:#f7f7f7;
}

.variant-row.selected
{
    background:#efe6d6;
    font-weight:600;
}



.sidebar-content
{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.sidebar-footer
{
    margin-top: auto;
    padding-top: 30px;
}

.logout-button
{
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

/* ==========================================================
   ORDERS
========================================================== */

.orders-page-header
{
    margin-bottom: 1.5rem;
}

.orders-page-header h2
{
    margin-bottom: .4rem;
}

.orders-subtitle
{
    margin: 0;
    color: #777;
}


/* ==========================================================
   ORDER SUMMARY
========================================================== */

.order-summary
{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.order-summary-card
{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 0;
    padding: 1.25rem 1.5rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    cursor: pointer;
    transition: .2s;
}

.order-summary-card:hover
{
    border-color: #b89052;
}

.order-summary-card.active
{
    border-color: #b89052;
    box-shadow: 0 0 0 1px #b89052;
}

.order-summary-label
{
    font-size: .95rem;
    font-weight: 600;
    color: #555;
}

.order-summary-count
{
    font-size: 1.6rem;
}


/* ==========================================================
   ORDER TOOLBAR
========================================================== */
.orders-toolbar
{
    display: flex;
    margin-bottom: 1.5rem;
}

.order-search
{
    width: 100%;
    max-width: 450px;
    padding: .85rem 1rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: .95rem;
}

.order-search:focus
{
    outline: none;
    border-color: #b89052;
}

/* ==========================================================
   ORDER TABLE
========================================================== */
.orders-table
{
    table-layout: auto;
}

.orders-table th,
.orders-table td
{
    width: auto;
}

.order-view-button
{
    margin: 0;
    padding: .55rem 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.order-view-button:hover
{
    border-color: #b89052;
}

/* ==========================================================
   ORDER STATUS
========================================================== */

.order-status
{
    display: inline-flex;
    align-items: center;
    padding: .4rem .75rem;
    border-radius: 20px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.status-new
{
    background: #fff1dc;
    color: #b56500;
}

.status-preparing
{
    background: #e7f1ff;
    color: #2563a8;
}

.status-ready
{
    background: #f1eaff;
    color: #7146a8;
}

.status-finished
{
    background: #e7f7ed;
    color: #267447;
}

.status-cancelled
{
    background: #fdeaea;
    color: #b23b3b;
}

/* ==========================================================
   EMPTY ORDERS
========================================================== */
.orders-empty
{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    padding: 4rem 2rem;
    border: 1px dashed #ddd;
    border-radius: 10px;
    color: #777;
}

.orders-empty strong
{
    color: #444;
}

/* ==========================================================
   ORDER DETAIL
========================================================== */

.order-detail
{
    max-width: 1200px;
}

.order-detail-header
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    margin-top: 1.5rem;
    margin-bottom: 2rem;
}

.order-detail-header h1
{
    margin: .25rem 0;
    font-size: 2rem;
}

.order-detail-header p
{
    margin: 0;
    color: #777;
}

.order-detail-label
{
    color: #888;
    font-size: .85rem;
    font-weight: 600;
    text-transform: uppercase;
}


/* ==========================================================
   SECTIONS
========================================================== */

.order-detail-section
{
    margin-bottom: 1.5rem;
    padding: 1.5rem;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.order-detail-section h3
{
    margin-top: 0;
    margin-bottom: 1.5rem;
}


/* ==========================================================
   CUSTOMER
========================================================== */

.order-customer-grid
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.order-customer-grid span
{
    display: block;

    margin-bottom: .35rem;

    color: #888;
    font-size: .82rem;
}

.order-customer-grid strong
{
    font-size: .95rem;
}


/* ==========================================================
   ORDER PRODUCTS
========================================================== */

.order-product
{
    display: grid;

    grid-template-columns:
        90px
        minmax(250px, 1fr)
        100px
        150px;

    gap: 1.5rem;
    align-items: center;

    padding: 1rem 0;

    border-bottom: 1px solid #eee;
}

.order-product:last-child
{
    border-bottom: none;
}

.order-product-image
{
    width: 80px;
    height: 80px;

    overflow: hidden;

    border: 1px solid #eee;
    border-radius: 8px;

    background: #f7f7f7;
}

.order-product-image img
{
    width: 100%;
    height: 100%;

    object-fit: cover;
}

.order-no-image
{
    display: flex;
    justify-content: center;
    align-items: center;

    width: 100%;
    height: 100%;

    color: #999;
    font-size: .7rem;
    text-align: center;
}

.order-product-info
{
    display: flex;
    flex-direction: column;
    gap: .3rem;
}

.order-product-info span
{
    color: #777;
    font-size: .85rem;
}

.order-product-name
{
    margin-bottom: .2rem;
    font-size: 1rem;
}

.order-product-quantity
{
    text-align: center;
}

.order-product-quantity span,
.order-product-price span
{
    display: block;

    margin-bottom: .35rem;

    color: #888;
    font-size: .8rem;
}

.order-product-price
{
    text-align: right;
}


/* ==========================================================
   TOTAL
========================================================== */

.order-total
{
    display: flex;
    justify-content: flex-end;
    align-items: center;

    gap: 2rem;

    margin-top: 1rem;
    padding-top: 1.25rem;

    border-top: 2px solid #eee;
}

.order-total span
{
    color: #666;
    font-weight: 600;
}

.order-total strong
{
    font-size: 1.4rem;
}


/* ==========================================================
   NOTES
========================================================== */

.order-notes
{
    padding: 1rem;

    background: #fafafa;

    border-radius: 8px;

    line-height: 1.6;
}


/* ==========================================================
   ATTACHMENT
========================================================== */

.order-attachment
{
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 1rem;

    background: #fafafa;
    border-radius: 8px;
}

.order-document-link
{
    padding: .65rem 1rem;

    border: 1px solid #b89052;
    border-radius: 6px;

    color: #7b5d31;

    text-decoration: none;
    font-weight: 600;
}


/* ==========================================================
   MANAGEMENT
========================================================== */

.order-management
{
    border-color: #d9c49f;
}

.order-management-row
{
    display: flex;
    align-items: flex-end;
    gap: 1rem;
}

.order-management-row > div
{
    flex: 1;
}

.order-management label
{
    display: block;

    margin-bottom: .5rem;

    font-size: .85rem;
    font-weight: 600;
}

.order-status-select
{
    width: 100%;

    padding: .8rem;

    border: 1px solid #ddd;
    border-radius: 7px;

    background: #fff;
}

.order-update-button
{
    margin: 0;

    padding: .8rem 1.4rem;

    border: none;
    border-radius: 7px;

    background: #222;
    color: #fff;

    font-weight: 600;
}

.order-update-button:disabled
{
    opacity: .6;
    cursor: not-allowed;
}

.order-status-message
{
    margin-bottom: 0;
    font-size: .9rem;
}

.order-status-message.success
{
    color: #267447;
}

.order-status-message.error
{
    color: #b23b3b;
}

/* ==========================================================
   ORDER PRODUCT IMAGE ZOOM
========================================================== */

.order-product-thumbnail
{
    cursor: zoom-in;
    transition: transform .2s ease;
}

.order-product-thumbnail:hover
{
    transform: scale(1.05);
}


/* ==========================================================
   ORDER IMAGE MODAL
========================================================== */

.order-image-modal
{
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 2rem;

    background: rgba(0, 0, 0, .75);

    z-index: 5000;
}

.order-image-modal.show
{
    display: flex;
}

.order-image-modal-content
{
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: center;

    max-width: 90vw;
    max-height: 90vh;

    padding: 1rem;

    background: #fff;

    border-radius: 12px;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, .35);
}

.order-image-modal-content img
{
    display: block;

    max-width: 80vw;
    max-height: 75vh;

    object-fit: contain;

    border-radius: 8px;
}

.order-image-close
{
    position: absolute;

    top: -14px;
    right: -14px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 38px;
    height: 38px;

    margin: 0;
    padding: 0;

    border: none;
    border-radius: 50%;

    background: #222;
    color: #fff;

    font-size: 1.6rem;
    line-height: 1;

    cursor: pointer;
}

.order-image-name
{
    margin-top: .8rem;
    font-size: .95rem;
    font-weight: 600;
    color: #444;
}

/* ==========================================================
   PRODUCT IMAGES
========================================================== */

.images-tab
{
    max-width: 1000px;
}

.images-tab h3
{
    margin-bottom: 1.5rem;
}


/* ==========================================================
   IMAGE UPLOAD
========================================================== */

#image-upload
{
    display: block;
    margin-bottom: 2rem;
    padding: .8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fafafa;
}


/* ==========================================================
   IMAGES GRID
========================================================== */

#images-list
{
    display: grid;
    grid-template-columns:
        repeat(auto-fill, minmax(160px, 1fr));

    gap: 1.5rem;
    align-items: start;
}


/* ==========================================================
   IMAGE CARD
========================================================== */

.product-image-item
{
    overflow: hidden;
    padding: .75rem;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
}


/* ==========================================================
   IMAGE
========================================================== */

.product-image-item img
{
    display: block;
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 7px;
    background: #f7f7f7;
}


/* ==========================================================
   IMAGE TYPE
========================================================== */

.product-image-item > div
{
    margin-top: .75rem;
    color: #777;
    font-size: .85rem;
    text-align: center;
}

.product-image-item strong
{
    color: #7b5d31;
}


/* ==========================================================
   RESPONSIVE
========================================================== */

@media (max-width: 700px)
{
    #images-list
    {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .product-image-item img
    {
        height: 130px;
    }
}

.product-image-status
{
    min-height: 24px;
    margin-top: .75rem;
    text-align: center;
}

.product-image-actions
{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    margin-top: .75rem;
}

.btn-image-main,
.btn-image-delete
{
    width: 100%;
    padding: .55rem .75rem;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font-size: .85rem;
}

.btn-image-main
{
    background: #222;
    color: #fff;
}

.btn-image-delete
{
    background: #f4e7e7;
    color: #a12626;
}

.btn-image-main:hover
{
    opacity: .85;
}

.btn-image-delete:hover
{
    background: #ecd5d5;
}

/* =========================================================
   DISEÑOS DE PRODUCTO
========================================================= */

.designs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 20px;
}

.design-item {
    width: 160px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;

    display: flex;
    flex-direction: column;
    gap: 8px;
}

.design-item img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
}

.design-item strong {
    font-size: 14px;
    text-align: center;
}

.design-item .btn-danger {
    width: 100%;
}

.design-item {
    cursor: pointer;
    transition: 0.2s;
}

.design-item:hover {
    border-color: #999;
}

.design-item.selected-design {
    border: 2px solid #c78b32;
    box-shadow: 0 0 0 2px rgba(199, 139, 50, 0.12);
}

/* ==========================================================
   BILLING
========================================================== */

.billing-page
{
    max-width: 1400px;
}


/* ==========================================================
   BILLING HEADER
========================================================== */

.billing-header
{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.billing-header h1
{
    margin: 0 0 .4rem;
    font-size: 2rem;
}

.billing-header p
{
    margin: 0;
    color: #777;
}


/* ==========================================================
   BILLING SUMMARY
========================================================== */

.billing-summary
{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.billing-summary-card
{
    padding: 1.4rem 1.5rem;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 10px;

    box-shadow: 0 2px 8px rgba(0, 0, 0, .04);
}

.billing-summary-card span
{
    display: block;
    margin-bottom: .5rem;

    color: #777;
    font-size: .85rem;
    font-weight: 600;
}

.billing-summary-card strong
{
    display: block;

    color: #222;
    font-size: 1.65rem;
}


/* ==========================================================
   BILLING SECTIONS
========================================================== */

.billing-section
{
    margin-bottom: 2rem;
    padding: 1.5rem;

    background: #fff;

    border: 1px solid #e5e5e5;
    border-radius: 10px;
}

.billing-section h2
{
    margin-top: 0;
    margin-bottom: 1.25rem;
}


/* ==========================================================
   BILLING TABS
========================================================== */

.billing-tabs
{
    display: flex;
    gap: .25rem;

    margin-bottom: 1.5rem;

    border-bottom: 1px solid #ddd;
}

.billing-tab
{
    margin: 0;
    padding: .9rem 1.3rem;

    background: none;

    border: none;
    border-bottom: 3px solid transparent;

    color: #777;

    font-size: .95rem;
    font-weight: 600;

    cursor: pointer;

    transition: .2s;
}

.billing-tab:hover
{
    color: #222;
}

.billing-tab.active
{
    color: #222;
    border-bottom-color: #b89052;
}


/* ==========================================================
   BILLING TABLE
========================================================== */

.billing-page .table
{
    width: 100%;
    table-layout: auto;
}

.billing-page .table th,
.billing-page .table td
{
    width: auto;

    padding: .9rem .8rem;

    vertical-align: middle;

    border-bottom: 1px solid #eee;
}

.billing-page .table th
{
    color: #666;

    font-size: .78rem;
    font-weight: 700;

    text-transform: uppercase;

    white-space: nowrap;
}

.billing-page .table td
{
    font-size: .9rem;
}

.billing-page .table tbody tr:hover
{
    background: #fafafa;
}

.billing-page .table tbody tr:last-child td
{
    border-bottom: none;
}


/* ==========================================================
   BILLING FILTERS
========================================================== */

.billing-filters
{
    display: grid;

    grid-template-columns:
        minmax(180px, 1.5fr)
        minmax(160px, 1fr)
        minmax(190px, 1.3fr)
        auto;

    gap: 1rem;

    align-items: end;

    margin-bottom: 1.5rem;
}

.billing-filters label
{
    display: block;

    margin-bottom: .45rem;

    color: #555;

    font-size: .82rem;
    font-weight: 600;
}

.billing-filters input,
.billing-filters select
{
    width: 100%;
    box-sizing: border-box;

    padding: .75rem .8rem;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 7px;

    font-size: .9rem;
}

.billing-filters input:focus,
.billing-filters select:focus
{
    outline: none;
    border-color: #b89052;
}

.billing-filters button
{
    margin: 0;

    padding: .78rem 1.25rem;

    border: none;
    border-radius: 7px;

    background: #222;
    color: #fff;

    font-weight: 600;
}


/* ==========================================================
   BILLING ORDERS SUMMARY
========================================================== */

.billing-orders-summary
{
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-top: 1rem;
    padding: 1rem 1.25rem;

    background: #fafafa;

    border-radius: 8px;
}

.billing-orders-summary p
{
    margin: 0;
}


/* ==========================================================
   CREATE SETTLEMENT
========================================================== */

.billing-create-settlement
{
    display: flex;
    align-items: flex-end;
    gap: 1rem;

    margin-top: 1.25rem;
    padding: 1.25rem;

    background: #fafafa;

    border: 1px solid #eee;
    border-radius: 8px;
}

.billing-create-settlement label
{
    display: block;

    margin-bottom: .4rem;

    color: #555;

    font-size: .82rem;
    font-weight: 600;
}

.billing-create-settlement input
{
    padding: .7rem .8rem;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 7px;
}

.billing-create-settlement input:focus
{
    outline: none;
    border-color: #b89052;
}

.billing-create-settlement button
{
    margin: 0;

    padding: .75rem 1.2rem;

    border: none;
    border-radius: 7px;

    background: #222;
    color: #fff;

    font-weight: 600;
}


/* ==========================================================
   BILLING ACTION BUTTONS
========================================================== */

.billing-page table button
{
    margin: 0;

    padding: .55rem .85rem;

    background: #fff;

    border: 1px solid #d5d5d5;
    border-radius: 6px;

    color: #333;

    font-size: .8rem;
    font-weight: 600;

    cursor: pointer;

    white-space: nowrap;

    transition: .2s;
}

.billing-page table button:hover
{
    border-color: #b89052;
    color: #7b5d31;
}


/* ==========================================================
   PAYMENT FORM
========================================================== */

.billing-payment-form
{
    max-width: 750px;

    margin-top: 1.5rem;
    padding: 1.5rem;

    background: #fafafa;

    border: 1px solid #d9c49f;
    border-radius: 10px;
}

.billing-payment-form h3
{
    margin-top: 0;
    margin-bottom: 1.25rem;
}

.billing-payment-form > p
{
    margin: .4rem 0;
}

.billing-payment-form > div
{
    margin-top: 1rem;
}

.billing-payment-form label
{
    display: block;

    margin-bottom: .4rem;

    color: #555;

    font-size: .82rem;
    font-weight: 600;
}

.billing-payment-form input,
.billing-payment-form select,
.billing-payment-form textarea
{
    width: 100%;
    box-sizing: border-box;

    padding: .75rem .8rem;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 7px;

    font: inherit;
}

.billing-payment-form textarea
{
    min-height: 90px;
    resize: vertical;
}

.billing-payment-form input:focus,
.billing-payment-form select:focus,
.billing-payment-form textarea:focus
{
    outline: none;
    border-color: #b89052;
}

.billing-payment-form button
{
    margin: 0 .5rem 0 0;

    padding: .75rem 1.2rem;

    border: none;
    border-radius: 7px;

    background: #222;
    color: #fff;

    font-weight: 600;
}

.billing-payment-form button + button
{
    background: #fff;
    color: #555;

    border: 1px solid #ddd;
}


/* ==========================================================
   BILLING EMPTY / INFO TEXT
========================================================== */

#billing-overdue-list > p,
#billing-settlements-list > p,
#billing-payments-list > p,
#billing-orders-result > p
{
    margin: 0;

    padding: 1rem;

    background: #fafafa;

    border: 1px dashed #ddd;
    border-radius: 8px;

    color: #777;
}


/* ==========================================================
   BILLING RESPONSIVE
========================================================== */

@media (max-width: 1000px)
{
    .billing-summary
    {
        grid-template-columns: 1fr;
    }

    .billing-filters
    {
        grid-template-columns: 1fr 1fr;
    }

    .billing-page
    {
        overflow-x: auto;
    }
}


@media (max-width: 700px)
{
    .billing-filters
    {
        grid-template-columns: 1fr;
    }

    .billing-tabs
    {
        overflow-x: auto;
    }

    .billing-create-settlement
    {
        flex-direction: column;
        align-items: stretch;
    }

    .billing-orders-summary
    {
        flex-direction: column;
        align-items: flex-start;
        gap: .5rem;
    }
}

/* ==========================================================
   BILLING STATUS
========================================================== */

.billing-status
{
    display: inline-flex;
    align-items: center;

    padding: .4rem .7rem;

    border-radius: 20px;

    font-size: .76rem;
    font-weight: 700;

    white-space: nowrap;
}

.billing-status-pending
{
    background: #fff1dc;
    color: #b56500;
}

.billing-status-paid
{
    background: #e7f7ed;
    color: #267447;
}

.billing-status-overdue
{
    background: #fdeaea;
    color: #b23b3b;
}

.billing-status-cancelled
{
    background: #eeeeee;
    color: #666;
}

/* ==================================================
   ORDER SHIPPING
================================================== */

.order-shipping-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 32px;
    margin-top: 18px;
}

.order-shipping-grid > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-shipping-grid span {
    font-size: 0.85rem;
    color: #6b7280;
}

.order-shipping-grid strong {
    font-size: 0.95rem;
    font-weight: 600;
    word-break: break-word;
}

.order-shipping-address {
    grid-column: 1 / -1;
}

.order-shipping-empty {
    margin: 0;
    color: #6b7280;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 700px) {

    .order-shipping-grid {
        grid-template-columns: 1fr;
    }

    .order-shipping-address {
        grid-column: auto;
    }
}