/* Lawyer recommendation styling */
.lawyer-recommendation {
    margin: 1.5rem 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.lawyer-card {
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    overflow: hidden;
}

.lawyer-card-header {
    background-color: #3e4a61;
    color: white;
    padding: 10px 15px;
}

.lawyer-card-header h4 {
    margin: 0;
    font-size: 1.2rem;
}

.lawyer-card-body {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
}

.lawyer-photo {
    flex: 0 0 80px;
    margin-right: 15px;
}

.lawyer-photo img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #e0e0e0;
}

.lawyer-info {
    flex: 1;
    min-width: 200px;
}

.lawyer-info h5 {
    margin-top: 0;
    margin-bottom: 5px;
    color: #333;
}

.lawyer-specializations {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.lawyer-description {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.lawyer-contact {
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.lawyer-contact p {
    margin: 3px 0;
}

.lawyer-actions {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.lawyer-contact-btn {
    background-color: #3e4a61;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.lawyer-callback-btn {
    background-color: #28a745;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: background-color 0.2s;
}

.lawyer-contact-btn:hover {
    background-color: #2c3548;
}

.lawyer-callback-btn:hover {
    background-color: #218838;
}

@media (max-width: 576px) {
    .lawyer-card-body {
        flex-direction: column;
    }
    
    .lawyer-photo {
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }
    
    .lawyer-actions {
        flex-direction: column;
    }
    
    .lawyer-contact-btn, .lawyer-callback-btn {
        width: 100%;
    }
}