/* css/pages.css - Стили, специфичные для каждой страницы */

/* --- Page Title Section (General for inner pages) --- */
.page-title-section {
    background-color: #f2f2f2;
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.page-title {
    font-size: 3em;
    color: var(--dark-text-color);
    margin-bottom: 0;
}

/* --- Home Page Specific Styles --- */
/* Эти стили в основном являются дублированием или уточнением тех, что в components.css,
   или предназначены для секций на главной, которые не являются "компонентами". */
.home-slider {
    /* Styles are mostly in components.css */
}

.features-icons-section {
    background-color: var(--header-top-bg);
    padding: 60px 0;
    text-align: center;
    margin-top: -80px;
    position: relative;
    z-index: 5;
}

.features-icons-section .container {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.feature-icon-item {
    flex-basis: 22%;
    min-width: 200px;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.feature-icon-item i {
    font-size: 60px;
    line-height: 1;
    margin: 0 auto 20px;
    color: #fff;
    display: block;
}

.feature-icon-item h4 {
    color: #fff;
    font-size: 1.2em;
    margin-bottom: 0;
    font-weight: 500;
}

.about-us-home-section {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    padding: 80px 0;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-top: 50px;
}

.about-us-image {
    flex: 0 0 40%;
    max-width: 40%;
}

.about-us-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-us-content {
    flex: 1;
}

.section-category {
    color: var(--main-accent-color);
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
    font-weight: 600;
}

.section-title {
    color: var(--dark-text-color);
    font-size: 2.8em;
    margin-bottom: 20px;
    font-weight: 700;
}

.about-us-content p {
    font-size: 1.05em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--light-text-color);
}

.section-highlight {
    font-weight: 700;
    font-size: 1.2em;
    color: var(--main-accent-color);
}

.advantages-block-section {
    padding: 60px 0;
    background-color: #f8f8f8;
}

.advantages-inner-wrapper {
    display: flex;
    gap: 50px;
    align-items: center;
}

.advantages-image-col {
    flex: 0 0 50%;
    min-height: 500px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.advantages-content-col {
    flex: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.advantage-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.advantage-item i {
    font-size: 50px;
    color: var(--main-accent-color);
    flex-shrink: 0;
    margin-top: 5px;
}

.advantage-item .advantage-text h3 {
    color: var(--dark-text-color);
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 600;
}

.advantage-item .advantage-text p {
    font-size: 0.95em;
    color: var(--light-text-color);
    margin-bottom: 0;
}

.main-services-block {
    background-color: var(--main-accent-color);
    padding: 80px 0 50px;
    color: #fff;
    text-align: center;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.service-grid-item {
    background-color: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 8px;
    transition: background-color 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 220px;
}

.service-grid-item:hover {
    background-color: rgba(255,255,255,0.2);
}

.service-grid-item i {
    font-size: 70px;
    color: #fff;
    margin: 0 auto 20px;
    line-height: 1;
}

.service-grid-item h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.6em;
    font-weight: 600;
}

.service-grid-item p {
    font-size: 1em;
    color: rgba(255,255,255,0.8);
    margin-bottom: 0;
}

.call-to-action-line {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.3);
}

.call-to-action-line p {
    font-size: 1.5em;
    font-weight: 300;
    margin-bottom: 0;
    color: #fff;
}

.call-to-action-line strong {
    font-weight: 700;
}


/* --- About Us Page Specific Styles --- */
.about-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.about-intro {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-intro-image {
    flex: 0 0 45%;
    max-width: 45%;
}
.about-intro-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.about-intro-text {
    flex: 1;
}
.about-intro-text .section-title {
    font-size: 2.2em;
    margin-bottom: 20px;
}
.about-intro-text p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 15px;
    color: var(--light-text-color);
}

.about-mission,
.about-advantages,
.about-equipment {
    margin-bottom: 60px;
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.about-mission .section-title,
.about-advantages .section-title,
.about-equipment .section-title {
    text-align: center;
    margin-bottom: 40px;
    color: var(--dark-text-color);
}

.about-mission ul {
    list-style: none;
    padding-left: 20px;
    margin-bottom: 20px;
}
.about-mission ul li {
    position: relative;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--light-text-color);
    padding-left: 25px;
}
.about-mission ul li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--green-accent);
    position: absolute;
    left: -20px;
    top: 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    text-align: center;
}

.advantage-square-item {
    background-color: var(--light-blue-bg);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: transform 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}
.advantage-square-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.advantage-square-item i {
    font-size: 60px;
    color: var(--main-accent-color);
    margin: 0 auto 15px;
    line-height: 1;
}

.about-equipment {
    display: flex;
    gap: 50px;
    align-items: center;
}

.equipment-text {
    flex: 1;
}
.equipment-text .section-title {
    text-align: left;
}
.equipment-text p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
}

