:root {
    --primary: #7a5c43;
    --primary-dark: #5d4635;
    --primary-soft: #f1e7dc;

    --bg: #f6f1ea;
    --card: #fffaf4;

    --text: #2f241d;
    --muted: #7a6a5b;

    --border: #e7ddd2;

    --success: #4f7954;
    --success-soft: #e7f1e7;

    --danger: #a94b42;
    --danger-soft: #f8e4e1;

    --warning: #c6903f;
    --warning-soft: #faefd9;

    --shadow: 0 10px 30px rgba(93, 70, 53, 0.08);

    --radius: 18px;
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background: var(--bg);
    color: var(--text);
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font: inherit;
    cursor: pointer;
}

/* =========================
   LOGIN
========================= */
/* =========================
   LOGIN
========================= */
/* =========================
   LOGIN
========================= */

.auth-page {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 56% 44%;
    background: #f6f1ea;
}

/* LADO IMAGEN */
.auth-visual {
    position: relative;
    min-height: 100vh;
    background: url('/images/login-hotel.jpg') center center / cover no-repeat;
    overflow: hidden;
}

.auth-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to top,
            rgba(46, 33, 23, 0.72) 0%,
            rgba(46, 33, 23, 0.22) 42%,
            rgba(46, 33, 23, 0.03) 75%,
            transparent 100%
        );
}

.auth-visual-overlay {
    position: absolute;
    z-index: 2;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 56px;
    color: #fff;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 15px;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 18px;
}

.auth-visual-overlay h1 {
    margin: 0 0 14px;
    max-width: 620px;
    font-size: 42px;
    line-height: 1.12;
    letter-spacing: -1px;
}

.auth-visual-overlay p {
    max-width: 520px;
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255,255,255,0.92);
}

/* LADO FORMULARIO */
.auth-panel {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px;
    background: #f6f1ea;
}

.auth-card {
    width: 100%;
    max-width: 450px;
    background: #fffaf4;
    border: 1px solid #e7ddd2;
    border-radius: 24px;
    padding: 38px;
    box-shadow: 0 16px 40px rgba(93, 70, 53, 0.10);
}

.auth-logo {
    margin-bottom: 12px;
    color: #7a5c43;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.auth-welcome {
    margin-bottom: 28px;
}

.auth-welcome h2 {
    margin: 0 0 10px;
    color: #2f241d;
    font-size: 31px;
    line-height: 1.15;
}

.auth-subtitle {
    margin: 0;
    color: #7a6a5b;
    font-size: 15px;
    line-height: 1.6;
}

.auth-form-group {
    margin-bottom: 19px;
}

.auth-form-group label {
    display: block;
    margin-bottom: 8px;
    color: #3b2e25;
    font-size: 14px;
    font-weight: 600;
}

.custom-input {
    width: 100%;
    padding: 15px 16px;
    background: #ffffff;
    border: 1px solid #e7ddd2;
    border-radius: 14px;
    outline: none;
    font-size: 15px;
    color: #2f241d;
    transition: all .2s ease;
}

.custom-input::placeholder {
    color: #a08f81;
}

.custom-input:hover {
    border-color: #d5c5b6;
}

.custom-input:focus {
    border-color: #a78668;
    box-shadow: 0 0 0 4px rgba(167, 134, 104, 0.14);
}

.auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 0 24px;
    gap: 15px;
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #7a6a5b;
    font-size: 14px;
}

.auth-check input {
    accent-color: #7a5c43;
}

.auth-forgot {
    color: #7a5c43;
    font-size: 14px;
    font-weight: 600;
}

.auth-forgot:hover {
    text-decoration: underline;
}

.btn-primary-main {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 14px;
    background: #7a5c43;
    color: white;
    font-size: 15px;
    font-weight: 700;
    transition: all .2s ease;
}

.btn-primary-main:hover {
    background: #5d4635;
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(93, 70, 53, 0.18);
}

.form-error {
    margin-top: 7px;
    color: #b42318;
    font-size: 13px;
}

.alert-box {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background: #fff1ef;
    border: 1px solid #f0c8c2;
    color: #b42318;
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .auth-page {
        display: block;
    }

    .auth-visual {
        min-height: 310px;
        height: 42vh;
    }

    .auth-visual-overlay {
        padding: 30px;
    }

    .auth-visual-overlay h1 {
        font-size: 30px;
        max-width: 500px;
    }

    .auth-visual-overlay p {
        font-size: 14px;
    }

    .auth-panel {
        min-height: auto;
        padding: 36px 24px 55px;
    }
}

@media (max-width: 576px) {
    .auth-visual {
        min-height: 220px;
        height: 30vh;
    }

    .auth-visual-overlay {
        padding: 22px;
    }

    .auth-visual-overlay h1 {
        font-size: 24px;
        margin-bottom: 8px;
    }

    .auth-visual-overlay p {
        display: none;
    }

    .auth-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .auth-welcome h2 {
        font-size: 26px;
    }

    .auth-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}
/* =========================
   ADMIN / SUPERADMIN LAYOUT
========================= */
.admin-shell {
    min-height: 100vh;
    display: flex;
}
.sidebar {
    width: 270px;

    background: #fffaf4;

    border-right: 1px solid #e7ddd2;

    padding: 24px 18px;

    position: fixed;

    top: 0;
    left: 0;
    bottom: 0;

    overflow-y: auto;

    z-index: 1000;

    transition: left 0.25s ease;
}

.sidebar-brand {
    margin-bottom: 28px;
}

.sidebar-brand h2 {
    margin: 0;

    color: #7a5c43;

    font-size: 27px;

    font-weight: 800;
}
.sidebar-brand p {
    margin: 5px 0 0;

    color: #9b8878;

    font-size: 13px;
}

.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sidebar-link {
    display: flex;

    align-items: center;

    gap: 12px;

    padding: 13px 14px;

    border-radius: 12px;

    color: #59483b;

    transition: all 0.2s ease;

    font-weight: 500;
}
.sidebar-link:hover {
    background: #f1e7dc;

    color: #5d4635;
}

.sidebar-link.active {
    background: #7a5c43;

    color: white;

    box-shadow: 0 6px 15px rgba(122, 92, 67, 0.18);
}
.sidebar-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border);
}

.logout-btn {
    width: 100%;
    border: 1px solid var(--border);
    background: #fff;
    padding: 12px 14px;
    border-radius: 14px;
    font-weight: 600;
}

.main-panel {
    flex: 1;

    margin-left: 270px;

    display: flex;

    flex-direction: column;

    min-width: 0;

    background: #f6f1ea;
}

.topbar {
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 18px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.topbar-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.menu-toggle {
    display: none;
    border: none;
    background: #eff6ff;
    color: var(--primary);
    width: 42px;
    height: 42px;
    border-radius: 12px;
    font-size: 20px;
}

.topbar-title h3 {
    margin: 0;
    font-size: 20px;
}

.topbar-title p {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 13px;
}

.topbar-user {
    text-align: right;
}

.topbar-user strong {
    display: block;
    font-size: 14px;
}

.topbar-user span {
    color: var(--muted);
    font-size: 13px;
}

.content-area {
    padding: 28px;
}

.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.page-header h1,
.page-header h2 {
    margin: 0 0 6px;
}

.page-header p {
    margin: 0;
    color: var(--muted);
}

.page-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-primary-soft,
.btn-secondary-soft,
.btn-danger-soft,
.btn-success-soft {
    border: none;
    border-radius: 14px;
    padding: 12px 16px;
    font-weight: 600;
}

.btn-primary-soft {
    background: #7a5c43;
    color: #fff;
}
.btn-primary-soft:hover {
    background: #5d4635;
}

.btn-secondary-soft {
    background: #fffaf4;

    border: 1px solid #ded2c6;

    color: #59483b;
}

.btn-secondary-soft:hover {
    background: #f1e7dc;
}
.custom-table th {
    background: #f4ede5;

    color: #6b5849;

    font-size: 13px;

    font-weight: 700;
}

.custom-table td {
    border-bottom: 1px solid #eee5dc;

    color: #3d3027;
}

.custom-table tbody tr:hover {
    background: #faf6f1;
}

.btn-secondary-soft {
    background: #fff;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-danger-soft {
    background: var(--danger-soft);
    color: var(--danger);
}

.btn-success-soft {
    background: var(--success-soft);
    color: var(--success);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-bottom: 24px;
}

.stat-card,
.page-card {
    background: #fffaf4;

    border-radius: 18px;

    padding: 22px;

    box-shadow: 0 8px 28px rgba(93, 70, 53, 0.07);

    border: 1px solid #e7ddd2;
}
.stat-card {
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: "";

    position: absolute;

    left: 0;

    top: 0;

    bottom: 0;

    width: 4px;

    background: #a78668;
}

.stat-card h4 {
    margin: 0 0 10px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
}

.stat-card .stat-value {
    font-size: 34px;
    font-weight: 800;
    margin: 0;
}

.stat-card .stat-help {
    margin-top: 8px;
    color: var(--muted);
    font-size: 13px;
}

.content-grid {
    display: grid;
    gap: 18px;
}
.content-area {
    padding: 28px;

    background: #f6f1ea;

    min-height: calc(100vh - 80px);
}
.content-grid.two-col {
    grid-template-columns: 1.1fr 0.9fr;
}

.page-card h3 {
    margin: 0 0 18px;
    font-size: 20px;
}

.page-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
}

.form-help {
    margin-top: 6px;
    font-size: 12px;
    color: var(--muted);
}

.form-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.custom-table-wrap {
    overflow-x: auto;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 760px;
}

.custom-table th,
.custom-table td {
    text-align: left;
    padding: 14px 12px;
    border-bottom: 1px solid #eef2f7;
    vertical-align: top;
}

.custom-table th {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
    background: #f8fafc;
}

.table-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.status-active {
    background: var(--success-soft);
    color: var(--success);
}

.status-suspended {
    background: var(--danger-soft);
    color: var(--danger);
}

.quick-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    line-height: 1.8;
}

.mobile-overlay {
    display: none;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 992px) {
    .auth-page {
        grid-template-columns: 1fr;
    }

    .auth-visual {
        min-height: 260px;
    }

    .auth-visual-overlay {
        padding: 28px;
    }

    .auth-visual-overlay h1 {
        font-size: 28px;
    }

    .admin-shell {
        display: block;
    }

    .sidebar {
        left: -280px;
        width: 270px;
        box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    }

    .sidebar.open {
        left: 0;
    }

    .mobile-overlay {
        position: fixed;
        inset: 0;
        background: rgba(15, 23, 42, 0.45);
        z-index: 999;
        display: none;
    }

    .mobile-overlay.show {
        display: block;
    }

    .main-panel {
        margin-left: 0;
    }

    .menu-toggle {
    display: none;

    border: none;

    background: #f1e7dc;

    color: #7a5c43;

    width: 42px;

    height: 42px;

    border-radius: 12px;

    font-size: 20px;
}

    .stats-grid,
    .content-grid.two-col,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .content-area {
        padding: 18px;
    }

    .topbar {
    background: rgba(255, 250, 244, 0.95);

    backdrop-filter: blur(10px);

    border-bottom: 1px solid #e7ddd2;

    padding: 18px 28px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 16px;

    position: sticky;

    top: 0;

    z-index: 100;
}
}

