:root{
    --color1:#ffffff00;
    --color2:#000000;
    --color3:#0d8d4d;
    --color4:hsl(53, 70%, 42%);
}

header, footer, section{
    padding: 60px 0;
}

body{
    display:flex;
    flex-direction:column;
    padding-bottom: 80px; /* Для ПК */
}

nav.navbar{ 
    position: fixed;
    z-index: 1;
    top: 20px;
    left: 20px;
    right: 20px; 
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.2); /* Полупрозрачный фон */
    backdrop-filter: blur(10px); /* Применяет размытие к фону позади элемента */
    -webkit-backdrop-filter: blur(10px); /* Для совместимости с Safari */
    /* Дополнительно можно добавить легкую тень или границу */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); 
    color: var(--bs-navbar-color, #000);
    padding-bottom: 15px; /* Отступ снизу */
}

/* Общие стили для input-group */
.input-group .form-control {
    border-right: none; /* Убираем границу между полем и кнопкой */
    border-radius: 20px 0 0 20px; /* Скругляем левую часть */
}

.input-group .btn {
    border-left: none; /* Убираем границу между кнопкой и полем */
    padding-left: 10px;
    padding-right: 15px;
    border-radius: 12px;
}

/* Блок отзывов в сетке */
.reviews-grid-card {
    grid-column: span 2; /* Занимает 2 колонки */
    background: linear-gradient(135deg, #ffffff 0%, #f9fbff 100%);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid #f0f0f5;
    padding-bottom: 15px;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-main);
    display: block;
    line-height: 1;
}

.rating-info p {
    margin: 5px 0 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.platform-logos {
    display: flex;
    gap: 10px;
    opacity: 0.7;
}

.platform-logos img {
    height: 24px; /* Логотипы ПроДокторов, Яндекс и т.д. */
    filter: grayscale(100%);
    transition: 0.3s;
}

.platform-logos img:hover {
    filter: grayscale(0%);
}

.review-text {
    font-style: italic;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #3a3a3c;
    margin-bottom: 15px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.review-author .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e5e5ea;
}

.review-author strong {
    display: block;
    font-size: 0.95rem;
}

.review-author span {
    font-size: 0.8rem;
    color: var(--accent-color);
}

.btn-text {
    display: inline-block;
    margin-top: 15px;
    font-size: 0.9rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

.btn-text:hover {
    text-decoration: underline;
}

/* Блок образования */
.education-card {
    grid-column: span 2; /* Увеличиваем ширину в 2 раза (было span 1) */
    grid-row: span 2;    /* Сохраняем высоту */
    display: flex;
    flex-direction: column;
}

.timeline {
    margin-top: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Линия таймлайна (опционально) */
.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: #f0f0f5;
}

.timeline-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.edu-logo {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: white;
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
}

.edu-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.edu-content .year {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-color);
    background: #eef7ff;
    padding: 2px 8px;
    border-radius: 6px;
    margin-bottom: 4px;
}

.edu-content strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-main);
    line-height: 1.2;
}

.edu-content p {
    margin: 4px 0 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.full-portfolio-link {
    margin-top: auto;
    padding-top: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-color);
    text-decoration: none;
}

.full-portfolio-link:hover {
    text-decoration: underline;
}

.courses-card {
    grid-column: span 2; /* Широкая карточка */
    background: #fff;
}

.courses-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 15px;
}

.course-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 16px;
    position: relative;
    border: 1px solid transparent;
    transition: 0.3s;
}

.course-item:hover {
    border-color: var(--accent-color);
    background: #fff;
}

/* Выделение самого свежего курса 2025 года */
.course-item.highlight {
    background: linear-gradient(90deg, #f0f7ff, #ffffff);
    border-left: 4px solid var(--accent-color);
}

.course-year {
    font-weight: 800;
    color: var(--text-main);
    font-size: 0.9rem;
    min-width: 45px;
}

.course-info strong {
    display: block;
    font-size: 0.95rem;
    line-height: 1.3;
    color: var(--text-main);
    margin-bottom: 2px;
}

.course-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.course-badge {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #34c759; /* Зеленый Apple-style */
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
}


/* Общие стили для нижней панели */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: transparent; /* Прозрачный фон */
    backdrop-filter: none; /* Убираем размытие */
    -webkit-backdrop-filter: none; /* Для Safari */
    z-index: 2000;
    padding-bottom: env(safe-area-inset-bottom);
    border-top: none; /* Убираем границу */
}