.equipment-image {
    flex: 0 0 45%;
    max-width: 45%;
}
.equipment-image img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}


/* --- Prices Page Specific Styles --- */
.prices-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.price-list-intro {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
}
.price-list-intro .section-title {
    margin-bottom: 20px;
    color: var(--dark-text-color);
}
.price-list-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.price-categories-accordion {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.accordion-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
}

.accordion-header {
    padding: 20px 30px;
    background-color: #f2f2f2;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.accordion-header:hover {
    background-color: #e0e0e0;
}

.accordion-header .category-title {
    font-size: 1.8em;
    color: var(--dark-text-color);
    margin: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.accordion-icon {
    font-size: 1.5em;
    color: var(--main-accent-color);
    transition: transform 0.3s ease;
}
.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
    padding: 0 30px;
}
.accordion-item.active .accordion-content {
    max-height: 2000px; /* A value larger than expected content height */
    padding: 20px 30px;
}

.category-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--light-text-color);
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.price-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0;
    font-size: 1.05em;
}
.price-table-header,
.price-table-row {
    display: flex;
    border-bottom: 1px solid var(--border-color);
}
.price-table-header {
    background-color: #f2f2f2;
    font-weight: bold;
    color: var(--dark-text-color);
    padding: 15px 0;
}
.price-table-row {
    padding: 12px 0;
    transition: background-color 0.2s ease-in-out;
}
.price-table-row:hover {
    background-color: #fcfcfc;
}
.service-name-col {
    flex: 3;
    padding-right: 20px;
    color: var(--dark-text-color);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.service-name-col .service-code {
    font-size: 0.85em;
    color: var(--light-text-color);
    margin-top: 5px;
}
.service-name-col .service-description-text {
    font-size: 0.85em;
    color: var(--light-text-color);
    line-height: 1.4;
    margin-top: 5px;
}
.service-price-col {
    flex: 1;
    text-align: right;
    font-weight: 600;
    color: var(--main-accent-color);
    white-space: nowrap;
}

.price-notes {
    background-color: #e0f2ff;
    padding: 30px;
    border-radius: 8px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.price-notes p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--dark-text-color);
    margin-bottom: 10px;
}
.price-notes p:last-child {
    margin-bottom: 0;
}
.price-notes strong {
    color: var(--dark-text-color);
}


/* --- Doctors Page Specific Styles --- */
.doctors-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.doctors-intro {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
}
.doctors-intro .section-title {
    margin-bottom: 20px;
    color: var(--dark-text-color);
}
.doctors-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.doctor-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.doctor-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.doctor-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
}
.doctor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease-in-out;
}
.doctor-card:hover .doctor-photo img {
    transform: scale(1.05);
}

.doctor-info {
    padding: 25px;
    text-align: center;
}

.doctor-name {
    font-size: 1.7em;
    color: var(--main-accent-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.doctor-specialization {
    font-size: 1.1em;
    color: var(--dark-text-color);
    margin-bottom: 15px;
    font-weight: 500;
}

.doctor-achievements {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    text-align: left;
}
.doctor-achievements li {
    font-size: 0.95em;
    color: var(--light-text-color);
    margin-bottom: 5px;
    position: relative;
    padding-left: 20px;
}
.doctor-achievements li::before {
    content: "\f00c";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--green-accent);
    position: absolute;
    left: 0;
    top: 2px;
}

.btn-view-more {
    background-color: var(--main-accent-color);
    color: #fff;
    padding: 10px 20px;
    font-size: 0.9em;
    border-radius: 5px;
    display: inline-block;
}
.btn-view-more:hover {
    background-color: var(--hover-color);
}


/* --- Documents Page Specific Styles --- */
.documents-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.documents-intro {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
}
.documents-intro .section-title {
    margin-bottom: 20px;
    color: var(--dark-text-color);
}
.documents-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.documents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
    justify-content: center;
}

.document-item {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}
.document-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.document-item a {
    display: block;
    color: inherit;
}

.document-item img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    object-position: top;
    transition: transform 0.3s ease-in-out;
}
.document-item:hover img {
    transform: scale(1.03);
}

.document-title {
    padding: 15px 10px;
    font-size: 1.05em;
    font-weight: 500;
    line-height: 1.4;
    color: var(--dark-text-color);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top: 1px solid var(--border-color);
    background-color: #f2f2f2;
}