@media (max-width: 576px) {
    .auth-panel {
        padding: 18px;
    }

    .auth-card {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .page-actions,
    .form-actions {
        width: 100%;
    }

    .btn-primary-soft,
    .btn-secondary-soft,
    .btn-danger-soft,
    .btn-success-soft {
        width: 100%;
        text-align: center;
    }
}

/* =========================
   DELETE BUSINESS
========================= */

.btn-delete-business {
    border: 1px solid #e6c9c5;
    background: #fff7f5;
    color: #a94b42;

    border-radius: 12px;

    padding: 11px 15px;

    font-weight: 600;

    transition: all .2s ease;
}

.btn-delete-business:hover {
    background: #a94b42;
    color: #fff;
    border-color: #a94b42;
}


/* MODAL */

.delete-modal {
    width: calc(100% - 32px);
    max-width: 460px;

    padding: 0;

    border: none;
    border-radius: 22px;

    background: #fffaf4;

    box-shadow:
        0 25px 70px rgba(47, 36, 29, 0.28);
}


.delete-modal::backdrop {
    background: rgba(47, 36, 29, 0.55);
    backdrop-filter: blur(3px);
}


.delete-modal-content {
    padding: 32px;

    text-align: center;
}


.delete-modal-icon {
    width: 58px;
    height: 58px;

    margin: 0 auto 18px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f8e4e1;

    color: #a94b42;

    font-size: 28px;
    font-weight: 800;
}


.delete-modal-content h3 {
    margin: 0 0 10px;

    color: #2f241d;

    font-size: 23px;
}


.delete-modal-content p {
    margin: 0 0 7px;

    color: #7a6a5b;
}


.delete-modal-content > strong {
    display: block;

    margin-bottom: 20px;

    color: #5d4635;

    font-size: 18px;
}


.delete-warning {
    background: #fff4f2;

    border: 1px solid #eed3ce;

    border-radius: 14px;

    padding: 14px;

    margin-bottom: 24px;

    color: #91443d;

    font-size: 13px;

    line-height: 1.55;

    text-align: left;
}


.delete-modal-actions {
    display: flex;

    justify-content: flex-end;

    gap: 10px;
}


.btn-confirm-delete {
    border: none;

    border-radius: 12px;

    padding: 12px 16px;

    background: #a94b42;

    color: #fff;

    font-weight: 700;

    transition: .2s;
}


.btn-confirm-delete:hover {
    background: #893a34;
}


/* CELULAR */

@media(max-width: 576px) {

    .delete-modal-content {
        padding: 25px 20px;
    }

    .delete-modal-actions {
        flex-direction: column-reverse;
    }

    .delete-modal-actions form {
        width: 100%;
    }

    .delete-modal-actions button {
        width: 100%;
    }

}

/* =========================================================
   ACCIONES DE TABLA UNIFORMES
========================================================= */

.table-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.table-actions form {
    margin: 0;
    padding: 0;
}

.table-action-btn {
    min-width: 92px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 14px;

    border-radius: 12px;
    border: 1px solid transparent;

    font-size: 14px;
    font-weight: 600;
    line-height: 1;

    text-decoration: none;

    cursor: pointer;

    transition: all .2s ease;
}


/* EDITAR */

.table-action-edit {
    background: #fffaf4;
    border-color: #ded2c6;
    color: #59483b;
}

.table-action-edit:hover {
    background: #f1e7dc;
    border-color: #cdb8a5;
    color: #5d4635;
}


/* SUSPENDER */

.table-action-suspend {
    background: #f8e4e1;
    border-color: #efd0cb;
    color: #a94b42;
}

.table-action-suspend:hover {
    background: #a94b42;
    border-color: #a94b42;
    color: #ffffff;
}


/* ACTIVAR */

.table-action-activate {
    background: #e7f1e7;
    border-color: #cfe1d0;
    color: #4f7954;
}

.table-action-activate:hover {
    background: #4f7954;
    border-color: #4f7954;
    color: #ffffff;
}


/* ELIMINAR */

.table-action-delete {
    background: #fffaf4;
    border-color: #e6c9c5;
    color: #a94b42;
}

.table-action-delete:hover {
    background: #a94b42;
    border-color: #a94b42;
    color: #ffffff;
}


/* CELULAR */

@media (max-width: 768px) {

    .table-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .table-actions form {
        width: 100%;
    }

    .table-action-btn {
        width: 100%;
        min-width: 110px;
    }
}
/* =========================================================
   ADMIN HOTEL
========================================================= */

.business-sidebar-header {
    display: flex;
    align-items: center;
    gap: 13px;

    padding-bottom: 22px;
    margin-bottom: 18px;

    border-bottom: 1px solid #e7ddd2;
}


.business-logo-box,
.business-logo-placeholder {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #ffffff;

    border: 1px solid #e7ddd2;
}


.business-logo-placeholder {
    background: #f1e7dc;

    font-size: 25px;
}


.business-sidebar-logo {
    width: 100%;
    height: 100%;

    object-fit: contain;

    padding: 6px;

    border-radius: 14px;
}


.business-sidebar-info {
    min-width: 0;
}


.business-sidebar-info h2 {
    margin: 0 0 4px;

    font-size: 17px;

    color: #3e3026;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.business-sidebar-info span {
    font-size: 12px;

    color: #8c7766;
}


.sidebar-section-title {
    margin: 22px 12px 8px;

    color: #a08c7a;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .8px;
}


.sidebar-link-disabled {
    opacity: .65;
}


.sidebar-user {
    display: flex;
    align-items: center;

    gap: 11px;

    margin-bottom: 14px;
}


.sidebar-user-avatar {
    width: 40px;
    height: 40px;

    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #7a5c43;

    color: #ffffff;

    font-weight: 700;
}


.sidebar-user strong {
    display: block;

    max-width: 145px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;

    color: #3e3026;

    font-size: 13px;
}


.sidebar-user span {
    display: block;

    margin-top: 2px;

    color: #8c7766;

    font-size: 11px;
}


.sidebar-account-link {
    display: block;

    width: 100%;

    margin-bottom: 9px;

    padding: 11px 12px;

    border-radius: 12px;

    color: #645143;

    font-size: 13px;
    font-weight: 600;

    transition: .2s;
}


.sidebar-account-link:hover {
    background: #f1e7dc;
}


.topbar-business-mini {
    display: flex;
    align-items: center;

    gap: 10px;
}


.topbar-business-mini img {
    width: 38px;
    height: 38px;

    object-fit: contain;

    border-radius: 10px;

    background: white;

    border: 1px solid #e7ddd2;

    padding: 3px;
}


.topbar-business-mini strong {
    display: block;

    color: #3e3026;

    font-size: 13px;
}


.topbar-business-mini span {
    display: block;

    margin-top: 2px;

    text-align: right;

    color: #8c7766;

    font-size: 11px;
}


/* =========================================================
   ADMIN DASHBOARD
========================================================= */

.dashboard-welcome {
    position: relative;

    overflow: hidden;

    margin-bottom: 22px;

    padding: 28px;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #7a5c43 0%,
            #96775d 100%
        );

    color: white;
}


.dashboard-welcome::after {
    content: "";

    position: absolute;

    width: 230px;
    height: 230px;

    right: -70px;
    top: -90px;

    border-radius: 50%;

    background: rgba(255,255,255,.07);
}


.dashboard-welcome h1 {
    position: relative;

    z-index: 2;

    margin: 0 0 8px;

    font-size: 27px;
}


.dashboard-welcome p {
    position: relative;

    z-index: 2;

    margin: 0;

    max-width: 650px;

    color: rgba(255,255,255,.88);

    line-height: 1.6;
}


.dashboard-section-title {
    margin: 28px 0 15px;

    font-size: 18px;

    color: #3e3026;
}


.admin-module-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 16px;
}


.admin-module-card {
    display: flex;
    align-items: center;

    gap: 14px;

    min-height: 105px;

    padding: 18px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 17px;

    transition: .2s ease;
}


.admin-module-card:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(93,70,53,.09);
}


.admin-module-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    border-radius: 14px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1e7dc;

    font-size: 23px;
}


.admin-module-card h4 {
    margin: 0 0 5px;

    color: #3e3026;

    font-size: 15px;
}


.admin-module-card p {
    margin: 0;

    color: #8c7766;

    font-size: 12px;

    line-height: 1.4;
}


@media(max-width: 900px) {

    .admin-module-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media(max-width: 576px) {

    .topbar-business-mini div {
        display: none;
    }


    .admin-module-grid {
        grid-template-columns: 1fr;
    }


    .dashboard-welcome {
        padding: 22px;
    }


    .dashboard-welcome h1 {
        font-size: 22px;
    }

}
/* =========================================================
   BUILDINGS
========================================================= */

.building-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 18px;
}


.building-card {
    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 19px;

    padding: 20px;

    box-shadow:
        0 8px 24px rgba(93,70,53,.06);
}


.building-card-header {
    display: flex;

    align-items: center;

    gap: 13px;

    margin-bottom: 15px;
}


.building-icon {
    width: 50px;
    height: 50px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f1e7dc;

    font-size: 23px;
}


.building-card-header h3 {
    margin: 0 0 6px;

    color: #3e3026;

    font-size: 17px;
}


.building-description {
    min-height: 42px;

    margin: 0 0 18px;

    color: #7a6a5b;

    font-size: 13px;

    line-height: 1.55;
}


.building-stats {
    display: grid;

    grid-template-columns: 1fr 1fr;

    margin-bottom: 18px;

    background: #f8f2eb;

    border-radius: 14px;

    overflow: hidden;
}


.building-stats div {
    padding: 14px;

    text-align: center;
}


.building-stats div + div {
    border-left: 1px solid #e7ddd2;
}


.building-stats strong {
    display: block;

    color: #5d4635;

    font-size: 23px;
}


.building-stats span {
    display: block;

    margin-top: 3px;

    color: #8c7766;

    font-size: 12px;
}


.building-actions {
    display: flex;

    flex-direction: column;

    gap: 10px;
}


.building-action-full {
    width: 100%;

    text-align: center;
}


.building-action-row {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 7px;
}


.building-action-row form {
    margin: 0;
}


.building-action-row .table-action-btn {
    width: 100%;

    min-width: 0;

    padding-left: 9px;
    padding-right: 9px;
}


.empty-state {
    grid-column: 1 / -1;

    padding: 60px 25px;

    background: #fffaf4;

    border: 1px dashed #d8c8ba;

    border-radius: 20px;

    text-align: center;
}


.empty-state-icon {
    margin-bottom: 12px;

    font-size: 38px;
}


.empty-state h3 {
    margin: 0 0 8px;

    color: #3e3026;
}


.empty-state p {
    margin: 0 0 22px;

    color: #8c7766;
}


.form-page-container {
    display: grid;

    grid-template-columns:
        minmax(0, 1.4fr)
        minmax(280px, .6fr);

    gap: 18px;

    align-items: start;
}


.setup-flow {
    display: flex;

    flex-direction: column;
}


.setup-step {
    display: flex;

    align-items: center;

    gap: 12px;
}


.setup-step > span {
    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #f1e7dc;

    color: #7a5c43;

    font-weight: 700;
}


.setup-step.active > span {
    background: #7a5c43;

    color: white;
}


.setup-step strong {
    display: block;

    color: #3e3026;

    font-size: 14px;
}


.setup-step small {
    display: block;

    margin-top: 2px;

    color: #8c7766;
}


.setup-flow-line {
    width: 2px;
    height: 28px;

    margin-left: 17px;

    background: #e7ddd2;
}


.building-summary-big {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 12px;
}


.building-summary-big div {
    padding: 20px;

    background: #f8f2eb;

    border-radius: 14px;

    text-align: center;
}


.building-summary-big strong {
    display: block;

    color: #5d4635;

    font-size: 30px;
}


.building-summary-big span {
    display: block;

    margin-top: 5px;

    color: #8c7766;

    font-size: 12px;
}