.bottom-bar .container {
    padding-left: 15px;
    padding-right: 15px;
}

.input-group-text{
    background-color: rgba(255, 255, 255, 0.2)!important; /* Полупрозрачный фон */
    backdrop-filter: blur(10px)!important; /* Применяет размытие к фону позади элемента */
    border: 0px;
    -webkit-backdrop-filter: blur(10px) !important; /* Для совместимости с Safari */
    /* Дополнительно можно добавить легкую тень или границу */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1) !important; 
    color: var(--bs-navbar-color, #000);

}

/* Фокус на поиске */
.form-control:focus {
    border-color: #198754;
    box-shadow: 0 0 0 0.2rem rgba(25, 135, 84, 0.15);
    outline: none;
}

/* Убираем зеленую полосу при фокусе для bottom-bar-search */
.bottom-bar-search .form-control:focus {
    border-color: #dee2e6 !important;
    box-shadow: none !important;
    outline: none !important;
}

.bottom-bar-search .form-control:focus-visible {
    outline: none !important;
    box-shadow: none !important;
    border-color: #dee2e6 !important;
}

.bottom-bar-search .form-control:active {
    border-color: #dee2e6 !important;
    box-shadow: none !important;
}
.input-group{
    margin-bottom: 20px;
}

/* Стили для миниатюры фотографии доктора */
.doctor-photo-mini {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        object-fit: cover;
        border: 2px solid rgba(255, 255, 255, 0.3);
        flex-shrink: 0;
    }

      /* Стили для информации о докторе */
    .doctor-info {
        display: flex;
        flex-direction: column;
        line-height: 1.2;
        align-items: flex-start;
    }
    
    .doctor-specialty {
        font-size: 0.75rem;
        color: rgba(0, 0, 0, 0.7);
        font-weight: 400;
        text-align: left;
        width: 100%;
    }
    
    .doctor-name {
        font-size: 0.9rem;
        color: #000;
        font-weight: 600;
        text-align: left;
        width: 100%;
    }

    .dashboard {
    display: grid;
    gap: 20px;
    max-width: 1200px;
    width: 100%;
    /* Сетка: 4 колонки */
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(160px, auto);
    margin-bottom: 40px;
}

/* Базовые стили карточек */
.card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-radius: 16px;
}
.card-header{
    background-color: #ffffff;
    padding:0;

}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* Размеры карточек в сетке */
.main-hero { grid-column: span 2; grid-row: span 2; display: flex; flex-direction: row; align-items: center; background: linear-gradient(135deg, #fff, #eef7ff); }
.symptoms-card { grid-column: span 2; }
.services-card { grid-column: span 2; grid-row: span 1;justify-content:flex-start }

/* Стили контента */
.main-hero img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; margin-left: 20px; }
.main-hero h1 { font-size: 2rem; margin: 0 0 10px 0; }

.btn-primary {
    background: var(--accent-color);
    color: rgba(0, 0, 0, 0.33);
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 100;
    cursor: pointer;
}

.stats-card .value { font-size: 2.5rem; font-weight: 800; color: var(--accent-color); }
.label { font-size: 0.9rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }

.symptoms-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.symptoms-tags span { background: #f2f2f7; padding: 6px 12px; border-radius: 20px; font-size: 0.85rem; }

.services-list { list-style: none; padding: 0; margin-top: 20px; }
.services-list li { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid #f2f2f7; }
.services-list li span { font-weight: 600; color: var(--accent-color); }

.form-control .laments{
    display: flex;
    
}

/* Блок специализации */
.specialization-card {
    grid-column: span 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.specialization-card h3 {
    margin-bottom: 20px;
    font-size: 1.4rem;
    line-height: 1.3;
}

.focus-areas {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.focus-group h4 {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: #ffffff;
    border: 1px solid #e1e8ed;
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.tag:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.1);
}

/* Акцентные теги для редких/сложных патологий */
.tag.accent {
    background: #ffeeee;
    border-color: #ff0000;
}

.tag.highlight {
    background: #eefff3;
    border-color: #3f980b;
}

/* Стиль активного тега */
.tag.active {
    border-color: var(--accent-color);
    background: #f0f7ff;
    color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0, 122, 255, 0.15);
}

/* Блок с описанием тега */
.tag-description {
    margin-top: 12px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    animation: fadeIn 0.2s ease;
}

.tag-description p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-main);
    line-height: 1.5;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Блок онлайн-записи */
.online-booking-card {
    background: linear-gradient(135deg, #0e841a 0%, #2da303 100%); /* Глубокий зеленый */
    color: white;
    grid-column: span 2; /* Компактный размер */
    position: relative;
    overflow: hidden;
}

/* Мигающий индикатор "Online" */
.online-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
}

.online-badge .dot {
    width: 6px;
    height: 6px;
    background: #34c759; /* Зеленая точка */
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0.3; }
    100% { opacity: 1; }
}

.online-booking-card h3 {
    color: white;
    margin: 10px 0;
    font-size: 1.25rem;
}

.online-booking-card p {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 15px;
    line-height: 1.4;
}

.booking-features {
    display: flex;
    gap: 12px;
    font-size: 0.75rem;
    margin-bottom: 20px;
}

.booking-features span {
    background: rgba(255, 255, 255, 0.15);
    padding: 4px 8px;
    border-radius: 8px;
}

/* Кнопка внутри синей карточки */
.btn-online {
    background: white;
    color: #06a433;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.btn-online:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.card-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed #d1d9e0;
}

.card-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 0;
}

    /* Отступ для контента снизу, чтобы меню ничего не закрывало */
