﻿/* =========================
   ReceptionSearch
   ========================= */

.page-shell {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.page-hero {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 55%, #334155 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.page-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    opacity: 0.78;
    margin-bottom: 0.45rem;
}

.page-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.page-subtitle {
    margin: 0.75rem 0 0;
    max-width: 760px;
    opacity: 0.92;
}

.search-card {
    background: #ffffff;
    border: 1px solid #e6edf4;
    border-radius: 20px;
    padding: 1.1rem;
    box-shadow: 0 8px 26px rgba(15, 23, 42, 0.05);
    margin-bottom: 1.5rem;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0.9rem;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.result-card {
    background: #ffffff;
    border: 1px solid #e6edf4;
    border-radius: 20px;
    padding: 1.1rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

.result-code {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
}

.result-name {
    margin-top: 0.45rem;
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 600;
}

.result-meta {
    margin-top: 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    color: #64748b;
    font-size: 0.88rem;
}

.empty-state {
    background: #ffffff;
    border: 1px dashed #cbd5e1;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    color: #64748b;
}

@media (max-width: 768px) {
    .search-row {
        grid-template-columns: 1fr;
    }

    .page-title {
        font-size: 1.6rem;
    }
}
/* =========================
   ReceptionCheckIn
   ========================= */

.reception-shell {
    max-width: 1280px;
    margin: 0 auto;
    padding: 2rem 1rem 3rem;
}

.reception-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.reception-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.35rem;
}

.reception-title {
    margin: 0;
    font-size: 1.9rem;
    font-weight: 800;
    color: #0f172a;
}

.reception-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
    gap: 1.25rem;
    align-items: start;
}

.control-card,
.state-card {
    background: #ffffff;
    border: 1px solid #e6edf4;
    border-radius: 20px;
    padding: 1.2rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
}

.section-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 1rem;
}

.tablet-hint {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 0.9rem 1rem;
    color: #475569;
    line-height: 1.6;
    font-size: 0.92rem;
}

@media (max-width: 992px) {
    .reception-grid {
        grid-template-columns: 1fr;
    }

    .reception-head {
        flex-direction: column;
        align-items: start;
    }
}
/* =========================
   ReservationDetailsCard
   ========================= */

.oihg-card {
    background: #ffffff;
    border: 1px solid #e7ecf3;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
}

.oihg-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.oihg-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
}

.oihg-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.oihg-pill {
    background: #eef2ff;
    color: #3730a3;
    border-radius: 999px;
    padding: 0.4rem 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
}

.oihg-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(165px, 1fr));
    gap: 0.9rem;
}

.oihg-item {
    background: #f8fafc;
    border-radius: 14px;
    padding: 0.85rem;
    border: 1px solid #eef2f7;
}

.oihg-value {
    font-size: 0.96rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}

/* =========================
   TabletStatusPanel
   ========================= */

.tablet-panel {
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    border: 1px solid #e5edf6;
    border-radius: 18px;
    padding: 1.25rem;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

.tablet-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tablet-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
}

.tablet-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.2rem;
}

.tablet-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.9rem;
}

.tablet-item {
    background: #ffffff;
    border-radius: 14px;
    padding: 0.85rem;
    border: 1px solid #edf2f7;
}

.tablet-item-full {
    grid-column: 1 / -1;
}

.tablet-value {
    font-size: 0.96rem;
    font-weight: 600;
    color: #0f172a;
    word-break: break-word;
}

.tablet-badge {
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.82rem;
    font-weight: 700;
}

.tablet-badge-success {
    background: #dcfce7;
    color: #166534;
}

.tablet-badge-active {
    background: #dbeafe;
    color: #1d4ed8;
}

.tablet-badge-info {
    background: #ecfeff;
    color: #0f766e;
}

.tablet-badge-warning {
    background: #fef3c7;
    color: #92400e;
}
/* =========================
   TabletWaiting
   ========================= */

.tablet-wait-shell {
    min-height: calc(100vh - 3rem);
    display: grid;
    place-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 45%, #ffffff 100%);
}

.tablet-wait-card {
    width: min(760px, 100%);
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e5edf6;
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
    text-align: center;
}

.tablet-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #dbeafe;
    color: #1d4ed8;
    font-size: 2rem;
    font-weight: 700;
}

.tablet-wait-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.tablet-wait-subtitle {
    margin-top: 0.8rem;
    color: #475569;
    font-size: 1.02rem;
}

.tablet-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.tablet-info-box {
    background: #f8fafc;
    border: 1px solid #e8edf4;
    border-radius: 18px;
    padding: 1rem;
}

.tablet-info-label {
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.3rem;
}

.tablet-info-value {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    word-break: break-word;
}

@media (max-width: 768px) {
    .tablet-info-grid {
        grid-template-columns: 1fr;
    }

    .tablet-wait-title {
        font-size: 1.6rem;
    }
}
/* =========================
   TabletCheckIn
   ========================= */

.tablet-checkin-shell {
    min-height: calc(100vh - 3rem);
    padding: 1.25rem;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 40%, #ffffff 100%);
}

.tablet-form-card {
    width: min(980px, 100%);
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e5edf6;
    border-radius: 28px;
    padding: 1.5rem;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.10);
}