@media(max-width: 1100px) {

    .building-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media(max-width: 800px) {

    .building-grid {
        grid-template-columns: 1fr;
    }


    .form-page-container {
        grid-template-columns: 1fr;
    }

}


@media(max-width: 480px) {

    .building-action-row {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   FLOORS
========================================================= */

.floor-layout {
    display: grid;
    grid-template-columns:
        minmax(280px, .65fr)
        minmax(0, 1.35fr);

    gap: 20px;

    align-items: start;
}


.floor-create-card {
    position: sticky;
    top: 100px;
}


.floor-helper {
    margin: -8px 0 22px;

    color: #8c7766;

    font-size: 13px;

    line-height: 1.5;
}


.floor-list-header {
    margin-bottom: 14px;
}


.floor-list-header h3 {
    margin: 0 0 5px;

    color: #3e3026;
}


.floor-list-header p {
    margin: 0;

    color: #8c7766;

    font-size: 13px;
}


.floor-list {
    display: flex;

    flex-direction: column;

    gap: 14px;
}


.floor-card {
    display: flex;

    gap: 16px;

    padding: 18px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 18px;

    box-shadow:
        0 6px 20px rgba(93,70,53,.05);
}


.floor-number {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #f1e7dc;

    color: #7a5c43;

    border-radius: 15px;

    font-size: 20px;

    font-weight: 800;
}


.floor-card-main {
    flex: 1;

    min-width: 0;
}


.floor-card-title {
    display: flex;

    align-items: flex-start;
    justify-content: space-between;

    gap: 15px;
}


.floor-card-title h3 {
    margin: 0 0 3px;

    color: #3e3026;

    font-size: 17px;
}


.floor-card-title > div > span {
    color: #9a8574;

    font-size: 12px;
}


.floor-description {
    margin: 12px 0;

    color: #7a6a5b;

    font-size: 13px;

    line-height: 1.5;
}


.floor-details {
    margin: 14px 0;

    padding: 10px 12px;

    background: #f8f2eb;

    border-radius: 11px;

    color: #6a5748;

    font-size: 13px;
}


.floor-actions {
    display: flex;

    align-items: center;

    gap: 7px;

    flex-wrap: wrap;
}


.floor-actions form {
    margin: 0;
}


.floor-dialog {
    max-width: 520px;
}


@media(max-width: 900px) {

    .floor-layout {
        grid-template-columns: 1fr;
    }


    .floor-create-card {
        position: static;
    }

}


@media(max-width: 600px) {

    .floor-card {
        flex-direction: column;
    }


    .floor-card-title {
        flex-direction: column;
    }


    .floor-actions {
        flex-direction: column;

        align-items: stretch;
    }


    .floor-actions form {
        width: 100%;
    }


    .floor-actions button,
    .floor-actions a {
        width: 100%;
    }

}
/* =========================================================
   ROOM TYPES / RATES
========================================================= */

.room-type-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.room-type-card {
    display: flex;
    gap: 15px;

    padding: 18px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 18px;
}

.room-type-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f1e7dc;

    font-size: 23px;
}

.room-type-content {
    flex: 1;
    min-width: 0;
}

.room-type-heading {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.room-type-heading h3 {
    margin: 0 0 4px;
}

.room-type-heading > div > span {
    color: #8c7766;
    font-size: 12px;
}

.room-type-content > p {
    color: #7a6a5b;
    font-size: 13px;
    line-height: 1.5;
}

.room-type-numbers {
    display: flex;
    gap: 20px;

    margin: 13px 0;

    color: #7a6a5b;

    font-size: 13px;
}

.room-type-numbers strong {
    color: #5d4635;
}


.rate-type-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-bottom: 16px;
}

.rate-type-header h3 {
    margin: 0 0 4px;
}

.rate-type-header span {
    color: #8c7766;
    font-size: 12px;
}

.rate-count {
    padding: 7px 11px;

    background: #f1e7dc;

    border-radius: 999px;
}

.rate-list {
    display: flex;
    flex-direction: column;
}

.rate-row {
    display: grid;

    grid-template-columns:
        minmax(170px, 1fr)
        130px
        90px
        auto;

    align-items: center;

    gap: 15px;

    padding: 14px 0;

    border-top: 1px solid #eee4da;
}

.rate-main strong,
.rate-main span {
    display: block;
}

.rate-main span {
    margin-top: 4px;

    color: #8c7766;

    font-size: 12px;
}

.rate-price {
    color: #5d4635;

    font-size: 17px;
    font-weight: 800;
}

.rate-actions {
    display: flex;
    gap: 6px;
}

.rate-actions form {
    margin: 0;
}

.rate-empty {
    padding: 20px;

    background: #f8f2eb;

    border-radius: 13px;

    color: #8c7766;

    font-size: 13px;

    text-align: center;
}


@media(max-width: 800px) {

    .rate-row {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .rate-actions {
        flex-wrap: wrap;
    }

}
/* =========================================================
   SELECT PERSONALIZADO
========================================================= */

.custom-select {
    width: 100%;
    height: 48px;

    padding: 0 44px 0 15px;

    border: 1px solid #e3d7ca;
    border-radius: 13px;

    background-color: #ffffff;

    color: #3e3026;

    font-family: inherit;
    font-size: 14px;
    font-weight: 500;

    cursor: pointer;

    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    transition: all .2s ease;

    /* Flecha personalizada */
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237a5c43' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
}


.custom-select:hover {
    border-color: #cbb6a2;

    background-color: #fffdf9;
}


.custom-select:focus {
    border-color: #a78668;

    box-shadow:
        0 0 0 4px rgba(167, 134, 104, .13);
}


.custom-select:disabled {
    background-color: #f2ece5;

    color: #9d8d80;

    cursor: not-allowed;

    opacity: .75;
}


.custom-select option {
    color: #3e3026;
    background: #ffffff;
}
/* =========================================================
   ROOMS
========================================================= */

.room-layout {
    display: grid;

    grid-template-columns:
        minmax(320px, .70fr)
        minmax(0, 1.30fr);

    gap: 20px;

    align-items: start;
}


.room-create-card {
    position: sticky;

    top: 100px;
}


.room-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 15px;
}


.room-card {
    padding: 18px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 18px;

    box-shadow:
        0 7px 22px rgba(93,70,53,.05);
}


.room-card-top {
    display: flex;

    gap: 12px;

    margin-bottom: 16px;
}


.room-number-box {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #7a5c43;

    color: white;

    font-size: 17px;

    font-weight: 800;
}


.room-heading {
    flex: 1;

    display: flex;

    justify-content: space-between;

    gap: 10px;
}


.room-heading h3 {
    margin: 2px 0 4px;

    color: #3e3026;

    font-size: 16px;
}


.room-heading > div > span {
    color: #8c7766;

    font-size: 11px;
}


.room-type-info {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin-bottom: 14px;
}


.room-type-info > div {
    padding: 11px;

    background: #f8f2eb;

    border-radius: 11px;
}


.room-type-info span {
    display: block;

    margin-bottom: 3px;

    color: #9a8777;

    font-size: 10px;

    text-transform: uppercase;
}


.room-type-info strong {
    color: #5d4635;

    font-size: 13px;
}


.room-rates-mini {
    padding: 12px;

    background: #f8f2eb;

    border-radius: 12px;

    margin-bottom: 14px;
}


.room-rates-mini-title {
    display: block;

    margin-bottom: 8px;

    color: #7a6a5b;

    font-size: 11px;
    font-weight: 700;

    text-transform: uppercase;
}


.room-rate-mini-row {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 5px 0;

    font-size: 12px;
}


.room-rate-mini-row + .room-rate-mini-row {
    border-top: 1px solid #e9ded3;
}


.room-rate-mini-row span {
    color: #7a6a5b;
}


.room-rate-mini-row strong {
    color: #5d4635;
}


.room-no-rate {
    padding: 9px;

    color: #a06f41;

    background: #faefd9;

    border-radius: 8px;

    font-size: 12px;

    text-align: center;
}


.room-actions {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 7px;
}


.room-actions form {
    margin: 0;
}


.room-actions .table-action-btn {
    width: 100%;

    min-width: 0;
}


.room-rate-preview {
    margin-bottom: 18px;

    padding: 14px;

    border-radius: 14px;

    background: #f8f2eb;

    border: 1px solid #e7ddd2;
}


.room-rate-preview-title {
    display: flex;

    gap: 9px;

    margin-bottom: 10px;
}


.room-rate-preview-title strong,
.room-rate-preview-title small {
    display: block;
}


.room-rate-preview-title strong {
    color: #5d4635;

    font-size: 13px;
}


.room-rate-preview-title small {
    margin-top: 2px;

    color: #8c7766;

    font-size: 11px;
}


.room-rate-preview-row {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 8px 0;

    border-top: 1px solid #e9ded3;
}


.room-rate-preview-row span {
    color: #5d4635;

    font-size: 12px;

    font-weight: 600;
}


.room-rate-preview-row small {
    display: block;

    margin-top: 2px;

    color: #8c7766;

    font-weight: normal;
}


.room-rate-preview-row strong {
    color: #7a5c43;

    font-size: 13px;
}


.room-status-cleaning {
    background: #faefd9;

    color: #a16b24;
}


.room-status-maintenance {
    background: #eee5f4;

    color: #72528a;
}


@media(max-width: 1100px) {

    .room-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width: 900px) {

    .room-layout {
        grid-template-columns: 1fr;
    }


    .room-create-card {
        position: static;
    }

}


@media(max-width: 550px) {

    .room-heading {
        flex-direction: column;
    }


    .room-actions {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   REGISTRO MASIVO HABITACIONES
========================================================= */

.room-register-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;

    padding: 4px;

    margin-bottom: 22px;

    background: #f1e7dc;

    border-radius: 12px;
}


.room-register-tab {
    border: 0;

    padding: 10px 8px;

    border-radius: 9px;

    background: transparent;

    color: #7a6a5b;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}


.room-register-tab:hover {
    color: #5d4635;
}


.room-register-tab.active {
    background: #fffaf4;

    color: #5d4635;

    box-shadow:
        0 3px 10px rgba(93, 70, 53, .10);
}


.bulk-room-summary {
    display: flex;

    align-items: center;
    justify-content: space-between;

    margin-bottom: 16px;

    padding: 13px 15px;

    background: #f8f2eb;

    border: 1px solid #e7ddd2;

    border-radius: 12px;
}


.bulk-room-summary span {
    color: #7a6a5b;

    font-size: 13px;
}


.bulk-room-summary strong {
    color: #7a5c43;

    font-size: 22px;
}
/* =========================================================
   PAGINACIÓN
========================================================= */

.hotel-pagination {
    margin-top: 24px;
    display: flex;
    justify-content: center;
}

.hotel-pagination nav {
    width: auto;
}

.hotel-pagination .pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;

    margin: 0;
    padding: 0;

    list-style: none;
}

.hotel-pagination .page-item {
    margin: 0;
}

.hotel-pagination .page-link {
    min-width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0 12px;

    border: 1px solid #e2d5c8;
    border-radius: 10px !important;

    background: #fffaf4;

    color: #7a5c43;

    font-family: inherit;
    font-size: 13px;
    font-weight: 600;

    text-decoration: none;

    box-shadow: none;

    transition: all .2s ease;
}

.hotel-pagination .page-link:hover {
    background: #f1e7dc;
    border-color: #cfb8a3;

    color: #5d4635;
}

.hotel-pagination .page-item.active .page-link {
    background: #7a5c43;
    border-color: #7a5c43;

    color: #ffffff;
}

.hotel-pagination .page-item.disabled .page-link {
    background: #f4eee7;
    border-color: #eadfd4;

    color: #b8a99c;

    cursor: not-allowed;
}

.hotel-pagination svg {
    width: 16px !important;
    height: 16px !important;
}

/* =========================================================
   PRODUCTOS
========================================================= */

.product-layout {
    display: grid;
    grid-template-columns:
        minmax(320px, .7fr)
        minmax(0, 1.3fr);

    gap: 20px;

    align-items: start;
}


.product-create-card {
    position: sticky;
    top: 100px;
}


.product-search {
    display: flex;
    gap: 8px;

    margin-bottom: 16px;
}


.product-search .custom-input {
    flex: 1;
}


.product-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 14px;
}


.product-card {
    padding: 18px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 17px;

    box-shadow:
        0 6px 20px rgba(93, 70, 53, .05);
}


.product-card-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 12px;
}


.product-card-header h3 {
    margin:
        5px 0
        3px;

    color: #3e3026;

    font-size: 16px;
}


.product-card-header small {
    color: #958274;

    font-size: 11px;
}


.product-category {
    display: inline-block;

    padding: 4px 8px;

    border-radius: 7px;

    background: #f1e7dc;

    color: #7a5c43;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;
}


.product-numbers {
    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 8px;

    margin: 15px 0;
}


.product-numbers > div {
    padding: 12px;

    border-radius: 11px;

    background: #f8f2eb;
}


.product-numbers span {
    display: block;

    margin-bottom: 3px;

    color: #958274;

    font-size: 10px;

    text-transform: uppercase;
}


.product-numbers strong {
    color: #5d4635;

    font-size: 16px;
}


.product-stock-low {
    color: #a94b42 !important;
}


.stock-warning {
    padding: 8px 10px;

    margin-bottom: 12px;

    border-radius: 9px;

    background: #fbe9e7;

    color: #a94b42;

    font-size: 11px;
    font-weight: 700;
}


.product-actions {
    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    gap: 6px;
}


.product-actions form {
    margin: 0;
}


.product-actions button {
    width: 100%;
    min-width: 0;
}


.stock-product-summary {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 12px;

    margin-bottom: 18px;

    border-radius: 11px;

    background: #f8f2eb;

    color: #5d4635;

    font-size: 13px;
}


.product-alert-error {
    padding: 12px 14px;

    margin-bottom: 14px;

    border-radius: 11px;

    background: #fbe9e7;

    color: #a94b42;

    font-size: 13px;
}


@media(max-width: 1150px) {

    .product-grid {
        grid-template-columns: 1fr;
    }

}


@media(max-width: 900px) {

    .product-layout {
        grid-template-columns: 1fr;
    }


    .product-create-card {
        position: static;
    }

}


@media(max-width: 550px) {

    .product-search {
        flex-direction: column;
    }


    .product-actions {
        grid-template-columns: 1fr 1fr;
    }

}
/* =========================================================
   FOTOS DE PRODUCTOS
========================================================= */

.product-image-box {
    width: 100%;
    height: 160px;

    margin-bottom: 14px;

    overflow: hidden;

    border-radius: 13px;

    background: #f1e7dc;

    border: 1px solid #e7ddd2;
}


.product-image {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
}


.product-image-placeholder {
    width: 100%;
    height: 100%;

    display: flex;

    align-items: center;
    justify-content: center;

    background:
        linear-gradient(
            135deg,
            #f1e7dc,
            #fffaf4
        );

    font-size: 48px;
}
/* =========================================================
   INVENTARIO
========================================================= */

.inventory-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;

    margin-bottom: 18px;
}


.inventory-summary-card {
    display: flex;
    align-items: center;

    gap: 13px;

    padding: 17px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 16px;

    box-shadow:
        0 5px 18px rgba(93,70,53,.04);
}


.inventory-summary-icon {
    width: 46px;
    height: 46px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #f1e7dc;

    border-radius: 12px;

    font-size: 20px;
}


.inventory-summary-card span {
    display: block;

    color: #8c7766;

    font-size: 11px;

    margin-bottom: 3px;
}


.inventory-summary-card strong {
    color: #5d4635;

    font-size: 22px;
}


.inventory-danger-number {
    color: #a94b42 !important;
}



/* =========================================================
   FILTROS
========================================================= */

.inventory-filter-card {
    margin-bottom: 18px;
}


.inventory-filters {
    display: grid;

    grid-template-columns:
        minmax(180px, 1.5fr)
        minmax(150px, 1fr)
        minmax(140px, .8fr)
        minmax(140px, .8fr)
        auto;

    gap: 12px;

    align-items: end;
}


.inventory-filters .form-group {
    margin-bottom: 0;
}


.inventory-filter-actions {
    display: flex;

    gap: 7px;

    padding-bottom: 1px;
}



/* =========================================================
   HISTORIAL
========================================================= */

.inventory-history-card {
    padding: 0;
    overflow: hidden;
}


.inventory-history-header {
    display: flex;

    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border-bottom: 1px solid #eee4da;
}


.inventory-history-header h3 {
    margin: 0 0 3px;

    color: #3e3026;

    font-size: 16px;
}


.inventory-history-header p {
    margin: 0;

    color: #8c7766;

    font-size: 12px;
}


.inventory-list {
    display: flex;

    flex-direction: column;
}


.inventory-movement {
    display: flex;

    gap: 14px;

    padding: 17px 20px;

    border-bottom: 1px solid #eee4da;

    transition: background .15s ease;
}


.inventory-movement:hover {
    background: #fffdf9;
}


.inventory-movement:last-child {
    border-bottom: 0;
}


.inventory-movement-icon {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    font-size: 17px;
    font-weight: 800;
}


.inventory-icon-in {
    background: #eaf3eb;
    color: #4f7954;
}


.inventory-icon-out {
    background: #f8e8e6;
    color: #a94b42;
}


.inventory-icon-adjustment {
    background: #faefd9;
    color: #a16b24;
}


.inventory-movement-main {
    flex: 1;

    min-width: 0;
}


.inventory-movement-header {
    display: flex;

    justify-content: space-between;

    gap: 15px;
}


.inventory-movement-header h4 {
    margin: 0 0 3px;

    color: #3e3026;

    font-size: 14px;
}


.inventory-movement-header span {
    color: #8c7766;

    font-size: 11px;
}


.inventory-quantity {
    font-size: 18px;
    font-weight: 800;
}


.inventory-quantity-in {
    color: #4f7954;
}


.inventory-quantity-out {
    color: #a94b42;
}


.inventory-quantity-adjustment {
    color: #a16b24;
}


.inventory-stock-change {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    margin-top: 9px;

    padding: 6px 9px;

    background: #f8f2eb;

    border-radius: 8px;

    color: #7a6a5b;

    font-size: 11px;
}


