.cards-container {
    display: flex;
    margin-top: 20px;
    flex-direction: column;
    gap: 12px;
}

.professional-card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.card-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.card-row:last-child {
    margin-bottom: 0;
}

.card-row-middle {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 4px;
    margin: 4px 0;
}

.card-title {
    font-size: 1em;
    font-weight: bold;
    margin: 0;
}

.card-specialization {
    color: #666;
    font-size: 0.9em;
}

.card-website {
    font-size: 0.85em;
    word-break: break-all;
}

.card-location {
    font-size: 0.85em;
    color: #666;
}


.filter-form {
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .filter-form {
        margin-bottom: 0;
        flex: 1;
        overflow: hidden;
    }
}

.filter-group {
    margin-bottom: 10px;
}

.filter-group label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    pointer-events: none;
    margin: 0;
}

.checkbox-item label {
    font-weight: normal;
    margin-left: 5px;
    cursor: pointer;
}

.badge {
    display: inline-block;
    padding: 1px 4px;
    margin: 1px;
    border-radius: 3px;
    text-decoration: none;
    font-size: 0.8em;
}

.badge-n-active {
    background: #007bff;
    color: white !important;
}

.badge-n-inactive {
    background: #eee;
    color: black !important;
}

.badge-g-active {
    background: #28a745;
    color: white !important;
}

.badge-g-inactive {
    background: #eee;
    color: black !important;
}

.checkbox-item label {
    cursor: pointer;
}
