.datepicker {
    z-index: 9999 !important; /* força o calendário a aparecer acima */
}

.dataTables_length select {
    padding-right: 24px;
    position: relative;
}

.toast {
    opacity: 0;
    transform: scale(0.5);
    transition: all 0.5s ease;
}

    .toast.show {
        opacity: 1;
        transform: scale(1);
    }

html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }

    .userApp {
        display: block
    }
    .footer {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 1000; /* garante que fique acima de outros elementos */
    }
    #main-menu-navigation .menu-direita {
        float: right !important
    }

}
@media (max-width: 767px) {
    .userApp {
        display: none
    }
    .footer {
        display: none; /* garante que fique acima de outros elementos */
    }
}


.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}

.bg-domingo {
    color: #c45050;
    font-weight: bold;
}

.bg-sabado {
    font-weight: bold;
}


/*Opcao THEMA*/ 
.theme-selector {
    position: absolute;
    right:5px;
    width: 50px;
    font-family: Arial, sans-serif;
}

.theme-selected {
    height: 35px;
    padding: 6px 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.theme-ball {
    width: 30px;
    height: 20px;
    min-width: 20px;
    border-radius: 30%;
    display: inline-block;
    border: 1px solid rgba(0,0,0,.15);
}

#selectedBall {
    background: #4CAF50;
}

.theme-arrow {
    font-size: 9px;
    color: #666;
}

.theme-options {
    display: none;
    position: absolute;
    top: 42px;
    right: 0;
    width: 160px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    z-index: 9999;
}

.theme-selector.open .theme-options {
    display: block;
}

.theme-option {
    height: 38px;
    padding: 6px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}
 
    .theme-option:hover {
        background: #f2f2f2;
    }

/* Menu usuario */
#main-menu-navigation {
    width:100%;
}


/* BOTOES DE ACESSO DA HOME*/
/* =========================================
   CONDLINE - TELA INICIAL
   ========================================= */

.condline-home {
    max-width: 1000px;
    margin: 0 auto;
    padding: 10px 0 30px;
    color: #344054;
}

/* CABEÇALHO */

.home-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-bottom: 32px;
}

.welcome-label {
    display: inline-block;
    margin-bottom: 8px;
    color: #38917f;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.2px;
}

.home-welcome h2 {
    margin: 0 0 8px;
    font-size: 25px;
    font-weight: 700;
    color: #253746;
}

.home-welcome p {
    margin: 0;
    color: #84909d;
    font-size: 14px;
}

/* BOTÃO DO PERFIL */

.home-profile {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: #e8f5f1;
    color: #38917f;
    font-size: 22px;
    text-decoration: none !important;
    transition: all .2s ease;
}

    .home-profile:hover {
        background: #38917f;
        color: #fff;
        transform: translateY(-2px);
    }

/* TÍTULO DA SEÇÃO */

.home-section-title {
    margin-bottom: 18px;
}

    .home-section-title h4 {
        margin: 0 0 5px;
        font-size: 18px;
        font-weight: 700;
        color: #253746;
    }

    .home-section-title span {
        font-size: 13px;
        color: #98a2b3;
    }

/* GRADE DE BOTÕES */

.home-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

/* CARTÕES */

.home-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
    min-height: 155px;
    padding: 19px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 22px;
    box-shadow: 0 5px 18px rgba(30, 50, 70, .045);
    text-decoration: none !important;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

    .home-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(30, 50, 70, .09);
        border-color: #dce8e5;
    }

    .home-card:active {
        transform: scale(.98);
    }

/* ÍCONES */

.home-card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 17px;
    border-radius: 16px;
    font-size: 21px;
}

/* TEXTOS */

.home-card-content {
    min-width: 0;
    padding-right: 8px;
}

    .home-card-content h5 {
        margin: 0 0 6px;
        color: #344054;
        font-size: 15px;
        font-weight: 700;
    }

    .home-card-content span {
        display: block;
        color: #98a2b3;
        font-size: 11px;
        line-height: 1.5;
    }

/* SETA */

.home-card-arrow {
    position: absolute;
    right: 17px;
    bottom: 19px;
    color: #c0c8d0;
    font-size: 17px;
}

/* CORES DOS ÍCONES */

.card-boletos .home-card-icon {
    background: #e7f5ee;
    color: #29966a;
}

.card-reservas .home-card-icon {
    background: #eaf0ff;
    color: #5478dc;
}

.card-documentos .home-card-icon {
    background: #fff0e5;
    color: #e58a43;
}

.card-balancete .home-card-icon {
    background: #f0eaff;
    color: #8965cc;
}

.card-convidados .home-card-icon {
    background: #ffeaf0;
    color: #d85d87;
}

.card-perfil .home-card-icon {
    background: #e5f6f8;
    color: #3698a5;
}

/* ACESSIBILIDADE */

.home-card:focus-visible,
.home-profile:focus-visible {
    outline: 3px solid #38917f;
    outline-offset: 3px;
}

/* TABLETS E TELAS MAIORES */

@media (min-width: 768px) {

    .home-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
    }

    .home-card {
        min-height: 175px;
        padding: 23px;
    }

    .home-welcome h2 {
        font-size: 30px;
    }
}