.documents-cta {
    background-color: var(--main-accent-color);
    color: #fff;
    padding: 50px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.documents-cta p {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #fff;
}
.documents-cta .primary-btn {
    background-color: #fff;
    color: var(--main-accent-color);
}
.documents-cta .primary-btn:hover {
    background-color: var(--hover-color);
    color: #fff;
}


/* --- Politics Page Specific Styles --- */
.politics-page-content {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 40px;
    border-radius: 8px;
    margin-bottom: 50px;
}

.politics-intro {
    margin-bottom: 40px;
}
.politics-intro .section-title {
    text-align: center;
    margin-bottom: 30px;
}
.politics-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    margin-bottom: 15px;
}

.politics-section {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}
.politics-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.politics-section h3 {
    font-size: 1.6em;
    color: var(--main-accent-color);
    margin-bottom: 20px;
}

.politics-section p {
    font-size: 1em;
    line-height: 1.6;
    color: var(--light-text-color);
    margin-bottom: 15px;
}

.politics-section ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 15px;
}
.politics-section ul li {
    position: relative;
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--light-text-color);
    padding-left: 25px;
}
.politics-section ul li::before {
    content: "\2022";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    color: var(--main-accent-color);
    position: absolute;
    left: 0;
    font-size: 1.2em;
    line-height: 1;
}
.politics-section ul li strong {
    color: var(--dark-text-color);
}


/* --- Reviews Page Specific Styles --- */
.reviews-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.reviews-intro {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
}
.reviews-intro .section-title {
    margin-bottom: 20px;
    color: var(--dark-text-color);
}
.reviews-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.review-card {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Reviewer avatar styles removed from HTML, so these are no longer active but kept for context */
/* .reviewer-avatar { ... }
.reviewer-avatar img { ... } */

.review-header {
    display: flex;
    /* Changed to column for name/date/rating stack */
    flex-direction: column; 
    align-items: flex-start; /* Align name/date to left */
    margin-bottom: 15px;
    /* gap: 15px; No gap needed with column flex-direction */
}
.reviewer-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    /* Optional: Center info if no avatar */
    /* text-align: center; */
}
.reviewer-name {
    font-size: 1.3em;
    font-weight: 600;
    color: var(--dark-text-color);
    margin-bottom: 5px; /* Added margin for date below */
}
.review-date {
    font-size: 0.9em;
    color: var(--light-text-color);
    margin-bottom: 10px; /* Margin for rating below */
}

.review-rating {
    margin-bottom: 15px;
    text-align: left; /* Align stars to left */
}
.review-rating .fas, .review-rating .far {
    color: #ffc107;
    font-size: 1.1em;
    margin-right: 2px;
}

.review-text {
    font-size: 1em;
    line-height: 1.6;
    color: var(--light-text-color);
    margin-bottom: 0;
}

/* Rating Stars for review form */
.rating-stars {
    display: inline-block;
    cursor: pointer;
    font-size: 1.5em;
    color: #ffc107; /* Звезды будут желтыми */
}

.rating-stars i {
    margin-right: 3px;
    transition: color 0.2s ease;
}


/* --- Appointment Page Specific Styles --- */
.appointment-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.appointment-intro {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
}
.appointment-intro .section-title {
    margin-bottom: 20px;
    color: var(--dark-text-color);
}
.appointment-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.appointment-intro p strong {
    color: var(--main-accent-color);
}

.appointment-form-wrapper {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    max-width: 900px;
    margin: 0 auto 50px auto;
    border: 1px solid #eee;
}

.appointment-form .form-title {
    text-align: center;
    font-size: 2.4em;
    margin-bottom: 40px;
    color: var(--dark-text-color);
    position: relative;
    padding-bottom: 15px;
}
.appointment-form .form-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--main-accent-color);
    border-radius: 2px;
}

.appointment-form .form-row {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
}
.appointment-form .form-row:last-of-type {
    margin-bottom: 0;
}

.appointment-form .form-group {
    flex: 1;
    margin-bottom: 0;
}
.appointment-form .form-group.full-width {
    flex: 0 0 100%;
}

.appointment-form label {
    display: block;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--dark-text-color);
    font-size: 1.05em;
}

.appointment-form input[type="text"],
.appointment-form input[type="tel"],
.appointment-form input[type="email"],
.appointment-form input[type="date"],
.appointment-form select,
.appointment-form textarea {
    padding: 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1.05em;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.06);
}
.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
    outline: none;
    border-color: var(--main-accent-color);
    box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.3);
}

.appointment-form small {
    display: block;
    margin-top: 8px;
    font-size: 0.9em;
    color: var(--light-text-color);
}

