/* Estilos para telas menores que 600px de largura */
@media (max-width: 600px) {
    .btn-servicos {
        font-size: 14px !important;
    }

    .barber-ja-fui {
        font-size: 15px !important;
    }
    
    .nome-barbearia {
        font-size: 15px !important;
    }

    .nome-usuario, .perfil-usuario {
        font-size: 14px !important;
        text-transform: capitalize;
    }

    .bl-previsao, .bl-previsao-usuario {
        font-size: 14px !important;
    }

    .ico-barba, .ico-sobracelha, .ico-pesinho, .ico-cabelo {
        background-size: 19px 20px !important; 
    }

    .ct-data, .ct-hora, .ct-endereco {
       font-size: 14px !important;
       padding: 0px 0px 0px 25px !important;
    }

    .servico {
        font-size: 14px !important;
    }

    .ct-servico {
        font-size: 15px !important;
        padding: 4px 14px 4px 28px !important;
    }
    
    .font-servico-c1 {
        font-size: 15px !important;
        padding-left: 10px !important;
    }

    .tb-custom {
        width: 390px !important;
    }

    .servico-ct {
        font-size: 15px !important;
    }

    .slogan {
        font-size: 12px !important;
    }

    .bl-login {
        width: 95% !important;
        margin: 10px;
        padding-top: 30px !important;
        padding-bottom: 50px !important;
    }

    .bl-login-perfil {
        width: 85% !important;
        margin: 10px 10px 10px 27px !important;
        padding-top: 30px !important;
        padding-bottom: 50px !important;
    }

    .bl-topo-usuario {
        width: 100% !important;
        margin: 0px 10px 10px 10px;
    }

    .bl-fila {
        width: 85% !important;
        margin: 10px 10px 10px 27px !important;
    }

    .bl-barbearia {
        width: 85% !important;
        margin: 10px 10px 10px 27px !important;
        padding-top: 30px !important;
        padding-bottom: 50px !important;
    }

    .bl-barbearia-fila {
        width: 85% !important;
        margin: 10px 10px 10px 27px !important;
        padding-top: 25px !important;
    }

    .ln-form span {
        font-size: 15px !important;
    }

    .ln-form input {
        font-size: 15px !important;
    }

    .btn-acessar {
        font-size: 15px !important;
    }

    .btn-registrar {
        font-size: 16px !important;
    }

    .btn-acessar {
        font-size: 16px !important;
    }
    
}

.bl-pagina-nao-encontrada {
    text-align: center !important;  
    padding: 30px 0;
}
.pagina-nao-encontrada {
    color: #666;
    font-size: 15px;
    margin-bottom: 30px;
}
.body-custom {
    background-color: #f5f5f5;
    /* Define o body como um contêiner flexível */
    display: flex;
    /* Centraliza a div aninhada horizontalmente */
    justify-content: center;
    /* Centraliza a div aninhada verticalmente */
    align-items: center;
    /* Garante que o body ocupe 100% da altura da viewport */
    min-height: 90vh;
    /* Opcional: Remove margens padrão do body */
    margin: 0;
}

.body-custom-fila {
    background-color: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
}

.body-custom-fila-admin {
    background-color: #f5f5f5;
    justify-content: center;
    margin: 0;
}

.bl-login {
    background-color: #FFF;
    width: 300px;
    padding: 10px 25px 20px 25px;
    text-align: center;
    box-shadow: 0px 3px 20px #CCC;
    border-radius: 8px;
}

.status-kanban {
    font-size: 14px;
    text-align: center;
    margin-bottom: 15px;
    padding: 10px;
    background-color: #000;
    color: #FFF;
    border-radius: 8px 8px 8px 8px;
    width: 97%;
}

.bl-login-perfil {
    background-color: #FFF;
    width: 300px;
    padding: 10px 25px 20px 25px;
    text-align: center;
    box-shadow: 0px 3px 20px #CCC;
    border-radius: 8px;
}

.bl-fila-barbearia {
    background-color: #FFF;
    width: 300px;
    padding: 0;
    text-align: left;
    box-shadow: 0px 3px 20px #CCC;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.img-logo {
    width: 60%;
    margin-top: 20px;
    margin-bottom: 0px;
}

.img-logo-barbearia {
    width: 40%;
    margin-top: 0px;
    margin-bottom: 10px;
}

.img-logo-barbearia-v2{
    width: 60%;
    margin-top: 0px;
    margin-bottom: 10px;
}

.ln-form {
    text-align: left !important;
    margin-top: 15px;
}

.h-space {
    height: 15px;
}

.ln-form-btn {
    text-align: left !important;
    margin: 10px 0px 0px 0px;
}

.ln-form span {
    display: block;
    margin-bottom: 2px;
    font-size: 12px;
    color: #000 !important;
    font-weight: 500;
}

.ln-form input {
    width: 100%;
    padding: 7px 12px 7px 12px;
    font-size: 12px;
    border: 1px solid #888;
    box-shadow: inset 0 0 5px #ccc;
}

.btn-registrar {
    background-color: #212020;
    box-shadow: none !important;
    width: 100%;
    font-size: 12px; 
    border: 1px solid #000;
}