.inventory-stock-change strong {
    color: #5d4635;

    font-size: 12px;
}


.inventory-arrow {
    color: #b4a497;
}


.inventory-note {
    margin-top: 9px;

    color: #6f5d4f;

    font-size: 12px;

    line-height: 1.45;
}


.inventory-movement-footer {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;

    margin-top: 10px;

    color: #a08d7d;

    font-size: 10px;
}


.hotel-pagination {
    padding: 17px 20px;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1000px) {

    .inventory-filters {
        grid-template-columns:
            1fr 1fr;
    }


    .inventory-filter-actions {
        grid-column: 1 / -1;
    }

}


@media(max-width: 700px) {

    .inventory-summary-grid {
        grid-template-columns: 1fr;
    }


    .inventory-filters {
        grid-template-columns: 1fr;
    }


    .inventory-filter-actions {
        grid-column: auto;

        flex-direction: column;
    }


    .inventory-movement-header {
        flex-direction: column;
    }


    .inventory-quantity {
        align-self: flex-start;
    }

}
/* =========================================================
   RECEPCIÓN
========================================================= */

.reception-summary {
    display: grid;

    grid-template-columns:
        repeat(5, minmax(0, 1fr));

    gap: 10px;

    margin-bottom: 16px;
}


.reception-summary-card {
    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px;

    border: 1px solid #e7ddd2;

    border-radius: 14px;

    background: #fffaf4;

    color: inherit;

    font-family: inherit;

    cursor: pointer;

    text-align: left;

    transition: .2s ease;
}


.reception-summary-card:hover {
    border-color: #cdb9a6;

    transform: translateY(-1px);
}


.reception-summary-card.active {
    border-color: #9f8065;

    background: #f7eee5;

    box-shadow:
        0 4px 14px rgba(93,70,53,.08);
}


.reception-summary-icon {
    width: 39px;
    height: 39px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #f1e7dc;

    color: #7a5c43;

    font-weight: 800;
}


.reception-icon-available {
    background: #e8f2e9;

    color: #4f7954;
}


.reception-icon-occupied {
    background: #f5e8df;

    color: #9a6345;
}


.reception-icon-cleaning {
    background: #faefd9;

    color: #a16b24;
}


.reception-icon-maintenance {
    background: #eee5f4;

    color: #72528a;
}


.reception-summary-card span {
    display: block;

    color: #8c7766;

    font-size: 10px;
}


.reception-summary-card strong {
    display: block;

    margin-top: 2px;

    color: #4a382c;

    font-size: 19px;
}



/* =========================================================
   BUSCADOR
========================================================= */

.reception-toolbar {
    display: flex;

    justify-content: flex-end;

    margin-bottom: 16px;
}


.reception-search-box {
    width: min(100%, 420px);

    height: 44px;

    display: flex;

    align-items: center;

    gap: 8px;

    padding: 0 13px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 12px;
}


.reception-search-box input {
    width: 100%;

    border: 0;

    background: transparent;

    outline: 0;

    color: #3e3026;

    font-family: inherit;

    font-size: 13px;
}



/* =========================================================
   HABITACIONES
========================================================= */

.reception-room-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}


.reception-room-card {
    min-width: 0;

    padding: 16px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 17px;

    box-shadow:
        0 5px 18px rgba(93,70,53,.045);
}


.reception-room-header {
    display: flex;

    align-items: flex-start;

    gap: 10px;
}


.reception-room-number {
    min-width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    padding: 0 8px;

    border-radius: 12px;

    background: #7a5c43;

    color: #fff;

    font-size: 15px;
    font-weight: 800;
}


.reception-room-title {
    flex: 1;

    min-width: 0;
}


.reception-room-title h3 {
    margin: 3px 0;

    color: #3e3026;

    font-size: 14px;
}


.reception-room-title span {
    color: #968374;

    font-size: 10px;
}


.reception-status-occupied {
    background: #f4e6dd;

    color: #975f42;
}


.reception-room-basic {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;

    margin: 13px 0;
}


.reception-room-basic > div {
    padding: 9px;

    background: #f8f2eb;

    border-radius: 9px;
}


.reception-room-basic span {
    display: block;

    color: #9a8777;

    font-size: 9px;

    text-transform: uppercase;
}


.reception-room-basic strong {
    display: block;

    margin-top: 2px;

    color: #5d4635;

    font-size: 12px;
}



/* =========================================================
   TARIFAS EN TARJETA
========================================================= */

.reception-rates {
    min-height: 105px;

    padding: 10px;

    margin-bottom: 11px;

    background: #f8f2eb;

    border-radius: 11px;
}


.reception-section-label {
    display: block;

    margin-bottom: 5px;

    color: #9a8777;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;
}


.reception-rate-row {
    display: flex;

    justify-content: space-between;

    gap: 10px;

    padding: 4px 0;

    color: #756456;

    font-size: 11px;
}


.reception-rate-row + .reception-rate-row {
    border-top: 1px solid #eadfd4;
}


.reception-rate-row strong {
    color: #5d4635;
}


.reception-more-rates {
    display: block;

    margin-top: 5px;

    color: #9a8777;

    font-size: 9px;
}


.reception-rent-button {
    width: 100%;

    padding: 10px 12px;

    border: 0;

    border-radius: 10px;

    background: #7a5c43;

    color: #fff;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}


.reception-rent-button:hover {
    background: #5d4635;
}


.reception-rent-button:disabled {
    opacity: .45;

    cursor: not-allowed;
}



/* =========================================================
   ESTADÍA OCUPADA
========================================================= */

.reception-current-stay {
    padding-top: 2px;
}


.reception-guest {
    padding: 10px;

    margin-bottom: 8px;

    background: #f8f2eb;

    border-radius: 10px;
}


.reception-guest span,
.reception-guest small {
    display: block;

    color: #968374;

    font-size: 10px;
}


.reception-guest strong {
    display: block;

    margin: 2px 0;

    color: #4b392c;

    font-size: 13px;
}


.reception-time-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;
}


.reception-time-grid > div {
    padding: 9px;

    background: #f8f2eb;

    border-radius: 9px;
}


.reception-time-grid span {
    display: block;

    color: #968374;

    font-size: 9px;
}


.reception-time-grid strong {
    color: #5d4635;

    font-size: 12px;
}


.reception-payment-summary {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 6px;

    margin: 8px 0;
}


.reception-payment-summary > div {
    padding: 8px 5px;

    border: 1px solid #ece0d5;

    border-radius: 8px;

    text-align: center;
}


.reception-payment-summary span {
    display: block;

    color: #968374;

    font-size: 8px;

    text-transform: uppercase;
}


.reception-payment-summary strong {
    display: block;

    margin-top: 2px;

    color: #5d4635;

    font-size: 11px;
}


.reception-payment-summary .reception-paid {
    color: #4f7954;
}


.reception-payment-summary .reception-balance {
    color: #a94b42;
}


.reception-view-button {
    width: 100%;

    padding: 9px;

    border: 1px solid #decfc1;

    border-radius: 9px;

    background: #f8f2eb;

    color: #8c7766;

    font-family: inherit;

    font-size: 11px;
}


.reception-room-unavailable {
    padding: 17px;

    background: #f8f2eb;

    border-radius: 10px;

    color: #8c7766;

    font-size: 11px;

    text-align: center;
}



/* =========================================================
   MODAL CHECK-IN
========================================================= */

.reception-checkin-modal {
    width: min(94vw, 720px);

    max-height: 92vh;

    padding: 0;

    border: 0;

    border-radius: 20px;

    background: #fffaf4;

    box-shadow:
        0 25px 70px rgba(50,35,25,.22);
}


.reception-checkin-modal::backdrop {
    background: rgba(42,31,23,.45);

    backdrop-filter: blur(2px);
}


.reception-modal-container {
    max-height: 92vh;

    overflow-y: auto;

    padding: 22px;
}


.reception-modal-header {
    display: flex;

    justify-content: space-between;

    gap: 20px;

    margin-bottom: 18px;
}


.reception-modal-overline {
    color: #9b806b;

    font-size: 10px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .08em;
}


.reception-modal-header h3 {
    margin: 3px 0;

    color: #35281f;

    font-size: 20px;
}


.reception-modal-header p {
    margin: 0;

    color: #8c7766;

    font-size: 11px;
}


.reception-modal-close {
    width: 35px;
    height: 35px;

    flex-shrink: 0;

    border: 0;

    border-radius: 10px;

    background: #f1e7dc;

    color: #7a5c43;

    font-size: 21px;

    cursor: pointer;
}


.reception-validation {
    padding: 12px 14px;

    margin-bottom: 16px;

    border-radius: 11px;

    background: #fbe9e7;

    color: #98483f;

    font-size: 11px;
}


.reception-validation ul {
    margin: 6px 0 0;

    padding-left: 18px;
}



/* =========================================================
   SECCIONES DEL FORM
========================================================= */

.reception-form-section {
    padding: 17px 0;

    border-top: 1px solid #ede2d7;
}


.reception-form-section-title {
    display: flex;

    gap: 10px;

    align-items: center;

    margin-bottom: 15px;
}


.reception-form-section-title > span {
    width: 29px;
    height: 29px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 9px;

    background: #7a5c43;

    color: #fff;

    font-size: 11px;
    font-weight: 800;
}


.reception-form-section-title strong,
.reception-form-section-title small {
    display: block;
}


.reception-form-section-title strong {
    color: #49372b;

    font-size: 13px;
}


.reception-form-section-title small {
    margin-top: 2px;

    color: #948071;

    font-size: 10px;
}


.reception-optional {
    color: #aa9482;

    font-size: 9px;

    font-weight: normal;
}



/* =========================================================
   TARIFA SELECCIONADA
========================================================= */

.reception-rate-selected {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 8px;

    margin-bottom: 14px;
}



.reception-rate-selected > div {
    padding: 10px;

    background: #f8f2eb;

    border-radius: 10px;
}


.reception-rate-selected span {
    display: block;

    color: #968374;

    font-size: 9px;
}


.reception-rate-selected strong {
    display: block;

    margin-top: 2px;

    color: #5d4635;

    font-size: 12px;
}



/* =========================================================
   TIPO DE COBRO
========================================================= */

.reception-payment-condition {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 8px;

    margin-bottom: 15px;
}


.reception-payment-condition label {
    position: relative;

    cursor: pointer;
}


.reception-payment-condition input {
    position: absolute;

    opacity: 0;

    pointer-events: none;
}


.reception-payment-condition label > span {
    min-height: 68px;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 10px;

    border: 1px solid #e5d9cd;

    border-radius: 11px;

    background: #fffdf9;

    transition: .2s ease;
}


.reception-payment-condition input:checked + span {
    border-color: #99775b;

    background: #f2e7dc;

    box-shadow:
        0 0 0 2px rgba(122,92,67,.08);
}


.reception-payment-condition strong {
    color: #513d30;

    font-size: 11px;
}


.reception-payment-condition small {
    margin-top: 3px;

    color: #968374;

    font-size: 9px;

    line-height: 1.3;
}



/* =========================================================
   MIXTO
========================================================= */

.reception-mixed-summary {
    display: grid;

    grid-template-columns:
        1fr auto
        1fr auto;

    align-items: center;

    gap: 8px;

    padding: 10px;

    margin-bottom: 10px;

    border-radius: 10px;

    background: #f8f2eb;

    font-size: 10px;
}


.reception-mixed-summary span {
    color: #968374;
}


.reception-mixed-summary strong {
    color: #5d4635;
}



/* =========================================================
   TOTAL
========================================================= */

.reception-checkin-total {
    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;

    padding: 15px;

    margin-top: 6px;

    border-radius: 13px;

    background: #f1e7dc;
}


.reception-checkin-total span {
    display: block;

    color: #8c7766;

    font-size: 10px;
}


.reception-checkin-total strong {
    display: block;

    margin-top: 2px;

    color: #5d4635;

    font-size: 21px;
}


.reception-payment-state {
    color: #7a5c43;

    font-size: 11px;

    font-weight: 700;

    text-align: right;
}


.reception-modal-actions {
    display: flex;

    justify-content: flex-end;

    gap: 8px;

    margin-top: 15px;
}


.reception-confirm-button {
    padding: 11px 18px;

    border: 0;

    border-radius: 10px;

    background: #7a5c43;

    color: #fff;

    font-family: inherit;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}


