/* Детальная страница клиники (m2) — порт инлайн-стилей sub_listingDetails.tpl.php */

.doctor-review { margin: 20px 0; border-bottom: 1px solid grey; }
.doctor-review i { display: block; }
.review-text { padding: 5px 0; }

.pure-button-primaryw { background-color: #25D366; color: #fff; }

.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; }
}

.pm-clr { clear: both; }

.pm-tabs {
    display: flex;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.pm-tabs__link {
    flex: 1;
    text-align: center;
    padding: 15px;
    text-decoration: none;
    color: #333;
    border-bottom: 3px solid transparent;
    transition: background 0.3s, color 0.3s;
}
.pm-tabs__link:hover { background-color: #f7f7f7; }
.pm-tabs__link--active { border-bottom: 3px solid #007bff; color: #007bff; }

.pm-tabs--fixed { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; }
.pm-tabs-spacer { transition: height 0.3s; height: 0; }

.pm-section {
    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.pm-add-review-btn {
    position: fixed;
    bottom: 120px;
    right: 70px;
    background-color: #007bff;
    color: #fff;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    transition: background-color 0.3s;
    display: none;
}
.pm-add-review-btn:hover { background-color: #0056b3; }

/* Отзывы (jComments) */
.clinic-reviews { margin-top: 10px; }
.clinic-review { padding: 12px 0; border-bottom: 1px solid #eee; }
.clinic-review__head { display: flex; gap: 12px; align-items: baseline; margin-bottom: 4px; }
.clinic-review__author { font-weight: 600; }
.clinic-review__date { color: #888; font-size: 13px; }
.clinic-review__text { line-height: 1.5; }
.clinic-review__empty { color: #777; }
.clinic-review-thanks {
    background: #e8f5e9;
    border: 1px solid #a5d6a7;
    color: #2e7d32;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.clinic-review-error {
    background: #fdecea;
    border: 1px solid #f5c6cb;
    color: #c0392b;
    padding: 10px 14px;
    border-radius: 4px;
    margin-bottom: 14px;
}
.clinic-review-form { margin-top: 20px; max-width: 420px; }
.clinic-review-form label { display: block; margin: 8px 0 2px; font-size: 14px; }
.clinic-review-form input[type="text"],
.clinic-review-form input[type="email"],
.clinic-review-form textarea {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
