/* Classes exclusivas para evitar conflitos com outros CSS */
.cba-tabela {
    border-collapse: collapse;
    min-width: 1800px;
    width: 100%;
}

.cba-tabela td,
.cba-tabela th {
    border: 1px solid #ccc;
    padding: 10px;
    vertical-align: top;
}

.cba-tabela .cba-hora {
    background: #ffc107;
    font-weight: bold;
    white-space: nowrap;
	color: #000; 
}

.cba-tabela .hora {
    background: #ffc107;
    font-weight: bold;
    white-space: nowrap;
	color: #000; 
}

.cba-tabela .cba-titulo-periodo {
    background: #ffc107;
    padding: 12px;
    font-weight: bold;
    font-size: 18px;
    margin-top: 25px;
}

.cba-tabela .cba-titulo-periodo td {
    background: #ffc107;
    font-weight: bold;
    font-size: 18px;
    padding: 12px;
}

.cba-tabela-container {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    margin-bottom: 30px;
}

.cba-tabela-container::-webkit-scrollbar {
    display: none;
}

.cba-periodo {
    position: relative;
    margin: 40px 50px;
}

.cba-scroll-btn {
    position: fixed;
    top: 70%;
    transform: translateY(-50%);
    width: 46px;
    height: 110px;
    border: none;
    border-radius: 25px;
    background: #f2b500;
    color: #fff;
    font-size: 42px;
    font-weight: bold;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.30);
    transition: 0.2s;
}

.cba-scroll-btn:hover {
    background: #d89d00;
}

.cba-scroll-btn.cba-left {
    left: 5px;
}

.cba-scroll-btn.cba-right {
    right: 5px;
}

/* Garantia extra para as bordas das células */
.cba-tabela td {
    border: 1px solid #ccc !important;
}

.cba-tabela tr {
    border: 1px solid #ccc;
}

td:first-child,
th:first-child{
    background:#ffc107;
    font-weight:bold;
    color: #ff0000; 
    white-space:nowrap;
	 text-align: center;
}