@media (max-width: 991px) {
    body {
        padding-bottom: 70px;
    }
    
    /* Скрываем стандартную кнопку-бургер, если она вам больше не нужна в шапке */
    /* 1. Скрываем кнопку-бургер (разворачиватель) */
    .navbar-toggler {
        display: none !important;
    }

    /* 2. Полностью скрываем выпадающий блок меню, 
       чтобы он не занимал место, даже если он пустой */
    #navbarScroll {
        display: none !important;
    }

    /* 3. Опционально: центрируем логотип "ИМ" для красоты, 
       так как меню справа больше нет */
    .navbar-brand {
        margin-right: 0;
        width: 100%;
        text-align: center;
    }

    
    /* 4. Убираем лишние отступы у навигации в мобильной версии */
    .navbar {
        padding-top: 10px;
        padding-bottom: 10px;
    }
    /* Стилизация дашборда */
    .dashboard {
        grid-template-columns: repeat(2, 1fr);

    }


    /* Делаем инпут более компактным для телефона */
    .input-group-sm .form-control {
        height: 36px;
        background-color: #f8f9fa00; /* Слегка серый фон, как в iOS поиске */
        border-color:#dee2e65e;
    }

    /* Чтобы поиск не прилипал к краям */
    .container-fluid {
        padding-left: 5px;
        padding-right: 5px;
    }
    .input-group{
        margin-bottom: 0px;
    }
    
    /* Исправление для bottom-bar-search на мобильных */
    .bottom-bar .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .bottom-bar-search .input-group {
        margin-bottom: 0;
        width: 100%;
    }
    
    .bottom-bar-search .form-control {
        border-right: 1px solid #dee2e6 !important;
    }
    .education-card {
        grid-column: span 2;
        grid-row: auto;
    }
    .timeline {
        flex-direction: row; /* На планшетах выстроим в ряд */
        overflow-x: auto;
        padding-bottom: 10px;
    }
    .timeline::before { display: none; }
    .timeline-item { min-width: 200px; }
    
}