.reception-confirm-button:hover {
    background: #5d4635;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1200px) {

    .reception-room-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .reception-summary {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


@media(max-width: 750px) {

    .reception-room-grid {
        grid-template-columns: 1fr;
    }


    .reception-summary {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .reception-payment-condition {
        grid-template-columns: 1fr;
    }


    .reception-rate-selected {
        grid-template-columns: 1fr;
    }


    .reception-modal-actions {
        flex-direction: column-reverse;
    }


    .reception-modal-actions button {
        width: 100%;
    }

}


@media(max-width: 480px) {

    .reception-summary {
        grid-template-columns: 1fr;
    }


    .reception-room-header {
        flex-wrap: wrap;
    }


    .reception-payment-summary {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   TARIFARIOS - MODALIDAD DE SALIDA
========================================================= */

.rate-calculation-mode {
    margin-top: 7px;
}


.rate-mode-badge {
    display: inline-flex;
    align-items: center;

    padding: 5px 8px;

    border-radius: 8px;

    font-size: 9px;
    font-weight: 700;

    line-height: 1;
}


.rate-mode-duration {
    background: #f1e7dc;

    color: #7a5c43;
}


.rate-mode-fixed {
    background: #e9eef5;

    color: #53677d;
}


.rate-validation-errors {
    padding: 10px 12px;

    margin-bottom: 13px;

    border-radius: 10px;

    background: #fbe9e7;

    color: #a94b42;

    font-size: 11px;
}


.rate-validation-errors > div + div {
    margin-top: 3px;
}


.rate-edit-header {
    display: flex;

    justify-content: space-between;
    align-items: flex-start;

    gap: 15px;

    margin-bottom: 18px;
}


.rate-edit-header h3 {
    margin: 0 0 4px;

    color: #3e3026;
}


.rate-edit-header p {
    margin: 0;

    color: #8c7766;

    font-size: 11px;
}


.rate-modal-close {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    border: 0;

    border-radius: 9px;

    background: #f1e7dc;

    color: #7a5c43;

    font-size: 20px;

    cursor: pointer;
}


/* Las acciones ahora tienen 3 botones */

.rate-actions {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 5px;
}


.rate-actions form {
    margin: 0;
}@media(max-width: 900px) {

    .reception-rate-selected {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media(max-width: 550px) {

    .reception-rate-selected {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   CONFIGURACIÓN DEL HOTEL
========================================================= */

.hotel-settings-layout {
    max-width: 900px;

    margin: 0 auto;

    display: flex;

    flex-direction: column;

    gap: 16px;
}


.hotel-settings-business {
    display: flex;

    align-items: center;

    gap: 14px;
}


.hotel-settings-logo {
    width: 58px;
    height: 58px;

    flex-shrink: 0;

    overflow: hidden;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f1e7dc;

    border: 1px solid #e7ddd2;
}


.hotel-settings-logo img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.hotel-settings-logo > div {
    font-size: 25px;
}


.hotel-settings-overline {
    display: block;

    color: #9a8777;

    font-size: 9px;
    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: .07em;
}


.hotel-settings-business h3 {
    margin: 3px 0;

    color: #3e3026;

    font-size: 18px;
}


.hotel-settings-business p {
    margin: 0;

    color: #8c7766;

    font-size: 11px;
}



/* =========================================================
   CABECERA
========================================================= */

.hotel-settings-title {
    display: flex;

    align-items: center;

    gap: 11px;

    margin-bottom: 20px;
}


.hotel-settings-title-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #f1e7dc;

    font-size: 19px;
}


.hotel-settings-title h3 {
    margin: 0 0 3px;

    color: #3e3026;

    font-size: 16px;
}


.hotel-settings-title p {
    margin: 0;

    color: #8c7766;

    font-size: 11px;
}



/* =========================================================
   HORARIOS
========================================================= */

.hotel-settings-time-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 12px;
}


.hotel-time-card {
    padding: 16px;

    border: 1px solid #e7ddd2;

    border-radius: 14px;

    background: #fffdf9;
}


.hotel-time-card-header {
    display: flex;

    align-items: center;

    gap: 9px;

    margin-bottom: 13px;
}


.hotel-time-card-header > span {
    font-size: 19px;
}


.hotel-time-card-header strong {
    display: block;

    color: #513d30;

    font-size: 12px;
}


.hotel-time-card-header small {
    display: block;

    margin-top: 2px;

    color: #968374;

    font-size: 9px;
}


.hotel-time-input {
    font-size: 17px;

    font-weight: 700;

    color: #5d4635;
}



/* =========================================================
   EJEMPLO
========================================================= */

.hotel-settings-example {
    display: flex;

    gap: 12px;

    padding: 14px;

    margin-top: 17px;

    border-radius: 12px;

    background: #f8f2eb;

    border: 1px solid #e8ddd2;
}


.hotel-settings-example-icon {
    font-size: 19px;
}


.hotel-settings-example strong {
    color: #513d30;

    font-size: 11px;
}


.hotel-settings-example p {
    margin: 4px 0 11px;

    color: #7a6a5b;

    font-size: 10px;

    line-height: 1.5;
}


.hotel-settings-example-flow {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 7px;

    color: #8c7766;

    font-size: 10px;
}


.hotel-settings-example-flow strong {
    padding: 5px 8px;

    border-radius: 7px;

    background: #efe2d5;

    color: #6a4f3a;
}


.hotel-settings-actions {
    display: flex;

    justify-content: flex-end;

    margin-top: 18px;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 650px) {

    .hotel-settings-time-grid {
        grid-template-columns: 1fr;
    }


    .hotel-settings-actions {
        justify-content: stretch;
    }


    .hotel-settings-actions button {
        width: 100%;
    }

}
/* =========================================================
   DETALLE DE ESTADÍA
========================================================= */

.stay-back-row {
    margin-bottom: 7px;
}

.stay-back-link {
    color: #8c7766;
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

.stay-back-link:hover {
    color: #5d4635;
}

.stay-room-type {
    display: inline-block;
    margin-left: 7px;
    padding: 4px 8px;
    border-radius: 7px;
    background: #f1e7dc;
    color: #7a5c43;
    font-size: 10px;
    vertical-align: middle;
}

.stay-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 9px;
    font-size: 10px;
    font-weight: 700;
}

.stay-status-active {
    background: #f4e6dd;
    color: #975f42;
}

.stay-status-completed {
    background: #e8f2e9;
    color: #4f7954;
}


/* =========================================================
   INFORMACIÓN
========================================================= */

.stay-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.stay-card-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.stay-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #f1e7dc;
    font-size: 18px;
}

.stay-card-title h3 {
    margin: 0 0 2px;
    color: #423127;
    font-size: 14px;
}

.stay-card-title span {
    color: #968374;
    font-size: 10px;
}

.stay-data-list {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
}

.stay-data-list > div {
    padding: 10px;
    border-radius: 9px;
    background: #f8f2eb;
}

.stay-data-list span {
    display: block;
    color: #968374;
    font-size: 9px;
    margin-bottom: 3px;
}

.stay-data-list strong {
    color: #5d4635;
    font-size: 11px;
}


/* =========================================================
   RESUMEN ECONÓMICO
========================================================= */

.stay-financial-grid {
    display: grid;
    grid-template-columns: repeat(5,minmax(0,1fr));
    gap: 9px;
    margin-bottom: 14px;
}

.stay-financial-card {
    padding: 13px;
    border: 1px solid #e7ddd2;
    border-radius: 12px;
    background: #fffaf4;
}

.stay-financial-card span {
    display: block;
    margin-bottom: 3px;
    color: #968374;
    font-size: 9px;
    text-transform: uppercase;
}

.stay-financial-card strong {
    color: #5d4635;
    font-size: 16px;
}

.stay-financial-total {
    background: #f1e7dc;
}

.stay-financial-paid strong,
.stay-financial-clear strong {
    color: #4f7954;
}

.stay-financial-balance strong {
    color: #a94b42;
}


/* =========================================================
   CONSUMOS / PAGOS
========================================================= */

.stay-content-grid {
    display: grid;
    grid-template-columns: minmax(0,1.1fr) minmax(320px,.9fr);
    gap: 14px;
}

.stay-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
}

.stay-section-header h3 {
    margin: 0 0 2px;
    color: #423127;
    font-size: 14px;
}

.stay-section-header p {
    margin: 0;
    color: #968374;
    font-size: 10px;
}

.stay-consumption-item,
.stay-payment-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid #eee4da;
}

.stay-consumption-item:last-child,
.stay-payment-item:last-child {
    border-bottom: 0;
}

.stay-product-image {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #f1e7dc;
}

.stay-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stay-consumption-product,
.stay-payment-info {
    flex: 1;
    min-width: 0;
}

.stay-consumption-product strong,
.stay-payment-info strong {
    display: block;
    color: #4a382c;
    font-size: 11px;
}

.stay-consumption-product span,
.stay-consumption-product small,
.stay-payment-info span,
.stay-payment-info small {
    display: block;
    margin-top: 2px;
    color: #968374;
    font-size: 9px;
}

.stay-consumption-quantity {
    padding: 5px 7px;
    border-radius: 7px;
    background: #f1e7dc;
    color: #7a5c43;
    font-size: 10px;
    font-weight: 700;
}

.stay-consumption-total,
.stay-payment-total {
    color: #5d4635;
    font-size: 12px;
    font-weight: 800;
}

.stay-section-total {
    display: flex;
    justify-content: space-between;
    padding-top: 13px;
    margin-top: 7px;
    border-top: 1px solid #e5d9cd;
    color: #7a6a5b;
    font-size: 11px;
}

.stay-section-total strong {
    color: #5d4635;
    font-size: 14px;
}


/* =========================================================
   PAGOS
========================================================= */

.stay-payment-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f1e7dc;
}

.stay-payment-breakdown {
    display: flex;
    flex-direction: column;
    gap: 2px;
    color: #8c7766;
    font-size: 8px;
}

.stay-payment-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding-top: 13px;
    margin-top: 8px;
    border-top: 1px solid #e5d9cd;
}

.stay-payment-summary > div {
    padding: 9px;
    border-radius: 9px;
    background: #f8f2eb;
}

.stay-payment-summary span {
    display: block;
    color: #968374;
    font-size: 9px;
}

.stay-payment-summary strong {
    display: block;
    margin-top: 2px;
    color: #5d4635;
    font-size: 13px;
}

.stay-balance-text {
    color: #a94b42 !important;
}

.stay-paid-text {
    color: #4f7954 !important;
}


/* =========================================================
   VACÍO / ERRORES
========================================================= */

.stay-empty-section {
    padding: 25px 12px;
    text-align: center;
    color: #968374;
}

.stay-empty-section > div {
    margin-bottom: 7px;
    font-size: 25px;
}

.stay-empty-section strong,
.stay-empty-section span {
    display: block;
}

.stay-empty-section strong {
    color: #665244;
    font-size: 11px;
}

.stay-empty-section span {
    margin-top: 3px;
    font-size: 9px;
}

.stay-error-box {
    padding: 9px 11px;
    margin-bottom: 10px;
    border-radius: 9px;
    background: #fbe9e7;
    color: #a94b42;
    font-size: 10px;
}


/* =========================================================
   CHECK-OUT
========================================================= */

.stay-checkout-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px;
    margin-top: 14px;
    border-radius: 15px;
    background: #5d4635;
    color: #fff;
}

.stay-checkout-overline {
    color: #dac8b8;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.stay-checkout-panel h3 {
    margin: 3px 0;
    font-size: 15px;
}

.stay-checkout-panel p {
    margin: 0;
    color: #e3d7cb;
    font-size: 10px;
}

.stay-checkout-button {
    padding: 10px 15px;
    flex-shrink: 0;
    border: 0;
    border-radius: 9px;
    background: #fffaf4;
    color: #5d4635;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
}


/* =========================================================
   MODAL CONSUMOS
========================================================= */

.stay-consumption-modal {
    width: min(94vw, 680px);
    max-height: 90vh;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fffaf4;
    box-shadow: 0 25px 70px rgba(50,35,25,.25);
}

.stay-consumption-modal::backdrop {
    background: rgba(42,31,23,.45);
    backdrop-filter: blur(2px);
}

.stay-modal-content {
    max-height: 90vh;
    overflow-y: auto;
    padding: 20px;
}

.stay-modal-header {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 15px;
}

.stay-modal-header span {
    color: #9a8777;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.stay-modal-header h3 {
    margin: 2px 0;
    color: #423127;
    font-size: 18px;
}

.stay-modal-header p {
    margin: 0;
    color: #968374;
    font-size: 10px;
}

.stay-modal-header > button {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 9px;
    background: #f1e7dc;
    color: #7a5c43;
    font-size: 20px;
    cursor: pointer;
}


/* =========================================================
   SELECTOR DE PRODUCTOS
========================================================= */

.stay-product-picker {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 8px;
    max-height: 310px;
    overflow-y: auto;
    margin-bottom: 14px;
}

.stay-product-option {
    cursor: pointer;
}

.stay-product-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.stay-product-option-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px;
    border: 1px solid #e5d9cd;
    border-radius: 11px;
    background: #fffdf9;
    transition: .15s;
}

.stay-product-option input:checked + .stay-product-option-card {
    border-color: #8d6b50;
    background: #f1e7dc;
    box-shadow: 0 0 0 2px rgba(122,92,67,.08);
}

.stay-product-option-image {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f1e7dc;
}

.stay-product-option-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stay-product-option-info {
    flex: 1;
    min-width: 0;
}

.stay-product-option-info strong,
.stay-product-option-info small {
    display: block;
}

.stay-product-option-info strong {
    color: #4a382c;
    font-size: 10px;
}

.stay-product-option-info small {
    margin-top: 2px;
    color: #968374;
    font-size: 8px;
}

.stay-product-option-price {
    color: #7a5c43;
    font-size: 10px;
    font-weight: 800;
}


/* =========================================================
   PREVISUALIZACIÓN
========================================================= */

.stay-consumption-selection {
    grid-template-columns: repeat(3,1fr);
    gap: 7px;
    margin-bottom: 12px;
}

.stay-consumption-selection > div {
    padding: 9px;
    border-radius: 9px;
    background: #f8f2eb;
}

.stay-consumption-selection span {
    display: block;
    color: #968374;
    font-size: 8px;
}

.stay-consumption-selection strong {
    display: block;
    margin-top: 2px;
    color: #5d4635;
    font-size: 10px;
}

.stay-consumption-preview {
    display: flex;
    justify-content: space-between;
    padding: 11px;
    border-radius: 10px;
    background: #f1e7dc;
    color: #7a6a5b;
    font-size: 10px;
}

.stay-consumption-preview strong {
    color: #5d4635;
    font-size: 14px;
}

