/* PrimeCheckin — stili personalizzati (admin + portale ospite) */

/* Logo nel navbar: chip bianco con wordmark */
.navbar .brand-chip {
    background: #fff;
    border-radius: 8px;
    padding: 5px 12px;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}
.navbar .brand-chip img {
    height: 24px;
    width: auto;
    display: block;
}

/* Miniature documenti nel dettaglio check-in */
.doc-thumb {
    width: 110px;
    height: 80px;
    object-fit: cover;
}

/* ---- Portale ospite (mobile-first) ---- */
.guest-wrap {
    max-width: 640px;
    margin: 0 auto;
}

/* Barra di avanzamento wizard */
.wizard-steps {
    display: flex;
    gap: 6px;
    margin-bottom: 1.25rem;
}
.wizard-steps .ws {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: #dee2e6;
}
.wizard-steps .ws.done { background: #0d6efd; }

/* Dropdown ricerca comuni/stati */
.search-select { position: relative; }
.search-select .ss-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 1050;
    max-height: 240px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ced4da;
    border-radius: 0 0 .375rem .375rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    display: none;
}
.search-select .ss-results.open { display: block; }
.search-select .ss-item {
    padding: .55rem .75rem;
    cursor: pointer;
}
.search-select .ss-item:hover,
.search-select .ss-item.active { background: #e9f2ff; }
.search-select .ss-empty {
    padding: .55rem .75rem;
    color: #6c757d;
}

/* Campi upload documento */
.upload-box {
    border: 2px dashed #ced4da;
    border-radius: .5rem;
    padding: 1rem;
    text-align: center;
    background: #f8f9fa;
}
.upload-box.uploaded {
    border-color: #198754;
    background: #eaf7f0;
}

/* Touch target comodi su mobile */
@media (max-width: 576px) {
    .guest-wrap .form-control,
    .guest-wrap .form-select,
    .guest-wrap .btn {
        min-height: 46px;
    }
}
