.homecare-form-wrapper {
    max-width: 980px;
}
.joinchat__button {
    display: none;
}

.homecare-form {
    border-radius: 16px;
    border: 1px solid #e9ecef;
    background: #ffffff;
}

.homecare-form h3 {
    color: #0d6efd;
    font-weight: 600;
}

.homecare-form .form-control:focus {
    border-color: #86b7fe;
    box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

@media (max-width: 576px) {
    .homecare-form {
        padding: 1rem !important;
    }

    .homecare-form-wrapper h2 {
        font-size: 1.3rem;
    }
}

  .hc-tab-content { display: none; padding: 20px; border: 1px solid #dee2e6; border-top: none; background: #fff; border-radius: 0 0 8px 8px; }
            .active-tab { display: block; }
            .nav-tabs .nav-link { cursor: pointer; font-weight: bold; color: #555; }
            .nav-tabs .nav-link.active { color: #0d6efd !important; border-bottom: 3px solid #0d6efd; }
            .search-results-box { position: absolute; z-index: 1000; width: 100%; max-height: 200px; overflow-y: auto; background: white; border: 1px solid #ddd; box-shadow: 0 4px 6px rgba(0,0,0,0.1); display: none; }
            .search-item { padding: 10px; cursor: pointer; border-bottom: 1px solid #eee; }
            .search-item:hover { background: #f8f9fa; color: #0d6efd; }
            .wa-link { text-decoration: none; color: #25D366; font-size: 1.1rem; transition: 0.2s; }
            .wa-link:hover { color: #128C7E; transform: scale(1.1); }
            .selected-badge { display: inline-block; padding: 5px 10px; background: #eef7ee; border-radius: 4px; margin-top: 5px; font-weight: bold; border: 1px solid #25D366; }
            .status-ponto { font-size: 0.8rem; font-weight: bold; }
            /* Esconder abas originais no mobile */
@media (max-width: 768px) {
    #mainTabs { display: none; }
    body { padding-bottom: 70px; } /* Espaço para o menu não cobrir o conteúdo */
}

/* Container do Menu Inferior */
.mobile-bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 65px;
    background-color: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
    border-top: 1px solid #eee;
}

/* Itens Individuais */
.nav-item-mobile {
    color: #666;
    font-size: 1.5rem;
    padding: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.nav-item-mobile:active {
    transform: scale(0.9);
    color: #0d6efd;
}

/* Botão de destaque (Novo Plantão) */
.special-btn {
    color: #dc3545; /* Vermelho como no seu código original */
    background: #fff0f0;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ajustes para Mobile */
@media (max-width: 768px) {
    /* Ajusta o título para não ocupar muito espaço */
    h4 { font-size: 1.1rem; margin-bottom: 0; }
    
    /* Melhora o toque nos campos do formulário */
    .form-control {
        padding: 12px;
        font-size: 16px; /* Evita zoom automático no iOS */
    }

    /* Container da tabela com scroll lateral suave */
    .table-responsive {
        border-radius: 8px;
        border: 1px solid #eee;
    }

    /* Padding extra no conteúdo para não bater no menu inferior */
    .hc-tab-content {
        padding: 15px 10px 80px 10px !important;
    }
}

/* Estilização dos ícones dentro dos botões */
.btn i { vertical-align: middle; }