
html body {
    overflow-x: hidden;
}

table{
	display: table;
	
}

.price-1{
	display: flex;
	flex-direction: column;
}
.price-box{
    background:#fff;
    
    border-radius:6px;
    padding:6px 10px;
    width:120px;    
    font-size:14px;
    box-shadow:0 2px 4px rgba(0,0,0,.06);
}
.price-line{
    
    gap:6px;
    padding:2px 0;
    border-bottom:1px dashed #e6e6e6;
}
.price-line:last-child{border-bottom:none;}
.price-line .people{color:#444; white-space:nowrap;}
.price-line .value{color:#E63946; font-weight:600; white-space:nowrap;}


@media screen and (max-width: 768px) {
    td[style*="position: sticky;"], .cabecalho {
        max-width: 150px !important; 
    }
	
}

.col-fix,
td:first-child,
th:first-child {
  position: sticky !important;
  left: 0;
  z-index: 5; /* z-index alto para sobrepor outras células */
  background: white;
  box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1); /* opcional para destaque */
}
.container {
	display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
	margin-top: -60px;
}

.content {
	width: 100%; 
    align-items: center;
    justify-content: center;
    flex-direction: column;
	margin-bottom: 20px;
	
}

.header-container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 64px 10% 133px;
    width: 100vw;
	background-color: #A44200;
    color: #ffffff;
    border: none;
}


@media(max-width:1200px) {
	.container {
		margin-top: -8px;
	}
}

@media(max-width:768px) {
	.container {
		margin-top: 45px;
	}

	td.col-fix {
    max-width: 150px;
	}
}

.header-title {
	font-size: 28px;
	font-weight: 700;
    line-height: 24px;
	color: #fff;
	text-transform: none;
}

.header-subtitle {
	margin: 4px 0;
}

.pictures-container {
	position: relative;
	padding: 48px 0;
	width: 100vw;
	

	background: #0352ba;
	color: #0352ba;
}

.pictures-selected {
	display: flex;
	align-items: center;
	justify-content: center;
	column-gap: 24px;	
}

.pictures {
	position: absolute;
	padding: 0 40px 40px;

	background: #0352ba;
	border-radius: 20px;
	color: #fff;
	margin: -152px 5% 0;
}


@media(max-width:768px) {
	.pictures-selected {
		flex-direction: column;
	}

	.picture-item {
		width: 100% !important;
    	margin-bottom: 20px;
	}
}

.pictures span {
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 16px;
	color: #fff;
	font-weight: 500;
	padding: 8px 0 8px;
	text-align: center;
	margin-bottom: 8px;
}

.picture-item {
	display: flex;
	align-items: center;
	justify-content: initial;
	flex-direction: column;
	padding: 32px 8px;
	width: 30%;
	height: 366px;
	background: #fff;
    border-radius: 10px;
}

.picture-item p {
	width: 100%;
	color: #2A324B;
}

@media(max-width: 1400px) {
	.picture-item p {
		font-size: 12px;
	}
}


.picture-item p:first-of-type {
	margin-top: 32px;
}

.circle {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: #0352ba;
}

@media(max-width: 920px) and (min-width: 768px) {
	.circle {
		width: 60px;
		height: 60px;
	
	}
}


.buttons-navigation {
	display: flex;
	align-items: center;
	justify-content: end;
	width: inherit;
	margin-top: 20px;
	padding: 0 4% 0 4%;
}

.buttons-navigation input {
	color: #0352ba;
}

#buttonLess {
	display: none;
}

.button-nav { 

	font-weight: bolder;
	background-color: #0352ba; /* Cor azul harmoniosa */
	color: #ffffff; /* Cor do texto */
	border: none; /* Sem borda */
	padding: 10px 20px; /* Espaçamento interno */
	border-radius: 20px; /* Cantos arredondados */
	font-size: 16px; /* Tamanho da fonte */
	cursor: pointer; /* Cursor ao passar o mouse */
	transition: background-color 0.3s; /* Transição suave de cor */

	  
	 
	  
	
}


@media(max-width:768px) {
	.button-nav {
		font-size: 14px;
		padding: 20px 10px;
	}
}


@media(max-width:420px) {
	.button-nav {
		font-size: 12px;
		padding: 20px 10px;
	}
}