.tablet-form-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.tablet-form-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    color: #64748b;
    margin-bottom: 0.3rem;
}

.tablet-form-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
}

.tablet-form-subtitle {
    margin-top: 0.55rem;
    color: #475569;
    font-size: 1rem;
    max-width: 700px;
}

.tablet-form-code {
    background: #eff6ff;
    color: #1d4ed8;
    border-radius: 999px;
    padding: 0.55rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 700;
    white-space: nowrap;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.terms-card {
    margin-top: 1.35rem;
    background: #ffffff;
    border: 1px solid #e7edf5;
    border-radius: 20px;
    padding: 1rem;
}

.terms-title {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

.terms-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 1rem;
    color: #334155;
    line-height: 1.65;
}

.tablet-actions {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}
.terms-warning {
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    font-size: 0.9rem;
    line-height: 1.5;
}
.signature-success {
    background: #dcfce7;
    border: 1px solid #86efac;
    color: #166534;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.5;
}

.signature-muted {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    border-radius: 12px;
    padding: 0.75rem 0.9rem;
    font-size: 0.92rem;
    line-height: 1.5;
}
.terms-meta {
    margin-top: 0.35rem;
    color: #64748b;
    font-size: 0.88rem;
}

.terms-language-picker {
    min-width: 240px;
}

.terms-box {
    background: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 16px;
    padding: 1rem;
    color: #334155;
    line-height: 1.65;
    white-space: pre-line;
    max-height: 320px;
    overflow: auto;
}
/* =========================
   SignaturePad
   ========================= */

.sig-shell {
    background: #ffffff;
    border: 1px solid #e6ecf4;
    border-radius: 18px;
    padding: 1rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.sig-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
    margin-bottom: 0.9rem;
}

.sig-label {
    font-size: 0.92rem;
    color: #334155;
    font-weight: 700;
}

.sig-help {
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 0.2rem;
}

.sig-clear {
    white-space: nowrap;
}

.sig-canvas {
    width: 100%;
    display: block;
    background: #fcfdff;
    border: 2px dashed #cfd8e3;
    border-radius: 16px;
    touch-action: none;
}

@media (max-width: 768px) {
    .tablet-form-head {
        flex-direction: column;
    }

    .tablet-form-title {
        font-size: 1.6rem;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .tablet-actions {
        flex-direction: column;
    }

        .tablet-actions .btn {
            width: 100%;
        }
}
.hero-kicker,
.page-kicker {
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.78rem;
    opacity: 0.78;
    margin-bottom: 0.45rem;
}

.hero-title,
.page-title {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
}

.hero-subtitle,
.page-subtitle {
    margin: 0.75rem 0 0;
    max-width: 760px;
    opacity: 0.92;
}

.reception-layout {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
    align-items: start;
}

.oihg-big {
    font-size: 1.45rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    word-break: break-word;
}

.oihg-grid.two-cols {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.col-span-2 {
    grid-column: span 2;
}

.tablet-form-card .form-control,
.tablet-form-card .form-select,
.search-card .form-control,
.search-card .form-select {
    min-height: 52px;
    border-radius: 14px;
    border: 1px solid #dbe4ef;
    box-shadow: none;
}

    .tablet-form-card .form-control:focus,
    .tablet-form-card .form-select:focus,
    .search-card .form-control:focus,
    .search-card .form-select:focus {
        border-color: #93c5fd;
        box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.12);
    }

.tablet-form-title,
.tablet-form-subtitle,
.oihg-value,
.tablet-info-value,
.tablet-info-label,
.terms-title,
.terms-box,
.signature-success,
.signature-muted {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.terms-card {
    overflow: hidden;
}

.terms-meta {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-wrap: wrap;
    line-height: 1.5;
}

.terms-box {
    white-space: pre-line;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.tablet-actions .btn {
    min-height: 52px;
    border-radius: 14px;
    font-weight: 600;
    padding-inline: 1rem;
}

.tablet-form-code,
.oihg-pill,
.tablet-badge {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

.sig-shell {
    border-radius: 22px;
}

.sig-canvas {
    min-height: 260px;
    background-image: linear-gradient(to bottom, rgba(148, 163, 184, 0.12) 1px, transparent 1px);
    background-size: 100% 42px;
}

@media (max-width: 992px) {
    .reception-layout {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .col-span-2 {
        grid-column: auto;
    }

    .oihg-grid.two-cols {
        grid-template-columns: 1fr;
    }

    .tablet-form-code {
        width: 100%;
        text-align: center;
    }
}
tablet-head-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.55rem;
}

.tablet-language-badge {
    background: #ecfeff;
    color: #155e75;
    border: 1px solid #bae6fd;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.check-options {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.check-option {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: #334155;
    font-size: 0.96rem;
    line-height: 1.5;
}

    .check-option input[type="checkbox"] {
        width: 18px;
        height: 18px;
        margin-top: 0.2rem;
        flex: 0 0 auto;
    }

@media (max-width: 768px) {
    .tablet-head-badges {
        width: 100%;
        align-items: stretch;
    }

    .tablet-language-badge,
    .tablet-form-code {
        text-align: center;
    }
}
.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 3px;
    flex: 0 0 auto;
}

.tablet-language-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}