.stay-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 7px;
    margin-top: 13px;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1000px) {

    .stay-financial-grid {
        grid-template-columns: repeat(3,1fr);
    }

    .stay-content-grid {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 700px) {

    .stay-info-grid,
    .stay-data-list {
        grid-template-columns: 1fr;
    }

    .stay-financial-grid {
        grid-template-columns: repeat(2,1fr);
    }

    .stay-product-picker {
        grid-template-columns: 1fr;
    }

    .stay-consumption-selection {
        grid-template-columns: 1fr;
    }

    .stay-checkout-panel {
        flex-direction: column;
        align-items: stretch;
    }
}
.reception-view-link {
    display: block;
    text-align: center;
    text-decoration: none;
    box-sizing: border-box;
    cursor: pointer;
}

.reception-view-link:hover {
    background: #f1e7dc;
    color: #5d4635;
}
/* =========================================================
   MODAL CARRITO DE CONSUMOS
========================================================= */

.stay-cart-modal {
    width: min(96vw, 1200px);
}

.stay-cart-modal-content {
    padding: 22px;
}

.stay-cart-layout {
    display: grid;
    grid-template-columns: 1.2fr .9fr;
    gap: 18px;
}

.stay-cart-products-panel,
.stay-cart-summary-panel {
    border: 1px solid #e7ddd2;
    border-radius: 16px;
    background: #fffdf9;
    overflow: hidden;
}

.stay-cart-search-wrap {
    padding: 16px;
    border-bottom: 1px solid #eee4da;
}

.stay-cart-products-grid {
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    max-height: 460px;
    overflow-y: auto;
}

.stay-cart-product-card {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-align: left;
    padding: 12px;
    border: 1px solid #e5d9cd;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: .15s;
}

.stay-cart-product-card:hover {
    border-color: #8d6b50;
    background: #f8f2eb;
}

.stay-cart-product-image {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #f1e7dc;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stay-cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stay-cart-product-info {
    min-width: 0;
    flex: 1;
}

.stay-cart-product-info strong {
    display: block;
    color: #45362c;
    font-size: 13px;
}

.stay-cart-product-info span {
    display: block;
    margin-top: 3px;
    color: #0f8a5d;
    font-size: 12px;
    font-weight: 800;
}

.stay-cart-product-info small {
    display: block;
    margin-top: 2px;
    color: #8c7766;
    font-size: 10px;
}

.stay-cart-summary-header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid #eee4da;
}

.stay-cart-summary-header h4 {
    margin: 0 0 3px;
    color: #3f3027;
    font-size: 18px;
}

.stay-cart-summary-header p {
    margin: 0;
    color: #8c7766;
    font-size: 11px;
}

.stay-cart-table-wrap {
    padding: 16px;
    overflow-x: auto;
}

.stay-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.stay-cart-table th {
    text-align: left;
    font-size: 11px;
    color: #6d5d52;
    padding: 10px 8px;
    background: #f5f1eb;
}

.stay-cart-table td {
    padding: 12px 8px;
    border-top: 1px solid #eee4da;
    font-size: 12px;
    color: #4d3c31;
    vertical-align: middle;
}

.stay-cart-row-product strong {
    display: block;
    font-size: 12px;
    color: #423127;
}

.stay-cart-row-product small {
    display: block;
    margin-top: 2px;
    color: #8c7766;
    font-size: 10px;
}

.stay-cart-qty-input {
    width: 74px;
    height: 38px;
    border: 1px solid #d9cfc4;
    border-radius: 10px;
    padding: 0 10px;
    font-size: 13px;
    font-family: inherit;
}

.stay-cart-remove-btn {
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: #fbe9e7;
    color: #b64437;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
}

.stay-cart-empty-row {
    text-align: center;
    color: #8c7766;
    padding: 24px 10px !important;
}

.stay-cart-total-box {
    margin: 0 16px 16px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #f7f1df;
    border: 1px solid #e8d59b;
}

.stay-cart-total-box span {
    display: block;
    color: #99620e;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.stay-cart-total-box strong {
    display: block;
    margin-top: 5px;
    color: #9a5a00;
    font-size: 24px;
    font-weight: 800;
}

.stay-cart-actions {
    padding: 0 16px 16px;
    justify-content: flex-end;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 900px) {
    .stay-cart-layout {
        grid-template-columns: 1fr;
    }

    .stay-cart-products-grid {
        grid-template-columns: 1fr 1fr;
        max-height: 320px;
    }
}

@media(max-width: 600px) {
    .stay-cart-modal {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .stay-cart-modal-content {
        height: 100vh;
        padding: 14px;
    }

    .stay-cart-products-grid {
        grid-template-columns: 1fr;
        max-height: 260px;
    }

    .stay-cart-summary-header h4 {
        font-size: 16px;
    }

    .stay-cart-total-box strong {
        font-size: 22px;
    }

    .stay-cart-actions {
        flex-direction: column;
    }

    .stay-cart-actions button {
        width: 100%;
    }
}
/* =========================================================
   PAGO DE ESTADÍA
========================================================= */

.stay-payment-modal {
    width: min(94vw, 520px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fffaf4;
    box-shadow: 0 25px 70px rgba(50,35,25,.25);
}

.stay-payment-modal::backdrop,
.stay-checkout-modal::backdrop {
    background: rgba(42,31,23,.45);
    backdrop-filter: blur(2px);
}

.stay-payment-modal-content {
    padding: 20px;
}

.stay-payment-balance-box {
    padding: 15px;
    margin-bottom: 17px;
    border-radius: 12px;
    background: #f1e7dc;
}

.stay-payment-balance-box span {
    display: block;
    color: #8c7766;
    font-size: 10px;
}

.stay-payment-balance-box strong {
    display: block;
    margin-top: 3px;
    color: #5d4635;
    font-size: 23px;
}

.stay-pay-full-button {
    width: 100%;
    padding: 9px;
    margin-top: -5px;
    margin-bottom: 14px;
    border: 1px dashed #cbb49f;
    border-radius: 9px;
    background: #fffaf4;
    color: #7a5c43;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.stay-pay-full-button:hover {
    background: #f8f2eb;
}

.stay-mixed-payment-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 14px;
}

.stay-mixed-payment-summary > div {
    padding: 11px;
    border-radius: 10px;
    background: #f8f2eb;
}

.stay-mixed-payment-summary span {
    display: block;
    color: #968374;
    font-size: 9px;
}

.stay-mixed-payment-summary strong {
    display: block;
    margin-top: 3px;
    color: #5d4635;
    font-size: 13px;
}


/* =========================================================
   CHECK-OUT MODAL
========================================================= */

.stay-checkout-modal {
    width: min(92vw, 470px);
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fffaf4;
    box-shadow: 0 25px 70px rgba(50,35,25,.25);
}

.stay-checkout-modal-content {
    padding: 24px;
    text-align: center;
}

.stay-checkout-confirm-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    border-radius: 15px;
    background: #f1e7dc;
    font-size: 25px;
}

.stay-checkout-modal h3 {
    margin: 0 0 6px;
    color: #3e3026;
    font-size: 19px;
}

.stay-checkout-modal p {
    margin: 0;
    color: #8c7766;
    font-size: 11px;
}

.stay-checkout-confirm-summary {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 7px;
    margin: 17px 0;
}

.stay-checkout-confirm-summary > div {
    padding: 10px 6px;
    border-radius: 9px;
    background: #f8f2eb;
}

.stay-checkout-confirm-summary span {
    display: block;
    color: #968374;
    font-size: 8px;
    text-transform: uppercase;
}

.stay-checkout-confirm-summary strong {
    display: block;
    margin-top: 3px;
    color: #5d4635;
    font-size: 12px;
}

.stay-checkout-cleaning-notice {
    padding: 11px;
    margin-bottom: 15px;
    border-radius: 10px;
    background: #faefd9;
    color: #856023;
    font-size: 10px;
}

.stay-checkout-cleaning-notice strong {
    display: block;
    margin-top: 3px;
}

.stay-confirm-checkout-button {
    padding: 10px 16px;
    border: 0;
    border-radius: 9px;
    background: #5d4635;
    color: #fff;
    font-family: inherit;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
}

.stay-confirm-checkout-button:hover {
    background: #49372b;
}

.stay-checkout-button:disabled {
    opacity: .55;
    cursor: not-allowed;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 500px) {

    .stay-mixed-payment-summary {
        grid-template-columns: 1fr;
    }

    .stay-checkout-confirm-summary {
        grid-template-columns: 1fr;
    }

    .stay-payment-modal,
    .stay-checkout-modal {
        width: calc(100vw - 20px);
    }
}

/* =========================================================
   LIMPIEZA
========================================================= */

.cleaning-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 16px;
}


.cleaning-summary-card {
    display: flex;
    align-items: center;
    gap: 11px;

    padding: 14px;

    border: 1px solid #e7ddd2;
    border-radius: 14px;

    background: #fffaf4;
    color: inherit;

    font-family: inherit;
    text-align: left;

    cursor: pointer;

    transition: .18s ease;
}


.cleaning-summary-card:hover {
    border-color: #c9b39f;
    transform: translateY(-1px);
}


.cleaning-summary-card.active {
    border-color: #98785d;
    background: #f7eee5;

    box-shadow:
        0 5px 15px
        rgba(93,70,53,.07);
}


.cleaning-summary-icon {
    width: 43px;
    height: 43px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 11px;

    background: #f1e7dc;

    font-size: 18px;
}


.cleaning-icon-occupied {
    background: #f4e6dd;
}


.cleaning-icon-pending {
    background: #faefd9;
}


.cleaning-summary-card span {
    display: block;

    color: #8c7766;

    font-size: 10px;
}


.cleaning-summary-card strong {
    display: block;

    margin-top: 2px;

    color: #4a382c;

    font-size: 20px;
}



/* =========================================================
   BUSCADOR
========================================================= */

.cleaning-toolbar {
    display: flex;
    justify-content: flex-end;

    margin-bottom: 15px;
}


.cleaning-search-box {
    width: min(100%, 420px);
    height: 44px;

    display: flex;
    align-items: center;

    gap: 8px;

    padding: 0 13px;

    background: #fffaf4;

    border: 1px solid #e7ddd2;

    border-radius: 12px;
}


.cleaning-search-box input {
    width: 100%;

    border: 0;

    outline: 0;

    background: transparent;

    color: #45352b;

    font-family: inherit;

    font-size: 12px;
}



/* =========================================================
   TARJETAS
========================================================= */

.cleaning-room-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    gap: 14px;
}


.cleaning-room-card {
    padding: 16px;

    border: 1px solid #e7ddd2;

    border-radius: 17px;

    background: #fffaf4;

    box-shadow:
        0 5px 18px
        rgba(93,70,53,.045);
}


.cleaning-room-card-pending {
    border-color: #e5cc94;

    background: #fffdf7;
}


.cleaning-room-header {
    display: flex;

    align-items: flex-start;

    gap: 10px;
}


.cleaning-room-number {
    min-width: 48px;
    height: 48px;

    padding: 0 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background: #7a5c43;

    color: #fff;

    font-size: 15px;
    font-weight: 800;
}


.cleaning-number-pending {
    background: #b78637;
}


.cleaning-room-title {
    flex: 1;
    min-width: 0;
}


.cleaning-room-title h3 {
    margin: 3px 0;

    color: #3e3026;

    font-size: 14px;
}


.cleaning-room-title span {
    color: #968374;

    font-size: 10px;
}



/* =========================================================
   ESTADOS
========================================================= */

.cleaning-status {
    flex-shrink: 0;

    padding: 5px 7px;

    border-radius: 8px;

    font-size: 9px;
    font-weight: 700;
}


.cleaning-status-occupied {
    background: #f4e6dd;

    color: #975f42;
}


.cleaning-status-pending {
    background: #faefd9;

    color: #94671e;
}



/* =========================================================
   DATOS
========================================================= */

.cleaning-room-basic {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 7px;

    margin: 13px 0;
}


.cleaning-room-basic > div,
.cleaning-time-grid > div {
    padding: 9px;

    border-radius: 9px;

    background: #f8f2eb;
}


.cleaning-room-basic span,
.cleaning-time-grid span {
    display: block;

    color: #968374;

    font-size: 9px;

    text-transform: uppercase;
}


.cleaning-room-basic strong,
.cleaning-time-grid strong {
    display: block;

    margin-top: 2px;

    color: #5d4635;

    font-size: 11px;
}


.cleaning-info-row {
    padding: 10px;

    margin-bottom: 7px;

    border-radius: 9px;

    background: #f8f2eb;
}


.cleaning-info-row span {
    display: block;

    color: #968374;

    font-size: 9px;
}


.cleaning-info-row strong {
    display: block;

    margin-top: 2px;

    color: #5d4635;

    font-size: 11px;
}


.cleaning-time-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 7px;
}



/* =========================================================
   OCUPADA
========================================================= */

.cleaning-reference-notice {
    padding: 9px 10px;

    margin-top: 8px;

    border-radius: 9px;

    background: #f4e6dd;

    color: #8a6049;

    font-size: 9px;

    line-height: 1.45;
}



/* =========================================================
   PENDIENTE DE LIMPIEZA
========================================================= */

.cleaning-last-exit {
    padding: 11px;

    margin-bottom: 8px;

    border-radius: 10px;

    background: #faefd9;
}


.cleaning-last-exit span {
    display: block;

    color: #967334;

    font-size: 9px;

    text-transform: uppercase;
}


.cleaning-last-exit strong {
    display: block;

    margin-top: 3px;

    color: #72531d;

    font-size: 12px;
}


.cleaning-last-guest {
    margin-bottom: 10px;

    color: #8c7766;

    font-size: 9px;
}


.cleaning-last-guest span {
    font-weight: 700;
}



/* =========================================================
   BOTÓN LIMPIA
========================================================= */

.cleaning-complete-button {
    width: 100%;

    padding: 11px 12px;

    border: 0;

    border-radius: 10px;

    background: #4f7954;

    color: #fff;

    font-family: inherit;

    font-size: 11px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}


.cleaning-complete-button:hover {
    background: #3f6645;

    transform: translateY(-1px);
}