.button-nav:hover { 
 	background-color:#3f7caa;
}

.scroll-sync-top {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  height: 20px;
  background-color: #f0f0f0; /* Temporário para visualização */
  margin-bottom: 10px; /* Para separar da tabela */
}

.scroll-sync-top > div {
  height: 1px;
}


.table-container {
	height: 80%;
    width: 100%;
	overflow-x: auto;
}


#table {
	overflow-x: auto;
	width: inherit;
}

@media(min-width: 1360px) {
	#table {
		width: initial;
	}
}


.content table::-webkit-scrollbar {
	width: 1px;
}

.content table::-webkit-scrollbar-thumb {
	border-radius: 1px;
    background: #ccc;
}

.content form {
	margin: 0;
	padding: 0;
	width: inherit;
}

.content table {
	height: 100%;
    justify-content: center;
	background: #F6F7F8;
	border-radius: 5px;
	flex-direction: column;
	margin-top: 6px;	
}

table {
	align-items: baseline; 
    justify-content: center;
	overflow-x: auto;
}

.content table thead {
	display: flex;
	flex-direction: row;
	border-top: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

.content table tbody {
	display: flex;
	flex-direction: column;
	border-bottom: 1px solid #ccc;
	border-right: 1px solid #ccc;
	border-left: 1px solid #ccc;
}

:is(.content table thead tr, .content table tbody tr) {
	display: flex;
	flex-direction: row;
}

:is(.content table thead th, .content table tbody td) {
	display: flex;
	flex-direction: column;
	align-items: center;	
	width: 135px;
	padding: 4px 12px;
	border: 1px solid #fff;
}

/* @media(max-width:1020px) {
	:is(.content table thead th, .content table tbody td) {
		width: 60px;
	}
}

@media(max-width:768px) {
	:is(.content table thead th, .content table tbody td) {
		width: 50px;
	}
} */

.content table thead th, .content table tbody tr:last-of-type {
	background: #eee;
}

.content table thead tr span, .content table tbody tr:last-of-type span {
	font-size: 14px;
	font-weight: 600;
	color: #e90000;
}

.content table tbody tr:hover {
	opacity: 0.8;
}

.content table thead tr span:first-of-type, .content table tbody td span:first-of-type {
	color: #ea8a8a;
}

.content table thead tr span:last-of-type, .content table tbody td span:last-of-type{
	color: #810000;
}

.content table tbody td {
	margin: 0;
	padding: 6px;
	display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
	font-weight: bold;
    color: #fff;
	text-align: center;
}

.content table tbody td:first-of-type {
	cursor: pointer;
	border-bottom: 1px solid #ccc;
}

:is(.content table tbody td:first-of-type, .content table thead th:first-of-type) {
	width: 212px;
	font-size: 19px !important;
}

.content table tbody td p {
	margin-bottom: 8px;
	font-size: 16px;
	text-align: center;
}

@media(max-width:768px) {
	.content table tbody td {
		margin: 0; 
	}
}

.reserved {
	background: #f70a0a;
}

.free {
	background: #5fd00c;
}

.closed {
	background: #ddd;
}

.container-legend {
	display: flex;
	width: inherit;
	margin-top: 20px;
	padding-left: 3%;
}

.container-legend ul{
	display: flex;
	align-items: center;
	width: inherit;
	padding: 0;
}


@media(max-width:920px) {
	.container-legend ul{
		flex-direction: column;
		align-items: self-start;
	}
}

.container-legend ul li{
	display: flex;
	justify-content: center;
	align-items: center;
	margin-right: 8px;
	column-gap: 4px;
	color: #666;
	list-style: none;
}

.square-reserved {
	width: 16px;
	height: 16px;
	background-color: #f70a0a;
	column-gap: 4px;
  }

  .square-free {
	width: 16px;
	height: 16px;
	background-color: #5fd00c;
  }

  .square-closed {
	width: 16px;
	height: 16px;
	background-color: #ddd;
  }

:is(.barra) {
	display: none !important;
}

.description-calendar {
	display: flex;
    justify-content: center;
    flex-direction: column;
	border-top: 1px solid #ccc;
	padding: 16px 7% 0;
	width: 100vw;
}
@media(max-width:1200px) {
	.description-calendar {
		padding: 16px 5% 0;
	}
	
	#conteudo-tabela{
		margin-top: -24px;
	}
}


  /* ===========================
   Filtro de Pessoas — Combo & Pills
   Author: você + eu
   Compat: puro CSS (PHP 5.x ok)
   =========================== */

    /* ---------- Tema (customize à vontade) ---------- */
    :root {
        --c-bg: #0b1220;
        /* fundo do controle */
        --c-surface: #0e172a;
        /* superfície interna */
        --c-text: #e5e7eb;
        /* texto principal */
        --c-muted: #9ca3af;
        /* texto secundário */
        --c-border: #1f2937;
        /* borda normal */
        --c-border-strong: #334155;
        /* borda hover */
        --c-ring: rgba(14, 165, 233, .35);
        /* foco */
        --c-primary: #22d3ee;
        /* ciano claro */
        --c-primary-2: #06b6d4;
        /* ciano médio */
        --c-danger: #ef4444;
        /* erro */
        --radius: 16px;
        --shadow: 0 10px 30px rgba(0, 0, 0, .35);
        --font: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, sans-serif;

        /* tamanhos base */
        --ctl-fz: 1.08rem;
        --ctl-py: 16px;
        --ctl-px: 44px;
        /* espaço p/ caret à direita */
        --ctl-pl: 44px;
        /* espaço p/ ícone à esquerda */
        --label-fz: 1rem;
        --hint-fz: .86rem;
    }

    /* Modo claro automático (se quiser forçar claro, copie p/ :root) */
    @media (prefers-color-scheme: light) {
        :root {
            --c-bg: #ffffff;
            --c-surface: #ffffff;
            --c-text: #111827;
            --c-muted: #6b7280;
            --c-border: #e5e7eb;
            --c-border-strong: #cbd5e1;
            --c-ring: rgba(14, 165, 233, .38);
            --shadow: 0 8px 22px rgba(0, 0, 0, .08);
        }
    }

    /* ---------- Container base ---------- */
    .people-select {
        display: block;
        max-width: 360px;
        color: var(--c-text);
        font-family: var(--font);
        user-select: none;
    }

    /* Label e dica */
    .people-select .field-label {
        display: block;
        margin: 0 0 10px;
        font-weight: 700;
        font-size: var(--label-fz);
        letter-spacing: .2px;
        color: color-mix(in oklab, var(--c-text) 92%, transparent);
        opacity: .9;
    }

    .people-select .field-hint {
        display: block;
        margin-top: 10px;
        color: var(--c-muted);
        font-size: var(--hint-fz);
    }

    /* ---------- WRAP do controle ---------- */
    .people-select .field-wrap {
        position: relative;
        background: linear-gradient(180deg, var(--c-surface), color-mix(in oklab, var(--c-surface) 85%, #000));
        border: 1px solid var(--c-border);
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        transition: border-color .2s ease, box-shadow .2s ease, transform .08s ease, background .2s ease;
        will-change: transform, box-shadow;
    }

    .people-select .field-wrap:hover {
        border-color: var(--c-border-strong);
    }

    .people-select .field-wrap:focus-within {
        border-color: var(--c-primary);
        box-shadow: 0 0 0 4px var(--c-ring), var(--shadow);
        transform: translateY(-1px);
    }

    /* Ícone à esquerda */
    .people-select .field-icon {
        position: absolute;
        left: 14px;
        top: 50%;
        transform: translateY(-50%);
        pointer-events: none;
        font-size: 20px;
        opacity: .95;
        filter: drop-shadow(0 1px 0 rgba(0, 0, 0, .25));
    }

    /* Seta à direita */
    .people-select .field-caret {
        position: absolute;
        right: 14px;
        top: 50%;
        width: 0;
        height: 0;
        transform: translateY(-50%);
        border-left: 6px solid transparent;
        border-right: 6px solid transparent;
        border-top: 8px solid var(--c-muted);
        pointer-events: none;
        transition: transform .2s ease, border-top-color .2s ease;
    }

    .people-select .field-wrap:focus-within .field-caret {
        transform: translateY(-50%) rotate(180deg);
        border-top-color: var(--c-primary);
    }

    /* SELECT nativo estilizado */
    .people-select .field-control {
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
        width: 100%;
        background: transparent;
        color: var(--c-text);
        border: 0;
        outline: none;
        border-radius: var(--radius);
        font-size: var(--ctl-fz);
        font-weight: 650;
        letter-spacing: .2px;
        padding: var(--ctl-py) var(--ctl-px) var(--ctl-py) var(--ctl-pl);
        cursor: pointer;
        line-height: 1.2;
        text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
    }

    .people-select .field-control:focus {
        outline: none;
    }

    /* Estados */
    .people-select.is-disabled .field-wrap,
    .people-select .field-control:disabled {
        opacity: .55;
        cursor: not-allowed;
        filter: grayscale(.25);
    }

    /* Variante de erro */
    .people-select.is-danger .field-wrap {
        border-color: color-mix(in oklab, var(--c-danger) 70%, black);
        box-shadow: 0 0 0 3px color-mix(in oklab, var(--c-danger) 35%, transparent), var(--shadow);
    }

    .people-select.is-danger .field-hint {
        color: var(--c-danger);
    }

    /* ---------- Tamanhos ---------- */
    .people-select.size-sm {
        --ctl-fz: .98rem;
        --ctl-py: 12px;
        --ctl-pl: 40px;
        --ctl-px: 40px;
        --label-fz: .92rem;
    }

    .people-select.size-lg {
        --ctl-fz: 1.22rem;
        --ctl-py: 18px;
        --ctl-pl: 50px;
        --ctl-px: 50px;
        --label-fz: 1.06rem;
    }

    /* ---------- Alto contraste opcional ---------- */
    @media (prefers-contrast: more) {
        .people-select .field-wrap {
            border-width: 2px;
            box-shadow: 0 0 0 4px var(--c-ring), 0 0 0 2px var(--c-border);
        }

        .people-select .field-control {
            text-shadow: none;
        }
    }

    /* ===========================
   Variant: Pills (segmentos)
   =========================== */

    .people-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        max-width: 480px;
        font-family: var(--font);
    }

    /* escondemos os radios, mas acessíveis */
    .people-pills input[type="radio"] {
        position: absolute;
        opacity: 0;
        pointer-events: none;
    }

    /* pill base */
    .people-pills label {
        position: relative;
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 12px 16px;
        border-radius: 999px;
        background: linear-gradient(180deg, var(--c-surface), color-mix(in oklab, var(--c-surface) 85%, #000));
        border: 1px solid var(--c-border);
        color: var(--c-text);
        font-weight: 650;
        letter-spacing: .2px;
        cursor: pointer;
        transition: transform .06s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
        box-shadow: var(--shadow);
        text-shadow: 0 1px 0 rgba(0, 0, 0, .2);
    }

    .people-pills label:hover {
        transform: translateY(-1px);
        border-color: var(--c-border-strong);
    }

    .people-pills label .ico {
        font-size: 18px;
        opacity: .95;
    }

    /* estado selecionado */
    .people-pills input[type="radio"]:checked+label {
        border-color: var(--c-primary);
        box-shadow: 0 0 0 4px var(--c-ring), var(--shadow);
        background:
            radial-gradient(120% 120% at 0% 0%, color-mix(in oklab, var(--c-primary) 14%, transparent), transparent 60%),
            linear-gradient(180deg, var(--c-surface), color-mix(in oklab, var(--c-surface) 85%, #000));
    }

    /* foco pelo teclado */
    .people-pills input[type="radio"]:focus-visible+label {
        outline: 3px solid var(--c-primary);
        outline-offset: 3px;
    }

    /* tamanho compacto */
    .people-pills.is-compact label {
        padding: 9px 12px;
        font-weight: 600;
    }

    /* agrupar última faixa com “+” visual bonito */
    .people-pills label .badge {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 22px;
        height: 22px;
        padding: 0 8px;
        border-radius: 999px;
        background: color-mix(in oklab, var(--c-primary) 20%, transparent);
        border: 1px solid color-mix(in oklab, var(--c-primary) 55%, var(--c-border));
        font-size: .78rem;
        font-weight: 800;
        line-height: 1;
    }

    /* responsividade básica */
    @media (max-width: 420px) {
        .people-select {
            max-width: 100%;
        }

        .people-pills {
            gap: 8px;
        }

        .people-pills label {
            padding: 10px 14px;
        }
    }