/* Детальная страница врача (m2) — порт инлайн-<style> doctorDetails.tpl.php:876-972 */

.doctor-category_list span:not(:last-child):after {
    content: ', ';
}

.doctor-review {
    margin: 20px 0;
    border-bottom: 1px solid grey;
}

.doctor-review i {
    display: block;
}

.review-rating {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-approved-1 {
    font-size: 13px;
    color: forestgreen;
}

.review-approved-0 {
    font-size: 13px;
    color: grey;
}

.review-text {
    padding: 5px 0;
}

#rater .star-value:nth-child(even) {
    display: none;
}

.price {
    background: #fff;
    padding: 10px 10px 20px 20px;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    max-width: 300px;
    margin: 0 auto;
    padding: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.cta-button.ask {
    background-color: #1d84e6;
    color: #fff;
}

.cta-button.ask:hover {
    background-color: #1361a9;
}

.cta-button.ask:active {
    transform: scale(0.97);
}

.cta-button.book {
    background-color: #28a745;
    color: #fff;
}

.cta-button.book:hover {
    background-color: #1f8236;
}

.cta-button.book:active {
    transform: scale(0.97);
}

.cta-button svg {
    margin-right: 0.5rem;
    width: 21px;
    height: 21px;
    fill: currentColor;
}

@media (max-width: 480px) {
    .cta-buttons {
        gap: 0.8rem;
    }

    .cta-button {
        font-size: 1rem;
        padding: 0.8rem;
    }
}