/* =========================================================
   ERROR
========================================================= */

.cleaning-error-box {
    padding: 11px 13px;

    margin-bottom: 14px;

    border-radius: 10px;

    background: #fbe9e7;

    color: #a94b42;

    font-size: 11px;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width: 1100px) {

    .cleaning-room-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

}


@media(max-width: 700px) {

    .cleaning-summary-grid {
        grid-template-columns: 1fr;
    }


    .cleaning-room-grid {
        grid-template-columns: 1fr;
    }


    .cleaning-toolbar {
        justify-content: stretch;
    }


    .cleaning-search-box {
        width: 100%;
    }

}


@media(max-width: 450px) {

    .cleaning-room-header {
        flex-wrap: wrap;
    }


    .cleaning-status {
        margin-left: 58px;
    }


    .cleaning-time-grid {
        grid-template-columns: 1fr;
    }

}
/* =========================================================
   VENTA RÁPIDA
========================================================= */

.quick-sale-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 1.25fr)
        minmax(360px, .75fr);
    gap: 15px;
    align-items: start;
}

.quick-sale-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.quick-sale-section-header h3 {
    margin: 0 0 2px;
    color: #423127;
    font-size: 15px;
}

.quick-sale-section-header span {
    color: #968374;
    font-size: 10px;
}


/* BUSCADOR */

.quick-sale-search {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    margin-bottom: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 12px;
    background: #fff;
}

.quick-sale-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    font-family: inherit;
}


/* PRODUCTOS */

.quick-sale-product-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0,1fr));
    gap: 10px;
    max-height: 560px;
    overflow-y: auto;
}

.quick-sale-product-card {
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    border: 1px solid #e7ddd2;
    border-radius: 13px;
    background: #fff;
    text-align: left;
    cursor: pointer;
}

.quick-sale-product-card:hover {
    border-color: #a98d76;
    background: #fffaf4;
}

.quick-sale-product-image {
    width: 100%;
    height: 115px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1e7dc;
    font-size: 27px;
    overflow: hidden;
}

.quick-sale-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.quick-sale-product-data {
    padding: 10px;
}

.quick-sale-product-data strong,
.quick-sale-product-data span,
.quick-sale-product-data small {
    display: block;
}

.quick-sale-product-data strong {
    color: #45352b;
    font-size: 11px;
}

.quick-sale-product-data span {
    margin-top: 3px;
    color: #4f7954;
    font-size: 12px;
    font-weight: 800;
}

.quick-sale-product-data small {
    margin-top: 2px;
    color: #968374;
    font-size: 9px;
}


/* CARRITO */

.quick-sale-cart {
    position: sticky;
    top: 20px;
}

.quick-sale-count {
    min-width: 29px;
    height: 29px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: #f1e7dc;
    color: #7a5c43 !important;
    font-weight: 800;
}

.quick-sale-cart-items {
    max-height: 315px;
    overflow-y: auto;
}

.quick-sale-empty-cart {
    padding: 30px 10px;
    text-align: center;
    color: #968374;
}

.quick-sale-empty-cart div {
    font-size: 27px;
}

.quick-sale-empty-cart strong,
.quick-sale-empty-cart span {
    display: block;
}

.quick-sale-empty-cart strong {
    margin-top: 5px;
    color: #5d4635;
    font-size: 11px;
}

.quick-sale-empty-cart span {
    margin-top: 2px;
    font-size: 9px;
}

.quick-sale-cart-row {
    display: grid;
    grid-template-columns:
        minmax(0,1fr)
        auto auto auto;
    align-items: center;
    gap: 8px;
    padding: 10px 0;
    border-bottom: 1px solid #eee4da;
}

.quick-sale-cart-name strong {
    display: block;
    color: #45352b;
    font-size: 10px;
}

.quick-sale-cart-name small {
    display: block;
    margin-top: 2px;
    color: #968374;
    font-size: 8px;
}

.quick-sale-quantity {
    display: flex;
    align-items: center;
    border: 1px solid #e1d5ca;
    border-radius: 8px;
    overflow: hidden;
}

.quick-sale-quantity button {
    width: 27px;
    height: 29px;
    border: 0;
    background: #f8f2eb;
    cursor: pointer;
}

.quick-sale-quantity span {
    width: 27px;
    text-align: center;
    font-size: 10px;
}

.quick-sale-row-total {
    font-size: 10px;
    color: #5d4635;
}

.quick-sale-remove {
    width: 28px;
    height: 28px;
    border: 0;
    border-radius: 8px;
    background: #fbe9e7;
    color: #a94b42;
    cursor: pointer;
}


/* TOTAL */

.quick-sale-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    margin: 14px 0;
    border-radius: 12px;
    background: #f1e7dc;
}

.quick-sale-total span {
    color: #7a6a5b;
    font-size: 11px;
}

.quick-sale-total strong {
    color: #5d4635;
    font-size: 22px;
}


/* PAGO */

.quick-sale-payment > label {
    display: block;
    margin-bottom: 6px;
    font-size: 10px;
    font-weight: 700;
    color: #5d4635;
}

.quick-sale-payment-info {
    padding: 12px;
    margin-top: 10px;
    border-radius: 10px;
    background: #f8f2eb;
}

.quick-sale-payment-info span,
.quick-sale-payment-info small {
    display: block;
}

.quick-sale-payment-info span {
    color: #968374;
    font-size: 9px;
}

.quick-sale-payment-info strong {
    display: block;
    margin: 3px 0;
    color: #5d4635;
    font-size: 18px;
}

.quick-sale-payment-info small {
    color: #968374;
    font-size: 8px;
}

.quick-sale-submit {
    width: 100%;
    padding: 12px;
    margin-top: 14px;
    border: 0;
    border-radius: 11px;
    background: #5d4635;
    color: #fff;
    font-family: inherit;
    font-weight: 700;
    cursor: pointer;
}

.quick-sale-submit:disabled {
    opacity: .45;
    cursor: not-allowed;
}


/* HISTORIAL */

.quick-sale-recent {
    margin-top: 15px;
}

.quick-sale-history-item {
    display: grid;
    grid-template-columns:
        minmax(0,1.3fr)
        .6fr .6fr auto;
    gap: 12px;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid #eee4da;
}

.quick-sale-history-item > div > strong,
.quick-sale-history-item > div > span,
.quick-sale-history-item > div > small {
    display: block;
}

.quick-sale-history-item strong {
    color: #4a382c;
    font-size: 10px;
}

.quick-sale-history-item span,
.quick-sale-history-item small {
    color: #968374;
    font-size: 9px;
}

.quick-sale-history-total {
    font-size: 13px !important;
}


/* RESPONSIVE */

@media(max-width: 1050px) {

    .quick-sale-product-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

@media(max-width: 850px) {

    .quick-sale-layout {
        grid-template-columns: 1fr;
    }

    .quick-sale-cart {
        position: static;
    }
}

@media(max-width: 550px) {

    .quick-sale-product-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .quick-sale-product-image {
        height: 95px;
    }

    .quick-sale-cart-row {
        grid-template-columns:
            minmax(0,1fr) auto auto;
    }

    .quick-sale-row-total {
        grid-column: 1 / 3;
    }

    .quick-sale-history-item {
        grid-template-columns: 1fr auto;
    }
}

@media(max-width: 380px) {

    .quick-sale-product-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   CAJA
========================================================= */

.cash-page-header {
    align-items: center;
}

.cash-pdf-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 10px;
    background: #5d4635;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
}

.cash-pdf-button:hover {
    background: #49372b;
    color: #fff;
}


/* PERIODOS */

.cash-period-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.cash-period-button {
    padding: 8px 13px;
    border: 1px solid #e0d4c8;
    border-radius: 10px;
    background: #fffaf4;
    color: #7a6a5b;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.cash-period-button.active {
    border-color: #7a5c43;
    background: #7a5c43;
    color: #fff;
}


/* FILTROS */

.cash-filter-card {
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 15px;
    background: #fffaf4;
}

.cash-filter-grid {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0,1fr))
        auto;
    gap: 10px;
    align-items: end;
}

.cash-filter-grid label,
.cash-range-fields label {
    display: block;
    margin-bottom: 5px;
    color: #6d5d52;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.cash-filter-submit {
    min-height: 48px;
    padding: 0 17px;
    border: 0;
    border-radius: 11px;
    background: #7a5c43;
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.cash-range-fields {
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 10px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid #eee4da;
}


/* RESUMEN */

.cash-main-summary {
    display: grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.cash-summary-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 14px;
    background: #fffaf4;
}

.cash-total-card {
    background: #5d4635;
    border-color: #5d4635;
}

.cash-summary-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f1e7dc;
    font-size: 18px;
}

.cash-summary-card span {
    display: block;
    color: #8c7766;
    font-size: 9px;
    text-transform: uppercase;
}

.cash-summary-card strong {
    display: block;
    margin-top: 3px;
    color: #49382d;
    font-size: 17px;
}

.cash-total-card span {
    color: #dac8b8;
}

.cash-total-card strong {
    color: #fff;
}


/* VISUAL */

.cash-visual-grid {
    display: grid;
    grid-template-columns:
        minmax(300px,.75fr)
        minmax(0,1.25fr);
    gap: 14px;
    margin-bottom: 14px;
}