@media (max-width: 600px) {
    /* 1. Превращаем сетку в одну колонку */
    .dashboard {
        grid-template-columns: 1fr !important;
        display: flex; /* Для надежности можно использовать flex */
        flex-direction: column;
        gap: 16px; /* Расстояние между карточками */
        padding: 10px;
    }

    /* 2. Сбрасываем объединение колонок у ВСЕХ элементов внутри .dashboard */
    .dashboard > * {
        grid-column: span 1 !important; /* Отменяет span 2 */
        grid-row: auto !important;    /* Отменяет span 2 по высоте */
        width: 100% !important;        /* Растягивает на всю ширину */
        box-sizing: border-box;
    }

    /* 3. Дополнительная корректировка внутренних элементов (если нужно) */
    .main-hero {
        flex-direction: column;
        text-align: center;
    }

    .main-hero img {
        margin: 0 auto 15px auto;
        order: -1;
    }
}
/* Стили нижнего бара */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    z-index: 2000;
    display: none !important; /* Скрыт по умолчанию */
    flex-direction: column;
    padding-bottom: env(safe-area-inset-bottom); /* Поддержка iPhone */
    box-shadow: 0 -5px 15px rgba(0,0,0,0.05);
}

/* Блок поиска внизу */
.bottom-nav-search {
    padding: 8px 15px 4px 15px;
}

.bottom-nav-search .input-group-text, 
.bottom-nav-search .form-control {
    border-radius: 12px;
    height: 40px;
}

/* Блок кнопок внизу */
.bottom-nav-buttons {
    display: flex;
    height: 60px;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2); /* Полупрозрачный фон как у navbar */
    backdrop-filter: blur(10px); /* Применяет размытие к фону позади элемента */
    -webkit-backdrop-filter: blur(10px); /* Для совместимости с Safari */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Тень как у navbar */
    border-radius: 12px; /* Скругление сверху */
    margin: 0px 10px 10px /* Отступы по бокам */
}

.bottom-nav-link {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: hsl(0, 0%, 17%);
    font-size: 11px;
    transition: all 0.2s ease;
    border-radius: 8px;
    padding: 8px 4px;
}

.bottom-nav-link i {
    font-size: 1.4rem;
    margin-bottom: 2px;
}

.bottom-nav-link.active {
    color: #198754; /* Зеленый как кнопка в коде */
    background-color: rgba(25, 135, 84, 0.15); /* Легкий зеленый фон */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 10px; /* Отступ со всех сторон */
}

/* Эффект нажатия для активной ссылки */
.bottom-nav-link.active:active {
    background-color: rgba(25, 135, 84, 0.25); /* Более темный фон при нажатии */
    transform: scale(0.95); /* Небольшое уменьшение при нажатии */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Внутренняя тень */
}

/* Красивые скругления для всех инпутов поиска */
.input-group .form-control:focus {
    border-color: #198754;
    box-shadow: none;
}

/* Закругляем углы у выезжающего меню, как в приложениях iOS/Android */
.offcanvas-bottom {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 -5px 20px rgba(0,0,0,0.2);
    
}

/* Контейнер сетки */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* Ровно 3 колонки */
    gap: 20px 10px;
    padding: 10px 5px;
}

/* Элемент меню */
.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
    transition: transform 0.2s ease;
}

.menu-item:active {
    transform: scale(0.9); /* Эффект нажатия */
}

.menu-item span {
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 8px;
    text-align: center;
    line-height: 1.2;
}

