/* Estilos para o campo de busca global */
.search-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    align-items: flex-end;
}

.filter-group {
    position: relative;
    transition: all 0.3s ease;
}

#busca-global {
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid rgba(0, 112, 224, 0.3);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    font-size: 16px;
    transition: all 0.3s ease;
    background-color: #fff;
    width: 100%;
}

#busca-global:focus {
    border-color: #0070e0;
    box-shadow: 0 0 0 3px rgba(0, 112, 224, 0.2);
    outline: none;
}

#busca-global::placeholder {
    color: #a0a0a0;
    opacity: 0.8;
}

.btn.btn-primary {
    background: linear-gradient(135deg, #0070e0, #005bb8);
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 10px rgba(0, 112, 224, 0.3);
    transition: all 0.3s ease;
}

.btn.btn-primary:hover {
    background: linear-gradient(135deg, #0080ff, #0070e0);
    box-shadow: 0 6px 15px rgba(0, 112, 224, 0.4);
    transform: translateY(-2px);
}

.btn.btn-primary:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 112, 224, 0.3);
}

/* Estilos para o botão de limpar */
.btn.btn-secondary {
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    border: 1px solid #ccc;
    padding: 12px 25px;
    border-radius: 8px;
    color: #555;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn.btn-secondary:hover {
    background: linear-gradient(135deg, #e8e8e8, #d5d5d5);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.btn.btn-secondary:active {
    transform: translateY(0);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Estilos para os cards de credenciados */
.credenciado-card {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 112, 224, 0.15);
    background-color: white;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    opacity: 1; /* Garantir que os cards sejam visíveis */
    transform: translateY(0); /* Remover o transform inicial */
    display: block;
}

.credenciado-card:hover {
    box-shadow: 0 5px 15px rgba(0, 112, 224, 0.2);
    transform: translateY(-3px);
    border-color: rgba(0, 112, 224, 0.3);
}

.credenciado-card .credenciado-nome {
    color: #0070e0;
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 18px;
}

.credenciado-card .cro-info {
    color: #444;
    margin-bottom: 8px;
}

.credenciado-card .localizacao {
    margin-top: 10px;
    color: #666;
}

.credenciado-card .localizacao i {
    color: #0070e0;
    margin-right: 5px;
}

.credenciado-card .data-credenciamento {
    margin-top: 12px;
    color: #888;
    font-size: 0.9em;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 8px;
}

.credenciado-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Melhora a animação do loader */
.loader {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.loader-spinner {
    border: 4px solid rgba(0, 112, 224, 0.1);
    border-left: 4px solid #0070e0;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Estiliza a mensagem de "Nenhum resultado" */
.no-results {
    text-align: center;
    padding: 40px 20px;
    color: #555;
    background-color: rgba(0, 112, 224, 0.05);
    border-radius: 10px;
    margin: 20px 0;
}

.no-results i {
    font-size: 3rem;
    color: #0070e0;
    margin-bottom: 15px;
    opacity: 0.7;
}

/* Estiliza a mensagem inicial */
.mensagem-inicial {
    text-align: center;
    padding: 50px 20px;
    color: #555;
    background-color: rgba(0, 112, 224, 0.03);
    border-radius: 10px;
    margin: 30px 0;
    border: 1px dashed rgba(0, 112, 224, 0.2);
    transition: all 0.3s ease;
}

.mensagem-inicial:hover {
    background-color: rgba(0, 112, 224, 0.05);
    box-shadow: 0 5px 15px rgba(0, 112, 224, 0.1);
}

.mensagem-inicial i {
    font-size: 3.5rem;
    color: #0070e0;
    margin-bottom: 20px;
    opacity: 0.6;
    display: block;
}

.mensagem-inicial h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #0070e0;
}

.mensagem-inicial p {
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}