.appointment-form .primary-btn {
    width: 100%;
    padding: 18px;
    font-size: 1.2em;
    margin-top: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}
.appointment-form .primary-btn:hover {
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}


/* --- Vacancies Page Specific Styles --- */
.vacancies-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.vacancies-intro {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
}
.vacancies-intro .section-title {
    margin-bottom: 20px;
    color: var(--dark-text-color);
}
.vacancies-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.open-vacancies {
    margin-bottom: 60px;
}
.open-vacancies .section-subtitle {
    font-size: 2em;
    color: var(--main-accent-color);
    text-align: center;
    margin-bottom: 40px;
}

.vacancy-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 25px;
    border-left: 5px solid var(--main-accent-color);
}
.vacancy-item:last-child {
    margin-bottom: 0;
}

.vacancy-title {
    font-size: 1.8em;
    color: var(--dark-text-color);
    margin-bottom: 10px;
    font-weight: 700;
}

.vacancy-description {
    font-size: 1em;
    line-height: 1.6;
    color: var(--light-text-color);
    margin-bottom: 20px;
}

.vacancy-requirements {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.vacancy-requirements li {
    font-size: 0.95em;
    color: var(--light-text-color);
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}
.vacancy-requirements li i {
    color: var(--green-accent);
    font-size: 1.1em;
    margin-top: 2px;
    flex-shrink: 0;
}

.vacancy-details {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.9em;
    color: var(--dark-text-color);
    font-weight: 500;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}
.vacancy-details span i {
    margin-right: 8px;
    color: var(--main-accent-color);
}
.vacancy-details .vacancy-salary {
    color: #28a745;
}
.vacancy-details .vacancy-location {
    color: #007bff;
}


/* --- Contacts Page Specific Styles --- */
.contacts-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.contacts-intro {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 50px;
    text-align: center;
}
.contacts-intro .section-title {
    margin-bottom: 20px;
    color: var(--dark-text-color);
}
.contacts-intro p {
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-block-item {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.contact-block-item.general-contact {
    background-color: var(--main-accent-color);
    color: #fff;
}
.contact-block-item.general-contact .contact-block-title {
    color: #fff;
    border-bottom-color: rgba(255,255,255,0.3);
}
.contact-block-item.general-contact p,
.contact-block-item.general-contact i {
    color: rgba(255,255,255,0.9);
}
.contact-block-item.general-contact a {
    color: #fff;
    text-decoration: underline;
}
.contact-block-item.general-contact a:hover {
    color: #eee;
}

.contact-block-title {
    font-size: 1.6em;
    color: var(--main-accent-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.contact-block-item p {
    font-size: 1em;
    line-height: 1.5;
    color: var(--light-text-color);
    margin-bottom: 10px;
}
.contact-block-item p i {
    margin-right: 10px;
    color: var(--main-accent-color);
}
.contact-block-item p.email-general i {
    color: #fff;
}


.contact-map-section {
    margin-bottom: 60px;
}
.contact-map-section .section-title {
    text-align: center;
    margin-bottom: 30px;
}
.contact-map-section p {
    text-align: center;
    font-size: 1.1em;
    line-height: 1.7;
    color: var(--light-text-color);
    max-width: 900px;
    margin: 0 auto 40px auto;
}

.map-wrapper {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    margin-bottom: 30px;
}
.map-wrapper:last-child {
    margin-bottom: 0;
}

.map-title {
    font-size: 1.4em;
    color: var(--dark-text-color);
    margin-bottom: 15px;
    text-align: center;
}

.map-wrapper iframe {
    width: 100%;
    height: 400px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
}


/* --- Стили для Личного кабинета клиента (client_login.php, client_area.php) --- */

/* Общие стили для контейнера ЛК */
.client-area-container,
.client-login-container {
    max-width: 800px; /* Ограничиваем ширину для лучшей читаемости */
    margin: 40px auto; /* Центрируем и добавляем отступы */
    padding: 30px;
    background-color: #fff; /* Белый фон */
    border-radius: 8px; /* Скругление углов, используем конкретное значение */
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); /* Легкая тень */
    border: 1px solid var(--border-color); /* Граница */
}

.client-area-container h1,
.client-area-container h2,
.client-login-container h1 {
    text-align: center;
    color: var(--main-accent-color); /* Основной акцентный цвет */
    margin-bottom: 30px;
    font-size: 2.2em;
}
.client-area-container h3 {
    color: var(--dark-text-color);
    margin-top: 30px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.6em;
}

/* Стили для формы входа/регистрации */
.client-login-form {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Отступы между элементами формы */
}

.client-login-form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-text-color);
}

.client-login-form .input-field { /* Используйте этот класс для всех input, select, textarea */
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 5px; /* Использовать 5px */
    font-size: 1em;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box; /* Убедимся, что box-sizing установлен */
}
.client-login-form .input-field:focus {
    outline: none;
    border-color: var(--main-accent-color);
    /* Здесь предполагается, что var(--main-accent-rgb) определено в base.css или подобном файле. */
    /* Если нет, используйте конкретное RGBA значение. Например, box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2); */
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2); 
}

.client-login-form .btn-submit { /* Используйте классы .btn .primary-btn, как в общих стилях */
    width: 100%;
    padding: 15px;
    margin-top: 20px;
    font-size: 1.1em;
}

.client-login-form p.text-center {
    text-align: center;
    margin-top: 15px;
    font-size: 0.95em;
    color: var(--light-text-color);
}
.client-login-form p.text-center a {
    color: var(--main-accent-color);
    text-decoration: none;
    font-weight: 600;
}
.client-login-form p.text-center a:hover {
    text-decoration: underline;
}

/* Стили для таблицы записей в ЛК */
.client-appointments-table { /* Изменено имя класса с appointments-table на client-appointments-table, чтобы не конфликтовать с админкой */
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    background-color: #fcfcfc;
    border-radius: 8px; /* Использовать 8px */
    overflow: hidden; /* For rounded corners on table */
}

.client-appointments-table th,
.client-appointments-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #dee2e6; /* Использовать конкретное значение */
}