/* Иконки-кружочки */
.menu-icon {
    width: 60px;
    height: 60px;
    border-radius: 18px; /* Мягкий квадрат в стиле iOS/Google */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* Цвета фонов (пастельные тона 2026) */
.bg-blue { background-color: #e3f2fd; }
.bg-green { background-color: #e8f5e9; }
.bg-purple { background-color: #f3e5f5; }
.bg-red { background-color: #ffebee; }
.bg-orange { background-color: #fff3e0; }
.bg-teal { background-color: #e0f2f1; }
.bg-indigo { background-color: #e8eaf6; }

/* Коллеги в виде чипсов (горизонтальный скролл) */
.colleagues-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 5px 10px;
    scrollbar-width: none; /* Убираем скроллбар */
}

.colleague-chip {
    display: flex;
    align-items: center;
    background: #f1f3f4;
    padding: 6px 12px 6px 6px;
    border-radius: 30px;
    text-decoration: none;
    color: #333;
    white-space: nowrap;
}

.colleague-chip img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.colleague-chip span {
    font-size: 0.85rem;
    font-weight: 500;
}


.list-group-item {
    border: none;
    padding: 12px 0;
    font-size: 1.1rem;
}

/* Цвет иконки "Меню" при открытии */
[aria-expanded="true"] i {
    color: #198754;
}

/* Стили инпута для bottom-bar-search */
.bottom-bar-search {
    padding: 8px 15px 4px 15px;
}

/* Убираем тень с input-group и добавляем скругление для обрезки */
.bottom-bar-search .input-group {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.bottom-bar-search .input-group.shadow-sm {
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

.bottom-bar-search .input-group-text {
    border-radius: 12px 0 0 12px;
    height: 46px;
    border-right: none;
    box-shadow: none;
}

/* На десктопе: скругление только слева, справа будет кнопка */
.bottom-bar-search .form-control {
    border-radius: 0;
    height: 46px;
    border: none;
    box-shadow: none;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--bs-navbar-color, #000);

}

/* Когда есть кнопка (на десктопе) */
.bottom-bar-search .btn-success {
    border-radius: 0 12px 12px 0;
    border-left: none;
    box-shadow: none;
}

/* Для мобильных устройств, когда кнопка скрыта */
@media (max-width: 991px) {
    .bottom-bar-search .form-control {
        border-radius: 0 12px 12px 0 !important;
        border-right: 1px solid #dee2e600 !important;
            background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: var(--bs-navbar-color, #000);
    }
    
    .bottom-bar-search .input-group {
        max-width: 100%;
        margin-bottom: 0;
        border-radius: 12px;
        overflow: hidden;
    }
    
    .bottom-bar-search {
        padding: 8px 10px 4px 10px;
    }
    
    .bottom-bar-search .input-group-text {
        border-radius: 12px 0 0 12px;
    }
    .timeline { flex-direction: column; }
    
    .offcanvas-bottom.h-75 {
        margin: 0 auto;           /* Центрируем по горизонтали */
    border-radius: 30px 30px 0 0; /* Делаем красивые скругления сверху */
    left: 10px;               /* Небольшой отступ от левого края */
    right: 10px;              /* Небольшой отступ от правого края */
    max-width:360px; /* Ширина минус отступы */
        bottom: 50px;             /* Приподнимаем над нижним краем (эффект парения) */
    }
}

.reset-h1{
        color: var(--color1);
    }
    .reset-h2{
       color: rgb(189, 189, 189); 
       font-size: 28px;
       font-weight: 300;

    }

    .reset-h3{

        color: rgb(255, 255, 255); 
       font-size: 16px;
       font-weight: 300;

    }
     .reset-h4{

        color: rgb(255, 255, 255); 
       font-size: 16px;
       font-weight: 300;

    }
    header {
        padding-left: 20px;
        padding-top: 400px;
        padding-bottom: 60px;
        background: linear-gradient(to left, rgba(47, 40, 108, 0.168) 0%, rgb(108, 108, 108) 100%), url(/img/IMG_2710.jpg);
        background-position: 200px;
        background-size: cover;
        background-position: center;
        display: flex;
        justify-content: flex-start;
        
}
    .btn-itd {
        color: var(--color1);

        max-width: 400px;
        margin: 0 auto;
        padding: 8px 30px;
       
        border: 1px solid rgb(255, 255, 255);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px); /* Для совместимости с Safari */
        background-color: rgba(11, 46, 159, 0.2); 
  
  /* Стилизация */
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  border-radius: 10px;
}

    .btn-itd:hover {
        color: var(--color2);
        background-color: var(--color1);

    }
    .ophtalmology{
         padding: 10px;
    }
   
    .specialization-units{
        gap: 20px;

    }

   
   .title-more {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

    .shot {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    box-sizing: border-box;
    font-size: 12px;
    text-align: left;
    line-height: 1.4;
    padding: 10px 13px;
    border-width: 1.5px;
    border-style: solid;
    border-color: rgb(96, 108, 89);
    border-image: initial;
    border-radius: 10px;
    white-space: normal;
    margin-right:2px;
    margin-bottom: 2px;
}

    .container-units{
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
  


    }

    .equipment-units{
        display: grid;
    min-width: 340px;
    align-content: center;
    gap: 20px;
    }



    .service-card {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 6px;
    background: rgb(255, 255, 255);
    border-radius: 12px;
    padding: 25px;
}

/* Стили для контента страниц */
.ophtalmology-content {
    width: 100%;
}

.title-block-section {
    margin-bottom: 30px;
}

.main-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #000;
}

.experience {
    font-size: 1rem;
    color: #666;
    margin-bottom: 20px;
}

.general-specialization {
    margin-top: 40px;
    margin-bottom: 30px;
}

.general-specialization h3 {
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 600;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #000;
}

.service-item {
    margin-bottom: 10px;
    line-height: 1.6;
    color: #333;
}

/* Стили для страницы контактов */
.Contact {
    padding: 60px 0;
}

.free {
    padding: 60px 0;
}

/* Стили для цены (используется в For_patient_surgery.html) */
.price {
    font-size: 1.1rem;
    font-weight: 600;
    color: #198754;
    margin-top: 5px;
}

footer {
    color: #ffffff;
    text-align: center;
    width: 100%;
    max-width: var(--cover-width);
    background: rgb(45, 45, 45);
    padding: 40px 20px;
}

/* ============================================
   СТИЛИ МОДАЛЬНОГО ОКНА (OVERLAY ФОРМА ЗАПИСИ)
   ============================================ */

/* Базовые стили для dialog элемента */
dialog.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    z-index: 3000;
    display: none; /* Скрыто по умолчанию */
}

/* Когда dialog открыт (showModal()) */
dialog.modal[open] {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Overlay (затемненный фон) */
dialog.modal::backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

/* Контейнер содержимого модального окна */
.modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 0;
    max-width: 90vw;
    max-height: 90vh;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease-out;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Контейнер формы записи */
.booking-form-container {
    max-width: 500px;
    padding: 30px;
    overflow-y: auto;
}

/* Кнопка закрытия */
.close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    transition: all 0.2s ease;
    z-index: 10;
}

.close-button:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #000;
    transform: rotate(90deg);
}

.close-button:active {
    transform: rotate(90deg) scale(0.95);
}

/* Заголовок формы */
.form-header {
    margin-bottom: 25px;
    padding-right: 40px; /* Место для кнопки закрытия */
}

.form-header h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.form-header p {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Группы полей формы */
.booking-form-container .input-group {
    margin-bottom: 20px;
}

.booking-form-container .input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.booking-form-container .input-group input,
.booking-form-container .input-group select,
.booking-form-container .input-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.2s ease;
    box-sizing: border-box;
    background: #fff;
}

.booking-form-container .input-group input:focus,
.booking-form-container .input-group select:focus,
.booking-form-container .input-group textarea:focus {
    outline: none;
    border-color: #198754;
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.1);
}

.booking-form-container .input-group textarea {
    resize: vertical;
    min-height: 80px;
}

/* Строка с двумя полями */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

/* Примечание о конфиденциальности */
.privacy-note {
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    margin: 20px 0;
    line-height: 1.4;
}

/* Кнопка отправки */
.btn-submit {
    width: 100%;
    padding: 14px 24px;
    background: linear-gradient(135deg, #0e841a 0%, #2da303 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

/* кнопка версии сайта */
.version{
    gap: 20px;
    display: flex;

}
.btn-versions{
    
        color: #ffffff;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    padding: 10px;
    height: 28px;
    border: 0px;
    border-radius: 20px;
    font-size: 10px;
    text-align: center;


}
    


.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(14, 132, 26, 0.3);
}

.btn-submit:active {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 600px) {
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
        border-radius: 16px;
    }
    
    .booking-form-container {
        padding: 20px;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .close-button {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }
}

/* Стили для модального окна (modal-info) */
#modal-info .modal-content {
    max-width: 600px;
    max-height: 90vh;
    padding: 50px 30px 30px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

#modal-info .modal-content > *:not(.modal-list) {
    flex-shrink: 0;
}

#modal-info .modal-list {
    flex: 1;
    overflow-y: auto;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#modal-info .modal-timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f5;
}

#modal-info .modal-timeline-item:last-child {
    border-bottom: none;
}

#modal-info .modal-timeline-content {
    flex: 1;
    padding-right: 15px;
}

#modal-info .modal-timeline-content h2 {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

#modal-info .modal-company {
    font-size: 0.9rem;
    color: #666;
    margin: 0 0 5px 0;
}

#modal-info .modal-dates {
    font-size: 0.85rem;
    color: #999;
    margin: 0;
}

#modal-info .modal-timeline-status {
    flex-shrink: 0;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

#modal-info .modal-done {
    background-color: #e8f5e9;
    color: #4caf50;
}