/* CELULARES PEQUENOS */

@media (max-width: 360px) {

    .home-grid {
        gap: 10px;
    }

    .home-card {
        min-height: 145px;
        padding: 14px;
        border-radius: 18px;
    }

    .home-card-icon {
        width: 42px;
        height: 42px;
        font-size: 19px;
        border-radius: 14px;
    }

    .home-card-content h5 {
        font-size: 14px;
    }

    .home-card-content span {
        font-size: 10px;
    }

    .home-welcome h2 {
        font-size: 21px;
    }
}



/*BOTAO PERFIL*/
/* =========================================
   MENU PERFIL - CONDLINE
   ========================================= */
.home-profile-container {
    position: relative;
    flex-shrink: 0;
}

/* BOTÃO */

.home-profile {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: 18px;
    background: #e8f5f1;
    color: #38917f;
    font-size: 22px;
    cursor: pointer;
    transition: all .2s ease;
}

    .home-profile:hover,
    .home-profile[aria-expanded="true"] {
        background: #38917f;
        color: #fff;
    }

/* MENU */

.home-profile-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    z-index: 1000;
    width: 270px;
    padding: 8px;
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(30, 50, 70, .15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
}

/* MENU ABERTO */

.home-profile-container.menu-open .home-profile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* CABEÇALHO DO MENU */

.home-profile-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 10px;
}

.home-profile-avatar {
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    background: #e8f5f1;
    color: #38917f;
    font-size: 20px;
}

.home-profile-user {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

    .home-profile-user strong {
        overflow: hidden;
        color: #344054;
        font-size: 13px;
        font-weight: 700;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .home-profile-user span {
        margin-top: 4px;
        color: #98a2b3;
        font-size: 12px;
    }

/* DIVISÓRIA */

.home-profile-divider {
    height: 1px;
    margin: 5px 8px;
    background: #edf0f3;
}

/* OPÇÕES */

.home-profile-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 12px;
    color: #475467;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
    transition: background .2s ease, color .2s ease;
}

    .home-profile-item > i:first-child {
        width: 20px;
        color: #7c8b99;
        font-size: 16px;
        text-align: center;
    }

    .home-profile-item span {
        flex: 1;
    }

    .home-profile-item:hover {
        background: #f0f8f5;
        color: #38917f;
    }

        .home-profile-item:hover > i:first-child {
            color: #38917f;
        }

    .home-profile-item .profile-arrow {
        color: #c0c8d0;
        font-size: 16px;
    }

/* SAIR */

.home-profile-logout {
    color: #d9534f;
}

    .home-profile-logout > i:first-child {
        color: #d9534f;
    }

    .home-profile-logout:hover {
        background: #fff0ef;
        color: #c9302c;
    }

        .home-profile-logout:hover > i:first-child {
            color: #c9302c;
        }

/* ACESSIBILIDADE */

.home-profile:focus-visible,
.home-profile-item:focus-visible {
    outline: 2px solid #38917f;
    outline-offset: 3px;
}

/* CELULAR */

@media (max-width: 480px) {
    .home-profile-menu {
        width: min(270px, calc(100vw - 30px));
    }
}

 
/* =========================================
   SELETOR DE TEMAS - HOME CONDLINE
   ========================================= */
.home-card {
    display: flex;
    align-items: center;
}

/* Conteúdo do botão */
.home-card-content {
    min-width: 0;
    flex-shrink: 1;
}

/* Grupo de bolinhas */
.theme-colors {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 7px;
    margin-left: auto;
    padding: 0 12px;
    flex-shrink: 0;
}

/* Botão de cada cor */
.theme-color {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    min-width: 20px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 50%;
    background: transparent;
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

    /* Bolinha colorida */
    .theme-color span {
        display: block;
        width: 14px;
        height: 14px;
        border-radius: 50%;
        border: 1px solid rgba(0, 0, 0, 0.15);
    }

    /* Efeito ao passar o mouse */
    .theme-color:hover {
        transform: scale(1.15);
    }

    /* Tema selecionado */
    .theme-color.active {
        border-color: #555;
        outline: 1px solid rgba(85, 85, 85, 0.25);
        outline-offset: 1px;
    }

    /* Acessibilidade pelo teclado */
    .theme-color:focus-visible {
        outline: 2px solid #333;
        outline-offset: 3px;
    }

/* Seta original do botão */
.home-card-arrow {
    flex-shrink: 0;
}

/* Telas menores */
@media (max-width: 768px) {

    .theme-colors {
        gap: 4px;
        padding: 0 6px;
    }

    .theme-color {
        width: 18px;
        height: 18px;
        min-width: 18px;
    }

        .theme-color span {
            width: 12px;
            height: 12px;
        }
}

/* Celulares estreitos */
@media (max-width: 480px) {

    .theme-colors {
        gap: 2px;
        padding: 0 4px;
    }

    .theme-color {
        width: 16px;
        height: 16px;
        min-width: 16px;
    }

        .theme-color span {
            width: 11px;
            height: 11px;
        }
}

 