.client-appointments-table thead th {
    background-color: var(--light-blue-bg); /* Светлый фон для заголовков */
    color: var(--dark-text-color);
    font-weight: 600;
    font-size: 0.95em;
    text-transform: uppercase;
}

.client-appointments-table tbody tr:nth-child(even) {
    background-color: #f9f9f9; /* Чередующийся фон строк */
}

.client-appointments-table tbody tr:hover {
    background-color: #f0f0f0; /* Подсветка строки при наведении */
}

.client-appointments-table td {
    color: var(--light-text-color);
    font-size: 0.9em;
}
.client-appointments-table td:first-child {
    font-weight: 500;
    color: var(--dark-text-color);
}

.client-actions {
    margin-top: 40px;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
}
.client-actions .btn {
    padding: 12px 25px;
    font-size: 1em;
}
.client-actions .secondary-btn {
    background-color: #6c757d; /* Темно-серый */
    color: white;
}
.client-actions .secondary-btn:hover {
    background-color: #5a6268;
}


/* --- Authentication Forms (client_login.php) --- */
.client-auth-page-content {
    background: none;
    box-shadow: none;
    padding: 0;
}

.auth-forms-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 40px auto;
}

.auth-form-box {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 1px solid var(--border-color);
}

.auth-form-box .form-title {
    text-align: center;
    font-size: 1.8em;
    margin-bottom: 25px;
    color: var(--main-accent-color);
}

.auth-form-box .form-note {
    font-size: 0.85em;
    color: var(--light-text-color);
    text-align: center;
    margin-top: 15px;
}
.auth-form-box .form-note a {
    color: var(--main-accent-color);
    text-decoration: underline;
}

/* Дополнительные стили для строк таблицы клиента (Client Area) */
/* Эти классы должны соответствовать тому, что выводится в client_area.php */
.appointment-status-new { background-color: #fff3cd; } /* Светло-желтый */
.appointment-status-confirmed { background-color: #d4edda; } /* Светло-зеленый */
.appointment-status-in_progress { background-color: #fce7cf; } /* Светло-оранжевый */
.appointment-status-client_rescheduled { background-color: #d1ecf1; } /* Светло-голубой */
.appointment-status-canceled { background-color: #f8d7da; } /* Светло-красный */
.appointment-status-client_no_show { background-color: #f8d7da; } /* Светло-красный */
.appointment-status-completed { background-color: #e2e3e5; } /* Светло-серый */

.appointment-status-cell .status-badge {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    color: white;
}

/* Цвета для бейджей статусов */
.status-badge.status-new { background-color: #ffc107; } /* Желтый */
.status-badge.status-confirmed { background-color: #28a745; } /* Зеленый */
.status-badge.status-in_progress { background-color: #fd7e14; } /* Оранжевый */
.status-badge.status-client_rescheduled { background-color: #17a2b8; } /* Бирюзовый */
.status-badge.status-canceled { background-color: #dc3545; } /* Красный */
.status-badge.status-client_no_show { background-color: #dc3545; }
.status-badge.status-completed { background-color: #6c757d; } /* Серый */