#modal-info .modal-inProgress {
    background-color: #e3f2fd;
    color: #2196f3;
}

#modal-info .btn-primary {
    width: 100%;
    margin-top: 20px;
    flex-shrink: 0;
}

/* Стили для блога */
.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 30px;
}

.blog-post-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-post-image,
.blog-post-video {
    width: 100%;
    width: calc(100% + 48px);
    height: 200px;
    overflow: hidden;
    margin: -24px -24px 20px -24px;
    background: #f5f5f5;
    border-top-left-radius:16px; 
    border-top-right-radius:16px;
    
}

.blog-post-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-post-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-post-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.blog-post-excerpt {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.blog-post-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9rem;
    color: #999;
}

.blog-post-date {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.blog-post-button {
    flex-shrink: 0;
}

/* Стили для модального окна поста */
.blog-post-modal .modal-content {
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.blog-post-modal .close-button {
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 100;
    background: rgba(0, 0, 0, 0.05);
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
}

.blog-post-modal-content {
    padding: 0;
    position: relative;
}

.blog-post-full {
    padding: 40px;
}

.blog-post-full-image,
.blog-post-full-video {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 30px;
    background: #f5f5f5;
}

.blog-post-full-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.blog-post-full-video video {
    width: 100%;
    height: auto;
    display: block;
}

.blog-post-full-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e8ed;
}

.blog-post-full-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.blog-post-full-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    color: #666;
}