.cash-section-title {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.cash-section-title h3 {
    margin: 0 0 2px;
    color: #423127;
    font-size: 14px;
}

.cash-section-title span {
    color: #968374;
    font-size: 9px;
}


/* METODOS */

.cash-method-item {
    margin-bottom: 17px;
}

.cash-method-row {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 7px;
}

.cash-method-row > div strong,
.cash-method-row > div span {
    display: block;
}

.cash-method-row strong {
    color: #5d4635;
    font-size: 11px;
}

.cash-method-row span {
    margin-top: 2px;
    color: #968374;
    font-size: 8px;
}

.cash-progress {
    height: 9px;
    overflow: hidden;
    border-radius: 10px;
    background: #eee5dc;
}

.cash-progress-bar {
    height: 100%;
    border-radius: inherit;
    background: #7a5c43;
}

.cash-progress-qr .cash-progress-bar {
    background: #96704e;
}


/* GRAFICO */

.cash-daily-chart {
    height: 190px;
    display: flex;
    align-items: stretch;
    gap: 8px;
    overflow-x: auto;
}

.cash-day-column {
    min-width: 54px;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cash-day-value {
    min-height: 25px;
    color: #8c7766;
    font-size: 8px;
    text-align: center;
}

.cash-day-bar-wrap {
    width: 30px;
    flex: 1;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    border-radius: 8px 8px 3px 3px;
    background: #f4eee8;
}

.cash-day-bar {
    width: 100%;
    min-height: 4px;
    border-radius: inherit;
    background: #7a5c43;
}

.cash-day-label {
    margin-top: 6px;
    color: #806f61;
    font-size: 8px;
}


/* TABLA */

.cash-table-wrap {
    overflow-x: auto;
}

.cash-table {
    width: 100%;
    border-collapse: collapse;
}

.cash-table th {
    padding: 10px;
    background: #f5eee7;
    color: #766557;
    font-size: 9px;
    text-align: left;
    text-transform: uppercase;
}

.cash-table td {
    padding: 11px 10px;
    border-bottom: 1px solid #eee5dc;
    color: #574539;
    font-size: 10px;
    vertical-align: middle;
}

.cash-table td strong,
.cash-table td span {
    display: block;
}

.cash-table td > span {
    margin-top: 2px;
    color: #968374;
    font-size: 8px;
}

.cash-category-badge,
.cash-method-badge {
    display: inline-flex !important;
    width: max-content;
    padding: 5px 7px;
    border-radius: 8px;
    font-size: 8px !important;
    font-weight: 700;
}

.cash-category-room {
    background: #f1e7dc;
    color: #7a5c43 !important;
}

.cash-category-snack {
    background: #faefd9;
    color: #876426 !important;
}

.cash-category-sale {
    background: #e9f1e9;
    color: #4f7954 !important;
}

.cash-method-badge {
    background: #f5eee7;
    color: #695647 !important;
}

.cash-table-amount {
    color: #4f7954 !important;
    font-size: 11px !important;
    font-weight: 800;
}


/* RESPONSIVE */

@media(max-width: 1050px) {

    .cash-main-summary {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .cash-filter-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

@media(max-width: 800px) {

    .cash-visual-grid {
        grid-template-columns: 1fr;
    }

    .cash-filter-grid {
        grid-template-columns: 1fr;
    }

    .cash-filter-submit {
        width: 100%;
    }

    .cash-range-fields {
        grid-template-columns: 1fr;
    }
}

@media(max-width: 550px) {

    .cash-main-summary {
        grid-template-columns: 1fr;
    }

    .cash-page-header {
        align-items: stretch;
    }

    .cash-pdf-button {
        width: 100%;
        box-sizing: border-box;
    }

    .cash-period-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .cash-period-button {
        text-align: center;
    }
}
/* =========================================================
   RESERVAS
========================================================= */

.reservation-page-header {
    align-items: center;
}


/* RESUMEN */

.reservation-summary-grid {
    display: grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.reservation-summary-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 14px;
    background: #fffaf4;
}

.reservation-summary-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 11px;
    background: #f1e7dc;
    font-size: 18px !important;
}

.reservation-summary-card > div > span {
    display: block;
    color: #8c7766;
    font-size: 9px;
    text-transform: uppercase;
}

.reservation-summary-card strong {
    display: block;
    margin-top: 2px;
    color: #4a382c;
    font-size: 20px;
}

.reservation-summary-today {
    background: #5d4635;
    border-color: #5d4635;
}

.reservation-summary-today > div > span {
    color: #dac8b8;
}

.reservation-summary-today strong {
    color: #fff;
}


/* FILTROS */

.reservation-filter-card {
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 15px;
    background: #fffaf4;
}

.reservation-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(200px,1.3fr)
        repeat(3,minmax(150px,1fr))
        auto;
    gap: 9px;
    align-items: end;
}

.reservation-filter-grid label {
    display: block;
    margin-bottom: 5px;
    color: #6d5d52;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}

.reservation-filter-button {
    min-height: 48px;
    padding: 0 17px;
    border: 0;
    border-radius: 11px;
    background: #7a5c43;
    color: #fff;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}


/* LISTADO */

.reservation-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reservation-card {
    display: grid;
    grid-template-columns:
        72px
        minmax(0,1fr)
        auto;
    gap: 15px;
    padding: 15px;
    border: 1px solid #e7ddd2;
    border-radius: 15px;
    background: #fffaf4;
}

.reservation-date-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90px;
    border-radius: 12px;
    background: #f1e7dc;
}

.reservation-date-column strong {
    color: #5d4635;
    font-size: 24px;
}

.reservation-date-column span {
    color: #7a5c43;
    font-size: 9px;
    font-weight: 800;
}

.reservation-date-column small {
    color: #968374;
    font-size: 8px;
}

.reservation-main-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 11px;
}

.reservation-main-header h3 {
    margin: 0 0 2px;
    color: #423127;
    font-size: 14px;
}

.reservation-main-header > div > span {
    color: #968374;
    font-size: 9px;
}


/* ESTADOS */

.reservation-status {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 700;
    white-space: nowrap;
}

.reservation-pending {
    background: #faefd9;
    color: #8c651f;
}

.reservation-confirmed {
    background: #e9f1e9;
    color: #4f7954;
}

.reservation-checked {
    background: #ece8f5;
    color: #655184;
}

.reservation-cancelled {
    background: #fbe9e7;
    color: #a94b42;
}

.reservation-completed {
    background: #eee9e4;
    color: #75685f;
}


/* DATOS */

.reservation-data-grid {
    display: grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap: 7px;
}

.reservation-data-grid > div {
    padding: 9px;
    border-radius: 9px;
    background: #f8f2eb;
}

.reservation-data-grid span {
    display: block;
    color: #968374;
    font-size: 8px;
    text-transform: uppercase;
}

.reservation-data-grid strong {
    display: block;
    margin-top: 2px;
    color: #5d4635;
    font-size: 10px;
}

.reservation-notes {
    padding: 8px 10px;
    margin-top: 8px;
    border-radius: 8px;
    background: #fff8ea;
    color: #80694b;
    font-size: 9px;
}


/* ACCIONES */

.reservation-actions {
    width: 135px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
}

.reservation-actions form {
    width: 100%;
}

.reservation-actions button {
    width: 100%;
    min-height: 36px;
    border-radius: 9px;
    font-family: inherit;
    font-size: 9px;
    font-weight: 700;
    cursor: pointer;
}

.reservation-confirm-button {
    border: 0;
    background: #4f7954;
    color: #fff;
}

.reservation-cancel-button {
    border: 1px solid #e9c9c5;
    background: #fff;
    color: #a94b42;
}

.reservation-checkin-button {
    border: 0;
    background: #7a5c43;
    color: #fff;
}

.reservation-checkin-button:disabled {
    opacity: .5;
    cursor: not-allowed;
}


/* MODAL */

.reservation-modal {
    width: min(94vw,760px);
    max-height: 92vh;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: #fffaf4;
    box-shadow: 0 25px 70px rgba(50,35,25,.25);
}

.reservation-modal::backdrop {
    background: rgba(42,31,23,.45);
    backdrop-filter: blur(2px);
}

.reservation-modal-content {
    max-height: 92vh;
    overflow-y: auto;
    padding: 20px;
}

.reservation-modal-section {
    padding: 14px;
    margin-bottom: 11px;
    border: 1px solid #e7ddd2;
    border-radius: 13px;
    background: #fffdf9;
}

.reservation-modal-section-title {
    margin-bottom: 12px;
}

.reservation-modal-section-title strong,
.reservation-modal-section-title span {
    display: block;
}

.reservation-modal-section-title strong {
    color: #49382d;
    font-size: 11px;
}

.reservation-modal-section-title span {
    margin-top: 2px;
    color: #968374;
    font-size: 9px;
}

.reservation-search-rooms-button {
    width: 100%;
    padding: 10px;
    border: 1px dashed #b99f87;
    border-radius: 10px;
    background: #f8f2eb;
    color: #7a5c43;
    font-family: inherit;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
}

.reservation-search-rooms-button:hover {
    background: #f1e7dc;
}

.reservation-textarea {
    height: auto !important;
    resize: vertical;
}


/* RESPONSIVE */

@media(max-width: 1050px) {

    .reservation-summary-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .reservation-filter-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

@media(max-width: 800px) {

    .reservation-card {
        grid-template-columns:
            62px minmax(0,1fr);
    }

    .reservation-actions {
        width: auto;
        grid-column: 1 / -1;
        flex-direction: row;
    }

    .reservation-actions form {
        flex: 1;
    }

    .reservation-actions > button {
        flex: 1;
    }

    .reservation-data-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }
}

@media(max-width: 600px) {

    .reservation-summary-grid,
    .reservation-filter-grid {
        grid-template-columns: 1fr;
    }

    .reservation-filter-button {
        width: 100%;
    }

    .reservation-card {
        grid-template-columns: 1fr;
    }

    .reservation-date-column {
        min-height: auto;
        padding: 10px;
        flex-direction: row;
        gap: 5px;
    }

    .reservation-date-column strong {
        font-size: 17px;
    }

    .reservation-main-header {
        flex-direction: column;
    }

    .reservation-data-grid {
        grid-template-columns: 1fr;
    }

    .reservation-actions {
        grid-column: auto;
        flex-direction: column;
    }

    .reservation-modal {
        width: 100vw;
        max-width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .reservation-modal-content {
        max-height: 100vh;
    }
}

.reservation-delete-button {
    border: 1px solid #dfb5b0;
    background: #fbe9e7;
    color: #a94b42;
}

.reservation-delete-button:hover {
    background: #f5d9d5;
    border-color: #cf9189;
}
/* =========================================================
   USUARIOS / CAJEROS
========================================================= */

.user-summary-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: 10px;
    margin-bottom: 14px;
}

.user-summary-card {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 14px;
    background: #fffaf4;
}

.user-summary-icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    border-radius: 11px;
    background: #f1e7dc;
    font-size: 18px;
}

.user-summary-card span {
    display: block;
    color: #8c7766;
    font-size: 9px;
    text-transform: uppercase;
}

.user-summary-card strong {
    display: block;
    margin-top: 3px;
    color: #49382d;
    font-size: 19px;
}


/* FILTROS */

.user-filter-card {
    padding: 14px;
    margin-bottom: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 15px;
    background: #fffaf4;
}

.user-filter-grid {
    display: grid;
    grid-template-columns:
        minmax(220px,1.5fr)
        minmax(170px,1fr)
        auto;
    gap: 10px;
    align-items: end;
}

.user-filter-grid label {
    display: block;
    margin-bottom: 5px;
    color: #6d5d52;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
}


/* LISTADO */

.user-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.user-card {
    display: grid;
    grid-template-columns:
        50px
        minmax(0,1fr)
        auto;
    gap: 13px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 14px;
    background: #fffaf4;
}

.user-card-avatar {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #7a5c43;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
}

.user-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.user-card-header h3 {
    margin: 0;
    color: #49382d;
    font-size: 13px;
}

.user-card-header > div > span {
    display: block;
    margin-top: 2px;
    color: #8c7766;
    font-size: 9px;
}

.user-status {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 8px;
    font-size: 8px;
    font-weight: 700;
}

.user-active {
    background: #e9f1e9;
    color: #4f7954;
}

.user-inactive {
    background: #fbe9e7;
    color: #a94b42;
}

.user-card-details {
    display: grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap: 7px;
    margin-top: 9px;
}

.user-card-details > div {
    padding: 7px 9px;
    border-radius: 8px;
    background: #f8f2eb;
}

.user-card-details span {
    display: block;
    color: #968374;
    font-size: 7px;
    text-transform: uppercase;
}

.user-card-details strong {
    display: block;
    margin-top: 2px;
    color: #604c3e;
    font-size: 9px;
}


/* ACCIONES */

.user-card-actions {
    width: 135px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-card-actions form {
    width: 100%;
}

.user-card-actions button {
    width: 100%;
    min-height: 34px;
    border-radius: 8px;
    font-family: inherit;
    font-size: 8px;
    font-weight: 700;
    cursor: pointer;
}

.user-action-edit {
    border: 1px solid #dac9b9;
    background: #f1e7dc;
    color: #7a5c43;
}

.user-action-password {
    border: 1px solid #d6c8bb;
    background: #fffaf4;
    color: #5d4635;
}

.user-action-status {
    border: 1px solid #e2d4c7;
    background: #fff;
    color: #786556;
}

.user-action-delete {
    border: 1px solid #dfb5b0;
    background: #fbe9e7;
    color: #a94b42;
}


/* RESPONSIVE */

@media(max-width:800px) {

    .user-card {
        grid-template-columns:
            50px minmax(0,1fr);
    }

    .user-card-actions {
        width: auto;
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .user-filter-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:550px) {

    .user-summary-grid,
    .user-filter-grid {
        grid-template-columns: 1fr;
    }

    .user-card {
        grid-template-columns: 1fr;
    }

    .user-card-avatar {
        margin: auto;
    }

    .user-card-header {
        flex-direction: column;
    }

    .user-card-details {
        grid-template-columns: 1fr;
    }

    .user-card-actions {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
}
/* =========================================================
   AGREGAR STOCK
========================================================= */

.stock-product-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.stock-product-card {
    display: grid;
    grid-template-columns: 65px minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    padding: 14px;
    border: 1px solid #e7ddd2;
    border-radius: 14px;
    background: #fffaf4;
}

.stock-product-image {
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f1e7dc;
}

.stock-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stock-product-info h3 {
    margin: 0;
    color: #49382d;
    font-size: 14px;
}

.stock-product-info > span {
    display: block;
    margin-top: 3px;
    color: #8c7766;
    font-size: 9px;
}

.stock-current {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-top: 9px;
}

.stock-current span {
    color: #8c7766;
    font-size: 9px;
}

.stock-current strong {
    color: #7a5c43;
    font-size: 20px;
}

.stock-current small {
    color: #8c7766;
}

.stock-modal-current,
.stock-result {
    padding: 14px;
    margin-bottom: 12px;
    border-radius: 12px;
    background: #f8f2eb;
}

.stock-modal-current span,
.stock-result span {
    display: block;
    color: #8c7766;
    font-size: 9px;
    text-transform: uppercase;
}

.stock-modal-current strong,
.stock-result strong {
    font-size: 23px;
    color: #5d4635;
}

@media(max-width: 600px) {

    .stock-product-card {
        grid-template-columns: 55px 1fr;
    }

    .stock-product-action {
        grid-column: 1 / -1;
    }

    .stock-product-action button {
        width: 100%;
    }
}
/* =========================================================
   SIDEBAR RESPONSIVE - MÓVIL
========================================================= */

.menu-toggle {
    display: none;
}


/* =========================================================
   TABLET / MÓVIL
========================================================= */

@media (max-width: 900px) {

    /*
    |--------------------------------------------------------------------------
    | BOTÓN HAMBURGUESA
    |--------------------------------------------------------------------------
    */

    .menu-toggle {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        flex-shrink: 0;

        border: 1px solid #e7ddd2;
        border-radius: 11px;

        background: #fffaf4;
        color: #5d4635;

        font-size: 21px;
        font-weight: 700;

        cursor: pointer;
    }


    /*
    |--------------------------------------------------------------------------
    | SIDEBAR
    |--------------------------------------------------------------------------
    */

    .sidebar {
        position: fixed !important;

        top: 0;
        left: 0;

        width: 280px;
        max-width: 85vw;

        height: 100vh;

        z-index: 1200;

        transform: translateX(-100%);

        transition: transform 0.25s ease;

        overflow-y: auto;
    }


    .sidebar.open {
        transform: translateX(0);
    }


    /*
    |--------------------------------------------------------------------------
    | OVERLAY
    |--------------------------------------------------------------------------
    */

    .mobile-overlay {
        position: fixed;

        inset: 0;

        z-index: 1100;

        display: none;

        background: rgba(47, 36, 29, 0.45);
    }


    .mobile-overlay.show {
        display: block;
    }


    /*
    |--------------------------------------------------------------------------
    | CONTENIDO
    |--------------------------------------------------------------------------
    */

    .main-panel {
        width: 100% !important;
        margin-left: 0 !important;
    }


    /*
    |--------------------------------------------------------------------------
    | TOPBAR
    |--------------------------------------------------------------------------
    */

    .topbar {
        width: 100%;

        padding: 14px 16px;

        gap: 12px;
    }


    .topbar-left {
        display: flex;
        align-items: center;
        gap: 12px;

        min-width: 0;
    }


    .topbar-title {
        min-width: 0;
    }


    .topbar-title h3 {
        font-size: 18px;
    }


    .topbar-title p {
        font-size: 12px;
    }


    .topbar-business-mini {
        margin-left: auto;
        flex-shrink: 0;
    }


    .topbar-business-mini div {
        display: none;
    }


    .topbar-business-mini img {
        width: 38px;
        height: 38px;

        object-fit: cover;

        border-radius: 10px;
    }
}


/* =========================================================
   TELÉFONO
========================================================= */

@media (max-width: 480px) {

    .topbar {
        padding: 12px;
    }


    .menu-toggle {
        width: 40px;
        height: 40px;

        font-size: 20px;
    }


    .topbar-title h3 {
        font-size: 17px;
    }


    .topbar-title p {
        font-size: 11px;
    }

}