.line-top {
    border-top: 1px solid #ccc;
    padding: 2px;
}

.barber-ja-fui {
    text-align: left !important;
    font-size: 14px;
    color: #212020;
    font-family: Arial;
    margin-top: 35px;
    font-weight: bold;
}

.btn-servicos {
    background-color: #212020;
    box-shadow: none !important;
    width: 100%;
    font-size: 11px; 
    border: 1px solid #000;
    padding: 3px;
}

.nome-barbearia {
    text-align: left !important;
    font-size: 12px;
    color: #212020;
    font-family: Arial;
}

.btn-acessar {
    background-color: #767474;
    box-shadow: none !important;
    width: 100%;
    font-size: 12px; 
    border: 1px solid #666;
}

.container-custom {
    font-size: 12px !important;
}

.usuario_feedback {
    font-size: 12px !important;
}

.sem-conta {
    font-size: 12px !important;
    text-align: center;
}

.slogan {
    font-weight: bold;
    font-size: 10px;
    color: #333;
    margin: 5px 0px 25px 0px;
    padding: 0px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.info-item:last-child {
    border-bottom: none;
}
.info-label {
    font-weight: 600;
    color: #6c757d;
}
.info-value {
    font-weight: 500;
    color: #343a40;
}

.custom-alert {
    margin: 0px;
    padding: 10px;
}


.bl-barbearia {
    background-color: #FFF;
    width: 300px;
    padding: 10px 25px 20px 25px;
    text-align: center;
    box-shadow: 0px 3px 20px #CCC;
    border-radius: 8px;
}


.bl-barbearia-fila {
    background-color: #FFF;
    width: 300px;
    padding: 10px 0px 0px 0px;
    text-align: center;
    box-shadow: 0px 3px 20px #CCC;
    border-radius: 8px;
}

.bl-barbearia img {
   
    padding: 10px 12px 20px 12px;
    margin: 10px 0px 0px 0px;
    text-align: center;
}


.bl-topo-usuario {
    text-align: left !important;
    background-color: #212020;
    color: #FFF;
    width: 300px;
    height: 35px;
    padding: 7px 0px 5px 15px;
    margin: 0px 0px 10px 0px;
    text-align: center;
    box-shadow: 0px 3px 20px #333;
    border-radius: 0px 0px 8px 8px;
    font-size: 12px;
}


/* .bl-user-selecionado: Classe reservada para destaque futuro do usuário */

.bl-fila {
    background-color: #FFF;
    width: 300px;
    padding: 0;
    margin: 0px 0px 10px 0px;
    text-align: left;
    box-shadow: 0px 3px 20px #CCC;
    border-radius: 8px;
}

.bl-fila-v2 {
    background-color: #FFF;
    width: 300px;
    padding: 0;
    margin: 0px 0px 10px 0px;
    text-align: left;
    box-shadow: 0px 3px 20px #CCC;
    border-radius: 8px 8px 0px 0px;
}

.bl-fila-espera {
    background-color: #FFF;
    width: 300px;
    padding: 0;
    margin: 0px 0px 10px 0px;
    text-align: left;
    box-shadow: 0px 3px 20px #CCC;
    border-radius: 8px;
}

.nm-usuario {
    font-size: 20px;
    font-weight: 600;
    color: #212020;
    font-family: Arial;
    padding: 20px 25px 0px 25px;
}

.infos {
    margin: 12px 0px 5px 0px;
    padding-bottom: 5px;
    padding: 0px 25px 0px 25px;
}

.ct-data {
    background-image: url('../images/ico_data.png');
    background-repeat: no-repeat;
    background-position: left center;
    font-size: 12px;
    padding: 0px 0px 0px 20px;
    background-size: 17px 18px;
    margin-bottom: 5px;
}
.ct-hora {
    background-image: url('../images/ico_hora.png');
    background-repeat: no-repeat;
    background-position: left center;
    font-size: 12px;
    padding: 0px 0px 0px 20px;
    background-size: 17px 18px;
    margin-bottom: 5px;
}

.ct-endereco {
    background-image: url('../images/ico_localizacao.png');
    background-repeat: no-repeat;
    background-position: left center;
    font-size: 12px;
    padding: 0px 0px 0px 20px;
    background-size: 17px 18px;
    margin-bottom: 5px;
}

.ico-cabelo {
    background-image: url('../images/servico-cabelo.png');
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 14px 15px;
}
.ico-barba {
    background-image: url('../images/servico-barba.png');
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 14px 15px;
}
.ico-sobracelha {
    background-image: url('../images/servico-sobracelha.png');
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 14px 15px;
}
.ico-pesinho {
    background-image: url('../images/servico-pesinho.png');
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 14px 15px;
}

.servicos {
    padding: 0px 25px 0px 25px;
}

.servicos-v3 {
    padding: 0px 25px 10px 25px;
}

.servico {
    border-top: 1px solid #cccccc;
    font-size: 11px;
    font-weight: 600;
    margin: 10px 0px 7px 0px;
    padding-top: 10px;
}

.servico-ct {
    border-top: 1px solid #cccccc;
    font-size: 12px;
    font-weight: 600;
    margin: 15px 0px 12px 0px;
    padding-top: 10px;
}

.ct-servico {
    font-size: 12px;
    padding: 2px 12px 2px 24px;
    margin: 0px 5px 5px 0px;
    background-color: #e5e5e5;
    border-radius: 6px;
    float: left;
}

.ct-servico-barbeiro {
    font-size: 12px;
    padding: 2px 6px 2px 24px;
    margin: 0px 5px 5px 0px;
    background-color: #e5e5e5;
    border-radius: 6px;
}

.bl-previsao {
    box-shadow: inset 0 10px 16px -5px #CCC;
    background-color: #ffffff;
    font-size: 11px;
    color: #1c1c1c;
    border-radius: 0px 0px 6px 6px;
    margin-top: 20px;
    padding: 17px 20px 13px 30px
}

.bl-previsao-usuario {
    background-color: #4d4b4b;
    font-size: 11px;
    color: #FFF;
    border-radius: 0px 0px 6px 6px;
    margin-top: 5px;
    padding: 8px 30px 8px 30px;
}

.valor-total-servico {
    font-size: 12px;
    font-weight: 600;
    color: #212020;
    padding: 0px 25px 10px 25px;
}

.ct-servico-cb {
    clear: left;
}

.mg-le-5 {
    margin-left: 12px;
}

.ct {
    clear: both;
}


.btn:disabled {
    background-color: #f1f1f1 !important;
    border-color: #CCC !important;
    color: #999 !important;
    cursor: not-allowed;
}

.msg-status-success {
    margin-top: 10px;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    font-size: 11px;
}

.msg-status-danger {  
    margin-top: 10px; 
    font-size: 11px; 
    background-color: #f8d7da; 
    color: #721c24; 
    border: 1px solid #f5c6cb; 
}

.msg-status-warning { 
    margin-top: 10px; 
    font-size: 11px; 
    background-color: #fff3cd; 
    color: #856404; 
    border: 1px solid #ffeeba; 
}

.ct-servico-barbeiro:hover {
    cursor: pointer;
    opacity: 0.9;
}
/* Classe adicionada por JS para visualização de item selecionado */
.ct-servico-barbeiro.selected {
    border: 2px solid #007bff; /* Cor primária do Bootstrap */
    background-color: #e9f5ff !important;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}
.msg-status-box {
    padding: 10px;
    margin: 15px;
    border-radius: 5px;
    text-align: center;
    font-weight: bold;
}

.nome-usuario {
    float: left;
}

.perfil-usuario {
    float: right;
    margin-right: 15px;
    text-decoration: none;
    font-weight: 500;
    color: #FFF;
}

.total-fila {
    font-size: 45px;
    font-weight: 700;
    color: #212020;
    text-align: center;
    padding-top: 15px;
}

.total-texto {
    font-size: 12px;
    font-weight: 500;
    color: #212020;
    text-align: center;
    padding-bottom: 15px;
}

.tb-custom {
    width: 310px;
}

.fl-c-1 {
    float: left;
}




.menu-opcoes-fila {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

.ico-opcoes-container {
    position: relative;
    display: inline-block;
}

.menu-dropdown {
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0px 3px 20px #999;
    min-width: 150px;
    z-index: 200;
}

.menu-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    transition: background-color 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f5f5f5;
}

 #tbl-fila-atendimento td {
    vertical-align: top;
    padding: 20px !important;
}

/* Garantir que os blocos de filas se alinhem corretamente */
.bl-aguardando-atendimento,
.bl-em-atendimento,
.bl-finalizado {
    min-height: 400px;
}

.bullet-menu {
    width: 30px;
    height: 30px;
    background-image: url('../images/ico-opcoes.png');
    background-size: 14px 15px !important; 
    background-repeat: no-repeat;
    background-position: center; 
    cursor: pointer;
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.show {
    display: flex;
}

.modal-content {
    background-color: white;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    min-width: 300px;
    max-width: 400px;
    text-align: center;
}

.modal-content h2 {
    margin: 0 0 15px 0;
    font-size: 20px;
    color: #333;
}

.modal-content p {
    margin: 0 0 25px 0;
    color: #666;
    font-size: 16px;
}

.modal-buttons {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.modal-buttons button {
    padding: 10px 30px;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.modal-buttons .btn-primary {
    background-color: #2d5016;
    color: white;
}

.modal-buttons .btn-primary:hover {
    background-color: #1f3810;
}

.modal-buttons .btn-secondary {
    background-color: #ddd;
    color: #333;
}

.modal-buttons .btn-secondary:hover {
    background-color: #ccc;
}

.menu-opcoes-fila {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 100;
}

.ico-opcoes-container {
    position: relative;
    display: inline-block;
}

.menu-dropdown {
    position: absolute;
    top: 35px;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    min-width: 150px;
    z-index: 200;
}

.menu-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    font-size: 14px;
    transition: background-color 0.2s;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-item:hover {
    background-color: #f5f5f5;
}