.blog-post-full-date {
    display: flex;
    align-items: center;
}

.blog-post-full-author {
    font-weight: 600;
    color: #333;
}

.blog-post-full-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.blog-post-full-content p {
    margin: 0 0 20px 0;
}

.blog-post-full-content ul,
.blog-post-full-content ol {
    margin: 0 0 20px 0;
    padding-left: 30px;
}

.blog-post-full-content li {
    margin-bottom: 10px;
}

.blog-post-full-content h2,
.blog-post-full-content h3,
.blog-post-full-content h4 {
    margin: 30px 0 15px 0;
    font-weight: 700;
    color: #000;
}

.blog-post-full-content h2 {
    font-size: 2rem;
}

.blog-post-full-content h3 {
    font-size: 1.5rem;
}

.blog-post-full-content h4 {
    font-size: 1.25rem;
}

/* Стили для страницы Блог */
.blog-header {
    padding: 80px 0 20px;
    background: transparent;
}

.blog-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    margin: 0;
}

@media (max-width: 768px) {
    .blog-header {
        padding: 70px 0 15px;
    }

    .blog-header h1 {
        font-size: 1.5rem;
    }
}

/* Адаптивность для блога */
@media (max-width: 768px) {
    .blog-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .blog-post-full {
        padding: 20px;
    }

    .blog-post-full-title {
        font-size: 1.75rem;
    }

    .blog-post-full-content {
        font-size: 1rem;
    }

    .blog-post-image,
    .blog-post-video {
        height: 180px;
    }
}

@media (max-width: 600px) {
    .blog-post-modal .modal-content {
        max-width: 95vw;
    }

    .blog-post-full-image,
    .blog-post-full-video {
        max-height: 300px;
    }
}

/* Стили для ленты постов */
.blog-feed-modal .modal-content {
    max-width: 100vw;
    max-height: 100vh;
    width: 100%;
    height: 100%;
    border-radius: 0;
    padding: 0;
    overflow: hidden;
}

.blog-feed-modal-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-feed-container {
    display: flex;
    height: 100%;
    overflow: hidden;
}

.blog-feed-posts {
    flex: 1;
    overflow-y: auto;
    padding: 40px;
    background: #fafafa;
}

.blog-feed-post {
    max-width: 800px;
    margin: 0 auto 60px auto;
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease;
    scroll-margin-top: 40px;
}

.blog-feed-post:last-child {
    margin-bottom: 40px;
}

.blog-feed-post.active {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    border: 2px solid rgba(13, 141, 77, 0.2);
}

.blog-feed-post .blog-post-full-image,
.blog-feed-post .blog-post-full-video {
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
}

.blog-feed-post .blog-post-full-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e1e8ed;
}

.blog-feed-post .blog-post-full-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #000;
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.blog-feed-post .blog-post-full-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 1rem;
    color: #666;
}

.blog-feed-post .blog-post-full-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

/* Навигация по постам */
.blog-feed-navigation {
    width: 300px;
    background: #ffffff;
    border-left: 1px solid #e1e8ed;
    padding: 20px;
    overflow-y: auto;
    flex-shrink: 0;
}

.blog-feed-nav-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e1e8ed;
}

.blog-feed-nav-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.blog-feed-nav-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    text-align: left;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.blog-feed-nav-item:hover {
    background: #f5f5f5;
}

.blog-feed-nav-item.active {
    background: rgba(13, 141, 77, 0.1);
    border-left-color: #0d8d4d;
}

.blog-feed-nav-date {
    font-size: 0.85rem;
    color: #999;
    font-weight: 500;
}

.blog-feed-nav-item.active .blog-feed-nav-date {
    color: #0d8d4d;
}

.blog-feed-nav-post-title {
    font-size: 0.95rem;
    color: #333;
    font-weight: 600;
    line-height: 1.3;
}

.blog-feed-nav-item.active .blog-feed-nav-post-title {
    color: #000;
}

/* Адаптивность для ленты */
@media (max-width: 1024px) {
    .blog-feed-navigation {
        width: 250px;
    }
}

@media (max-width: 768px) {
    .blog-feed-container {
        flex-direction: column;
    }

    .blog-feed-navigation {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e1e8ed;
        max-height: 200px;
        order: -1;
    }

    .blog-feed-posts {
        padding: 20px;
    }

    .blog-feed-post {
        padding: 24px;
        margin-bottom: 40px;
    }

    .blog-feed-post .blog-post-full-title {
        font-size: 1.75rem;
    }

    .blog-feed-post .blog-post-full-content {
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .blog-feed-modal .modal-content {
        max-width: 100vw;
        max-height: 100vh;
    }

    .blog-feed-posts {
        padding: 15px;
    }

    .blog-feed-post {
        padding: 20px;
    }

    .blog-feed-post .blog-post-full-image,
    .blog-feed-post .blog-post-full-video {
        max-height: 300px;
    }
}

/* Стили для страницы Проекты */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 30px;
}

@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}

.project-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.project-card-image {
    width: 100%;
    width: calc(100% + 48px);
    height: 200px;
    overflow: hidden;
    margin: -24px -24px 20px -24px;
    background: #f5f5f5;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.project-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-card-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.project-category {
    display: inline-block;
    padding: 5px 12px;
    background: #e8f5e9;
    color: #4caf50;
    border-radius: 20px;
    font-size: 0.85rem;
}

.project-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.project-status.Завершен {
    background: #e8f5e9;
    color: #2e7d32;
}

.project-status.Впроцессе {
    background: #fff3e0;
    color: #ef6c00;
}

.project-status.Вархиве {
    background: #e3f2fd;
    color: #1565c0;
}

.project-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #000;
    margin: 0 0 12px 0;
    line-height: 1.3;
}

.project-card-description {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.6;
    margin: 0 0 16px 0;
    flex-grow: 1;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.project-tag {
    padding: 4px 10px;
    background: #f5f5f5;
    color: #666;
    border-radius: 12px;
    font-size: 0.8rem;
}

.project-progress {
    margin-bottom: 16px;
}

.project-progress-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.project-progress-label span:first-child {
    color: #666;
}

.project-progress-label span:last-child {
    color: #999;
    font-weight: 500;
}

.project-progress-bar {
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.project-progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #4caf50, #81c784);
    position: relative;
}

.project-progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 6px,
        rgba(255, 255, 255, 0.4) 6px,
        rgba(255, 255, 255, 0.4) 10px
    );
}

.project-card-button {
    width: 100%;
    margin-top: auto;
}

@media (max-width: 768px) {
    .project-card-image {
        height: 180px;
    }

    .project-card-title {
        font-size: 1.2rem;
    }
}




