* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: 'manrope';
}

.container {
    max-width: 1300px;
    width: 100%;
    margin: 0 auto;
}

@font-face {
    font-family: 'manrope';
    src: url(../fonts/Manrope-Regular.ttf);
}

@font-face {
    font-family: 'manrope-medium';
    font-weight: 500;
    src: url(../fonts/Manrope-Medium.ttf);
}

@font-face {
    font-family: 'manrope-semibold';
    font-weight: 600;
    src: url(../fonts/Manrope-SemiBold.ttf);
}

@font-face {
    font-family: 'manrope-bold';
    font-weight: 700;
    src: url(../fonts/Manrope-Bold.ttf);
}

button{
    cursor:pointer;
}

.h1-lk{
    font-size:32px;
}

.header-top {
    padding: 28px 0px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-links {
    display: flex;
    gap: 66px;
    align-items: center;
}

.header-top-links-icons {
    display: flex;
    gap: 15px;
}

.header-top-links-button {
    border-radius: 2px;
    padding: 12px 27px;
    background: #186ea1;
    display: flex;
    gap: 8px;
    font-family: 'manrope-semibold';
    font-size: 18px;
    line-height: 150%;
    color: #fff;
}

.header-bottom {
    background: #062a40;
    opacity: 0.99;
    padding: 18px 0px;
}

.header-bottom nav {
    display: flex;
    justify-content: space-between;
}

.header-bottom nav a {
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    font-family: 'manrope-medium';
    display: flex;
    align-items: center;
    gap: 4px;
}

.lk-user {
    gap: 14px;
    display: flex;
    align-items: center;
}

.banner {
    background: url(../media/overhead-view-group-multiethnic-business-people-working-together-office.png);
    background-size: cover;
    width: 100%;
    height: 80vh;
    display: flex;
    align-items: center;

}

.banner-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 700px;
}

.banner-content h1 {
    font-family: 'manrope-bold';
    font-size: 60px;
    line-height: 122%;
    color: #fff;
}

.banner-content p {
    font-size: 24px;
    line-height: 150%;
    color: #fff;
    font-family: 'manrope-semibold';
}

.banner-content button {
    margin-top: 40px;
    border-radius: 2px;
    background: #099fdc;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    font-family: 'manrope-bold';
    padding: 18px 47px;
    border: none;
}

.distance {
    margin-top: 100px;
}

.content {
    display: flex;
    gap: 46px;
    flex-direction: column;
}

h2 {
    font-size: 46px;
    line-height: 130%;
    color: #03283e;
    font-family: 'manrope-medium';
    font-weight: 500;
}

p {
    font-size: 18px;
    line-height: 170%;
    color: #03283e;
}

.about-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 103px;
    position: relative;
}

.about-content::after {
    content: "";
    width: 100%;
    position: absolute;
    height: 1px;
    background: #ecedf0;
    border-radius: 50px;
    bottom: -15%;
}

.about-content-right {
    display: flex;
    flex-direction: column;
    gap: 38px;
    max-width: 622px;
}

.important {
    background: #f4f6fa;
    padding: 12px 0 12px 29px;
    border-radius: 2px;
    border-left: 3px solid #079eda;
    font-family: 'manrope-semibold';
}

.advantages-cards {
    display: flex;
    justify-content: space-between;
    gap: 19px;
}

.advantages-card {
    border-radius: 2px;
    background: #f4f6fa;
    padding: 22px 0px 35px 33px;
    width: 245px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.advantages-card .number {
    font-size: 34px;
    line-height: 130%;
    color: #062a40;
    width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.advantages-card p {
    font-family: 'manrope-medium';
    width: 196px;
}

.numbers-club-cards {
    display: flex;
    justify-content: space-between;
    gap: 21px;
}

.numbers-club-cards-part {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.numbers-club-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0 46px;
    height: 256px;
    width: 375px;
    backdrop-filter: blur(34px);
    background: #069edb;
    opacity: 0.99;
    border-radius: 2px;
    justify-content: center;
}

.numbers-club-card p {
    color: #fff;
}

.numbers-club-card .club-number {
    font-size: 42px;
    line-height: 130%;
}

.target-audience-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.target-audience-card {
    display: flex;
    gap: 24px;
    border-radius: 2px;
    background: #f4f6fa;
    padding: 0 22px;
    height: 164px;
    max-width: 420px;
    align-items: center;
}

.target-audience-card p {
    max-width: 288px;
}

.target-audience-card-icon {
    background: #fff;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.formats-cards {
    display: flex;
    gap: 20px;
    align-items: center;
}

.formats-card {
    padding: 50px 42px 76px 40px;
    background: #079eda;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
    width: 100%;
}

.formats-card p {
    color: #fff;
}

.formats-card .format-title {
    font-size: 34px;
    line-height: 130%;
    font-family: 'manrope-semibold';
    font-weight: 600;
}

.formats-card a {
    margin-top: 23px;
    background: #fff;
    border-radius: 2px;
    font-size: 18px;
    color: #03283e;
    font-family: 'manrope-bold';
    padding: 17px 90px;
}

.faq-accordions {
    display: flex;
    gap: 28px;
    justify-content: space-between;
}

.faq-accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.accordion-item {
    border-radius: 2px;
    background: #f4f6fa;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    width: 100%;
    gap: 15px;
    padding: 0 18px 0 30px;
    min-height: 74px;
    background: #f4f6fa;
}

.accordion-header a {
    font-size: 18px;
    line-height: 150%;
    color: #03283e;
    font-family: 'manrope-semibold';
    flex: 1;
    text-decoration: none;
    pointer-events: none;
}

.accordion-item-icon {
    border-radius: 120px;
    width: 42px;
    height: 42px;
    background: #079eda;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.accordion-item.active .accordion-item-icon svg {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    background: #fff;
    border-top: 1px solid #ecedf0;
    padding: 0 30px;
}

.accordion-item.active .accordion-content {
    max-height: 300px;
    padding: 20px 30px;
}

.accordion-content p {
    font-size: 16px;
    line-height: 150%;
    color: #03283e;
    margin: 0;
}

.gallery-content-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gallery-slider-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gallery-slider-icon {
    border-radius: 2px;
    width: 46px;
    height: 46px;
    background: #0ca0db;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-slider {
    display: flex;
    flex-direction: column;
    gap: 33px;
    align-items: center;
}

.gallery-slider-slides {
    display: flex;
    gap: 16px;
}


.breakfast-registration-content {
    display: flex;
    gap: 28px;
}

.breakfast-registration-info {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.border-text {
    font-family: 'manrope-semibold';
    padding-left: 15px;
    border-left: 3px solid #079eda;
}

.breakfast-registration-info-cards {
    margin-top: 32px;
    display: flex;
    gap: 12px;
}

.breakfast-registration-info-card {
    border-radius: 2px;
    width: 312px;
    height: 174px;
    background: #079eda;
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.breakfast-registration-info-card p {
    color: #fff;
}

.breakfast-registration-info-card-title {
    font-size: 22px;
    font-family: 'manrope-semibold';
}

.breakfast-registration-form {
    background: #f4f6fa;
    border-radius: 2px;
    padding: 30px 50px 54px 50px;
}

.breakfast-registration-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.breakfast-registration-form-fio-inputs {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
}

.breakfast-registration-form-input {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.breakfast-registration-form-input label {
    font-size: 14px;
    line-height: 150%;
    color: #03283e;
}

.breakfast-registration-form-input input {
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 2px;
    height: 56px;
}

.breakfast-registration-form-input select {
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 2px;
    height: 56px;
}

.breakfast-registration-form form button {
    margin-top: 30px;
    border-radius: 2px;
    background: #079eda;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    font-family: 'manrope-bold';
    padding: 19px 65px;
    border: none;
}

.breakfast-registration-form-agreement {
    margin-top: 24px;
    display: flex;
    gap: 26px;
    align-items: flex-start;
}

.breakfast-registration-form-agreement p {
    font-size: 14px;
}

.breakfast-registration-form-agreement a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #079eda;
}

/* Кастомный select с иконкой стрелки */
.breakfast-registration-form-input {
    position: relative;
}

.breakfast-registration-form-input select {
    width: 100%;
    border: none;
    background: #fff;
    border-radius: 2px;
    height: 56px;
    padding: 0 40px 0 16px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    font-size: 16px;
    color: #03283e;
    cursor: pointer;
}

.breakfast-registration-form-input select option {
    color: #03283e;
}

.breakfast-registration-form-input .select-arrow {
    position: absolute;
    right: 16px;
    bottom: 20px;
    pointer-events: none;
    z-index: 2;
}

.phone-input-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
}

.phone-flag-dropdown {
    position: absolute;
    left: 0;
    top: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 12px;
    background: #fff;
    border-radius: 2px 0 0 2px;
    cursor: pointer;
    z-index: 2;
}

.phone-flag-icon {
    width: 24px;
    height: 16px;
}

.phone-flag-arrow {
    transition: transform 0.3s ease;
}

.phone-flag-dropdown.active .phone-flag-arrow {
    transform: rotate(180deg);
}

.phone-dropdown-list {
    position: absolute;
    top: 56px;
    left: 0;
    background: #fff;
    border-radius: 2px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    width: 200px;
    z-index: 10;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.phone-dropdown-list.active {
    max-height: 200px;
    overflow-y: auto;
}

.phone-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.phone-dropdown-item:hover {
    background: #f4f6fa;
}

.phone-dropdown-item img,
.phone-dropdown-item svg {
    width: 24px;
    height: 16px;
}

.phone-dropdown-item span {
    font-size: 14px;
    color: #03283e;
}

.phone-input-wrapper input {
    padding-left: 70px;
    width: 100%;
    font-size: 18px;
}

.breakfast-registration-form-agreement {
    margin-top: 24px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.checkbox-custom {
    position: relative;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

.checkbox-custom input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
    margin: 0;
    z-index: 2;
}

.checkbox-custom .checkbox-mark {
    position: absolute;
    top: 0;
    left: 0;
    width: 26px;
    height: 26px;
    background: #079eda;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.checkbox-custom .checkbox-mark svg {
    opacity: 0;
    transition: opacity 0.2s ease;
}

.checkbox-custom input:checked+.checkbox-mark svg {
    opacity: 1;
}

@media (max-width: 768px) {
    .phone-input-wrapper input {
        padding-left: 90px !important;
    }
}



.footer-content {
    display: flex;
    flex-direction: column;
    gap: 39px;
    margin-bottom: 40px;
}

.footer-top {
    padding: 38px 0;
    border-top: 1px solid #ecedf0;
    border-bottom: 1px solid #ecedf0;
}

.footer-top nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-top nav a {
    font-size: 18px;
    line-height: 150%;
    color: #03283e;
    font-family: 'manrope-medium';
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 65px;
    padding-top: 17px;
    border-bottom: 1px solid #ecedf0;
}

.footer-info-text {
    display: flex;
    gap: 47px;
    align-items: flex-end;
}

.footer-info-text p {
    font-size: 16px;
    line-height: 160%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom-part {
    display: flex;
    gap: 20px;
    align-items: center;
}

.footer-bottom-part p {
    font-size: 16px;
    line-height: 150%;
    color: #03283e;
}

.footer-bottom-icons {
    display: flex;
    gap: 16px;
}

.footer-bottom-docs-link {
    display: flex;
    gap: 74px;
}

.footer-bottom-docs-link a {
    font-size: 16px;
    line-height: 150%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #079eda;
}



.burger-menu {
    display: none;
    cursor: pointer;
    z-index: 100;
    background: none;
    border: none;
}

.mobile-nav {
    display: none;
}

.overlay {
    display: none;
}

.numbers-club-image-tablet {
    display: none;
}

.footer-bottom-icons-tablet {
    display: none;
}

.footer-top-tablet {
    display: none;
}

@media (max-width:1300px) {
    .numbers-club-cards {
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .logo svg {
        width: 242px;
    }

    .desktop-button {
        display: none;
    }

    .header-top-links {
        gap: 26px;
    }

    .mobile-nav {
        display: flex;
    }

    .overlay {
        display: flex;
    }

    .burger-menu {
        display: block;
    }

    .header-top {
        position: relative;
        justify-content: flex-start;
        gap: 20px;
    }

    .header-top>a {
        margin-right: auto;
        align-items: center;
    }

    .header-bottom {
        display: none;
    }

    .mobile-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: #062a40;
        z-index: 1000;
        padding: 80px 30px 30px;
        transition: left 0.4s ease;
        box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
    }

    .mobile-nav.active {
        left: 0;
    }

    .mobile-nav nav {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .mobile-nav nav a {
        color: #fff;
        font-size: 18px;
        font-family: 'manrope-medium';
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .overlay.active {
        opacity: 1;
        visibility: visible;
    }

    .container {
        max-width: 720px;
    }

    .distance {
        margin-top: 70px;
    }

    h2 {
        font-size: 34px;
    }

    .about-content {
        gap: 26px;
        flex-wrap: wrap;
    }

    .content {
        gap: 38px;
    }

    .advantages-cards {
        justify-content: normal;
        gap: 17px;
        flex-wrap: wrap;
    }

    .advantages-card {
        width: 228px;
    }

    .about-content::after {
        bottom: -10%;
    }

    .numbers-club-image {
        display: none;
    }

    .numbers-club-image-tablet {
        display: block;
    }

    .numbers-club-cards {
        flex-wrap: nowrap;
    }

    .numbers-club-card {
        width: auto;
        padding: 54px 18px;
    }

    .numbers-club-card .club-number {
        font-size: 28px;
    }

    .target-audience-card {
        padding: 42px 22px;
        flex-direction: column;
        height: auto;
        align-items: flex-start;

    }

    .formats-card a {
        margin-top: auto;
    }

    .formats-card {
        padding: 56px 30px;
        height: 442px;
        justify-content: space-between;
        gap: 16px;
    }

    .faq-accordions {
        gap: 22px;
        flex-wrap: wrap;
    }

    .faq-accordion {
        gap: 22px;
    }

    .formats-card .format-title {
        font-size: 22px;
    }

    .breakfast-registration-content {
        flex-direction: column;
    }

    .breakfast-registration-info-card {
        width: auto;
    }

    .banner-content h1 {
        font-weight: 600;
        font-size: 44px;
    }

    .banner-content p {
        font-size: 20px;
    }

    .banner {
        background-position: center;
        height: 561px;
    }

    .footer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 38px;
    }

    .footer-info-text {
        flex-direction: column;
        gap: 37px;
    }

    .footer-bottom-icons-tablet {
        display: flex;
    }

    .footer-info-tablet {
        display: flex;
        gap: 37px;
        align-items: center;
    }

    .footer-bottom-icons-desktop {
        display: none;
    }

    .footer-bottom-docs-link {
        border-bottom: 1px solid #ecedf0;
        gap: 36px;
        padding-bottom: 34px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 29px;
        align-items: flex-start;
    }

    .footer-top {
        padding: 0;
        border-top: none;
        border-bottom: none;
    }

    .footer-top-tablet {
        display: flex;
    }

    .footer-top-desktop {
        display: none;
    }

    .footer-info {
        padding-bottom: 0;
        border-bottom: none;
    }

    .footer-info-block {
        border-top: 1px solid #ecedf0;
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
        padding-bottom: 96px;
        padding-top: 46px;
    }

    .footer-top nav {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
    }
}

.gallery-slider {
    position: relative;
    overflow: hidden;
    padding-bottom: 50px;
}

.gallery-slider-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 16px;
}

.gallery-slider-slide {
    flex-shrink: 0;
    width: calc(50% - 8px);
}

.gallery-slider-slide img {
    width: 100%;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
    aspect-ratio: 352 / 235;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #EFEEEE;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.slider-dot.active {
    background: #079EDA;
    transform: scale(1.2);
}

.gallery-slider-icons {
    display: flex;
    gap: 16px;
}

.gallery-slider-icon {
    border-radius: 2px;
    width: 46px;
    height: 46px;
    background: #0ca0db;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-slider-icon:hover {
    opacity: 0.8;
}

@media (min-width: 768px) {
    .gallery-slider-track {
        gap: 16px;
    }

    .gallery-slider-slide {
        width: calc(50% - 8px);
    }
}

@media (min-width: 341px) and (max-width: 767px) {
    .gallery-slider-track {
        gap: 10px;
    }

    .gallery-slider-slide {
        width: calc(50% - 5px);
    }

    .slider-dots {
        bottom: -35px;
    }
}

@media (max-width: 340px) {
    .gallery-slider-track {
        gap: 0;
    }

    .gallery-slider-slide {
        width: 100%;
    }

    .slider-dots {
        bottom: 4px;
    }
}


.header-top-links-button-mobile {
    display: none;
}

.footer-top-mobile {
    display: none;
}

@media (max-width:480px) {
    .container {
        max-width: 400px;
    }

    .header-top-links-button-desktop {
        display: none;
    }

    .header-top-links-button-mobile {
        display: flex;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .header-top {
        gap: 18px;
        flex-wrap: wrap;
    }

    .logo svg {
        width: 154px;
    }

    .header-top-links-icons {
        display: flex;
        gap: 10px;
    }

    .header-top-links-icons a svg {
        width: 26px;
    }

    .banner-content h1 {
        font-weight: 600;
        font-size: 34px;
    }

    .banner-content {
        gap: 16px;
    }

    .banner-content button {
        margin-top: 20px;
        padding: 18px 21px;
    }

    .banner {
        height: 428px;
    }

    .distance {
        margin-top: 54px;
    }

    .advantages-card {
        width: 100%;
    }

    .advantages-card p {
        width: 262px;
    }

    h2 {
        font-size: 26px;
    }

    .about-content::after {
        bottom: -5%;
    }

    .numbers-club-card {
        height: auto;
        padding: 34px 18px;
    }

    .numbers-club-image {
        display: flex;
        width: 100%;
    }

    .numbers-club-image-tablet {
        display: none;
    }

    .numbers-club-cards {
        flex-direction: column;
    }

    .target-audience-cards {
        flex-direction: column;
    }

    .formats-card a {
        padding: 17px 80px;
    }

    .formats-card {
        padding: 56px 22px;
    }

    .formats-cards {
        flex-direction: column;
    }

    .accordion-header {
        padding: 17px 18px 17px 30px;
    }

    .breakfast-registration-info-cards {
        flex-wrap: wrap;
    }

    .breakfast-registration-form {
        padding: 30px 18px 54px 18px;
    }

    .breakfast-registration-form-fio-inputs {
        flex-wrap: wrap;
    }

    .breakfast-registration-form form button {
        padding: 19px 36px;
        width: 100%;
    }

    .footer-bottom-docs-link {
        flex-wrap: wrap;
    }

    .footer-top-mobile {
        display: flex;
    }

    .footer-top-tablet {
        display: none;
    }

    .footer-info-block {
        padding-bottom: 0;
    }

    .footer-info-tablet {
        gap: 36px;
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-info-logo svg {
        width: 252px;
    }
}


.how_become_banner {
    margin-top: 102px;
}

.how_become_banner_content {
    display: flex;
    gap: 48px;
    align-items: flex-end;
}

.how_become_banner_content_text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-items: flex-start;
}


.how_become_banner_content_text p {
    font-size: 22px;
    line-height: 180%;
}

.h1 {
    font-size: 46px;
    line-height: 130%;
    font-family: 'manrope-medium';
    color: #03283e;
    font-weight: 500;
}

.blue {
    color: #079eda;
}

.black {
    font-weight: 600;
}

.how_become_banner_content_text a {
    margin-top: 48px;
    border-radius: 2px;
    padding: 18px 47px;
    background: #099fdc;
    color: #fff;
    font-size: 18px;
    line-height: 150%;
    font-family: 'manrope-bold';
}

.unique_content {
    display: flex;
    gap: 42px;
    flex-direction: column;
}

.unique_content_block {
    display: flex;
    gap: 20px;
}

.unique_content_block_text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 20px;
}

.unique_content_block_text_top p {
    padding: 40px 36px;
    background: #f4f6fa;
    border-radius: 2px;

}

.unique_content_block_text_bottom {
    display: flex;
    gap: 20px;
}

.unique_content_block_text_bottom_part {
    padding: 55px 34px;
    border-radius: 2px;
    backdrop-filter: blur(34px);
    background: #099fdb;
    opacity: 0.99;
}

.unique_content_block_text_bottom_part p {
    color: #fff;
}

.how_it_works_content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.how_it_works_content_block {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.how_it_works_content_block_card {
    padding: 46px 36px;
    border-radius: 2px;
    background: #f4f6fa;
    max-width: 420px;
}

.how_it_works_content_block_card_right {
    display: flex;
    flex-direction: column;
    gap: 26px;
    align-items: flex-start;
}

.how_it_works_content_block_card_right p {
    color: #fff;
}

.how_it_works_content_block_card_right a {
    margin-top: 27px;
    padding: 19px 92px;
    border-radius: 2px;
    background: #099fdc;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    text-align: center;
}


.residents_get_content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.residents_get_content_block {
    margin-top: 30px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.residents_get_content_block_text {
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: space-between;
}

.residents_get_content_block_text_card {
    padding: 35px 41px;
    border-radius: 2px;
    background: #f4f6fa;
}

.residents_get_content_block_text_card .blue {
    font-weight: 600;
}

.residents_get_content_block_text_card-bottom {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.residents_get_content_block_text_card-bottom ul li {
    font-size: 18px;
    line-height: 180%;
    color: #fff;
    list-style: disc;
    margin-left: 20px;
}

.residents_get_content_block_text_card-bottom p {
    color: #fff;
}



.for_you_content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.for_you_wrapper {
    display: flex;
    justify-content: space-between;
    gap: 19px;
}

.for_you_cards {
    display: flex;
    flex-wrap: wrap;
    gap: 19px;
    width: 773px;
}

.for_you_content_block_card {
    background: #f4f6fa;
    border-radius: 2px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 15px;
}

.for_you_content_block_card:not(.card-wide) {
    width: 245px;
    height: 176px;
}

.for_you_content_block_card.card-wide {
    width: 376px;
    height: 209px;
}

.for_you_info_block {
    background: #0ca0db;
    border-radius: 2px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-self: stretch;
    flex: 1;
}

.for_you_number {
    font-weight: 500;
    font-size: 34px;
    line-height: 130%;
    color: #062a40;
    border-radius: 100%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: 10px;
    flex-shrink: 0;
}

.for_you_content_block_card p:not(.for_you_number) {
    font-size: 18px;
    line-height: 150%;
    color: #03283e;
    margin: 0;
}

.for_you_info_title {
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
    color: #fff;
    margin-bottom: 20px;
}

.for_you_info_text {
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    opacity: 0.9;
    margin: 0;
}





.include_content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.include-content-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 62px;
    align-items: start;
}

.include-content-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.include-content-card-icon {
    border-radius: 100%;
    background-color: #079eda;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.include-content-card .include-content-card-title {
    font-family: 'manrope-medium';
    font-weight: 500;
    line-height: 140%;
    margin: 0;
}

.include-content-card p:not(.include-content-card-title) {
    margin: 0;
}


/* ===== ОТЗЫВЫ - СЛАЙДЕР ===== */
.reviews_content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.reviews_slider {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.reviews_slides {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    width: 100%;
}

.reviews_slides_card {
    display: flex;
    flex-direction: column;
    gap: 22px;
    background: #f4f6fa;
    border-radius: 2px;
    padding: 32px 36px 61px 36px;
    flex: 0 0 calc(33.333% - 14px);
    max-width: 420px;
    min-width: 0;
}

.reviews_slides_card_title {
    display: flex;
    gap: 22px;
    align-items: center;
}

.reviews_slides_card_title img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    flex-shrink: 0;
}

.reviews_slides_card_title_text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.reviews_slides_card_title_text p {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    opacity: 0.6;
}

.reviews_slides_card_title_text .reviews_slides_card_title_text_fio {
    font-weight: 500;
    opacity: 1;
}

.reviews_slides_card>p {
    font-size: 16px;
    line-height: 170%;
    color: #03283e;
}

.reviews_slider .slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 10px;
}

.reviews_slider .slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #EFEEEE;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.reviews_slider .slider-dot.active {
    background: #079EDA;
    transform: scale(1.2);
}

.gallery-slider-icons {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gallery-slider-icon {
    border-radius: 2px;
    width: 46px;
    height: 46px;
    background: #0ca0db;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s;
}

.gallery-slider-icon:hover {
    opacity: 0.8;
}

@media (max-width: 768px) {
    .reviews_slides_card {
        flex: 0 0 calc(100% - 0px);
        max-width: 100%;
        padding: 24px 28px 40px 28px;
    }

    .reviews_slides {
        gap: 0;
    }

    .reviews_slides_card>p {
        font-size: 15px;
    }

    .reviews_slides_card_title img {
        width: 60px;
        height: 60px;
    }

    .reviews_slider .slider-dots {
        margin-top: 16px;
    }

    .gallery-slider-icon {
        width: 40px;
        height: 40px;
    }

    .gallery-slider-icon svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .reviews_slides_card {
        flex: 0 0 calc(100% - 0px);
        max-width: 100%;
        padding: 20px 20px 36px 20px;
    }

    .reviews_slides_card>p {
        font-size: 14px;
        line-height: 165%;
    }

    .reviews_slides_card_title img {
        width: 50px;
        height: 50px;
    }

    .reviews_slides_card_title {
        gap: 16px;
    }

    .reviews_slides_card_title_text p {
        font-size: 12px;
    }

    .reviews_slides_card_title_text .reviews_slides_card_title_text_fio {
        font-size: 14px;
    }

    .reviews_slider .slider-dots {
        gap: 10px;
        margin-top: 20px;
    }

    .reviews_slider .slider-dot {
        width: 10px;
        height: 10px;
    }

    .gallery-slider-icon {
        width: 34px;
        height: 34px;
    }

    .gallery-slider-icon svg {
        width: 14px;
        height: 14px;
    }

    .gallery-content-title {
        gap: 14px;
    }

    .gallery-slider-icons {
        gap: 10px;
    }

    .reviews_slides_card {
        gap: 16px;
    }
}


.becoming-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.becoming-content-block {
    display: flex;
    gap: 20px;
}

.becoming-content-block-text {
    padding: 55px 60px;
    border-radius: 2px;
    background: #079eda;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.becoming-content-block-text-part {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}

.becoming-content-block-text-part p {
    color: #fff;
}

.becoming_number {
    font-weight: 600;
    font-size: 20px;
    line-height: 150%;
}

.becoming-content-block-text a {
    padding: 18px 47px;
    background: #fff;
    border-radius: 2px;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #03283e;
    margin-top: 34px;
}






.questions_content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.questions_content_accordion {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.questions_content_accordion_card_header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 23px 24px 32px;
    border-radius: 2px;
    background: #f4f6fa;
}

.questions_content_accordion_card_header p {
    font-weight: 600;
}

.questions_content_accordion_card_header_icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #079eda;
    border-radius: 120px;
}

.how_become_registration {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 42px;
}

.breakfast-registration-info-cards-how-become {
    margin-top: 0;
    flex-direction: column;
    justify-content: space-between;
}

.breakfast-registration-info-card-how-become {
    width: 640px;
    height: auto;
    padding: 28px;
}

.breakfast-registration-info-card .border-text-how-become {
    font-family: 'manrope-semibold';
    padding-left: 15px;
    border-left: 3px solid #079eda;
}



.breakfast_banner a {
    margin-top: 28px;
}

.breakfast_banner_text p {
    font-size: 18px;
}


.place_content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.place_content h1 {
    font-weight: 500;
    font-size: 46px;
    line-height: 130%;
    color: #03283e;
}

.place_content_text {
    border-radius: 2px;
    background: #f4f6fa;
    padding: 30px 36px;
}


.breakfast-format-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.breakfast-format-content-block {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: flex-end;
}

.breakfast-format-content-block-text {
    display: flex;
    flex-direction: column;
    gap: 70px;
    align-items: flex-start;
}

.breakfast-format-content-parts {
    display: flex;
    flex-direction: column;
    gap: 49px;
}

.breakfast-format-content-part {
    display: flex;
    gap: 53px;
}

.breakfast-format-content-part .blue {
    font-weight: 500;
    font-size: 26px;
    line-height: 130%;
}

.breakfast-format-content-block-text a {
    background: #099fdc;
    border-radius: 2px;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    padding: 18px 47px;
}

.breakfast-time {
    max-width: 174px;
    width: 100%;
}

.breakfast-format-content-part-border {
    position: relative;
}

.breakfast-format-content-part-border::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #ecedf0;
    top: -8%;
}

.breakfast-format-content-part-border-second {
    position: relative;
}

.breakfast-format-content-part-border-second::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 1px;
    background: #ecedf0;
    top: -20%;
}



.residents {
    margin-top: 56px;
}

.residents-banner {
    margin-top: 100px;
}

.residents-content {
    display: flex;
    flex-direction: column;
    gap: 62px;
    align-items: center;
}

.residents-content-cards {
    display: flex;
    gap: 20px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.residents-content-card {
    display: flex;
    flex-direction: column;
}

.residents-content-card img {
    width: 310px;
    height: 330px;
}

.resident-content-card-text-icons {
    display: flex;
    gap: 14px;
}

.resident-title {
    font-weight: 500;
    font-size: 20px;
    line-height: 140%;
    color: #03283e;
    margin-bottom: 4px;
}

.resident-company {
    font-weight: 500;
    font-size: 14px;
    line-height: 140%;
    color: #03283e;
    opacity: 0.6;
}

.resident-site {
    margin-bottom: 6px;
    font-weight: 500;
}

.site-link {
    text-decoration: underline;
    text-decoration-skip-ink: none;
}


.residents-link {
    margin-top: 24px;
    padding: 12px 68px;
    border-radius: 2px;
    background: #079eda;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
}

.resident-content-card-text {
    padding: 26px 36px;
    border-radius: 0 0 2px 2px;
    background: #f4f6fa;
    display: flex;
    flex-direction: column;
    gap: 8px;
}


.residents-content-pagination {
    display: flex;
    gap: 32px;
    align-items: center;
}

.residents-content-pagination-numbers {
    display: flex;
    gap: 14px;
    align-items: center;
}

.residents-content-pagination-numbers a {
    font-size: 18px;
    color: #03283e;
    padding: 11px 18px;
}

.residents-content-pagination-numbers .pagination-number-active {
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #079eda;
    font-weight: 600;
    color: #fff;
}


.networking-banner {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.networking-banner-text {
    display: flex;
    justify-content: space-between;
}

.networking-banner-text h1 {
    font-weight: 500;
    font-size: 46px;
    line-height: 130%;
    color: #03283e;
}

.networking-banner-text p {
    font-size: 20px;
    max-width: 642px;
    width: 100%;
}

.master-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.master-content-block {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.master-content-block-text {
    padding: 42px 46px 56px 46px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
}

.master-content-block-text p {
    color: #fff;
}

.master-content-block-text a {
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    background: #099fdc;
    border-radius: 2px;
    padding: 18px 65px;
}



.inner-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inner-content-cards {
    margin-top: 24px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.inner-content-card {
    border-radius: 2px;
    width: 244px;
    height: 442px;
    background: #f4f6fa;
    padding: 36px 34px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.inner-content-number {
    font-weight: 500;
    font-size: 34px;
    line-height: 130%;
    border-radius: 100%;
    background: #fff;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inner-content-card .inner-content-title {
    font-weight: 600;
}

.business-breakfast-slide {
    position: relative;
}

.business-breakfast-slide-icon {
    position: absolute;
    top: 40%;
    right: 45%;
}

.card-dark {
    background: #03283e;
}




.events {
    margin-top: 88px;
}

.events-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.events-content-block {
    display: flex;
    flex-direction: column;
    gap: 62px;
    align-items: center;
}

.events-content-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.events-content-card {
    display: flex;
    flex-direction: column;
    height: 600px;
    text-decoration: none;
    width: 50%;
}

.events-content-card img {
    width: 420px;
    height: 265px;
}

.events-content-card-text {
    padding: 36px 34px 47px 38px;
    border-radius: 0 0 2px 2px;
    background: #f4f6fa;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.events-content-card-text p {
    max-width: 348px;
}

.events-content-card-text .events-content-card-text-title {
    font-weight: 500;
    font-size: 20px;
}

.events-content-card-text a {
    padding: 12px 68px;
    background: #079eda;
    border-radius: 2px;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    margin-top: 32px;
}

.business_breakfasts-winwin-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.business_breakfasts-winwin-content-block {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.business_breakfasts-winwin-content-block-text {
    background: #f4f6fa;
    border-radius: 2px;
    padding: 56px 43px;
    display: flex;
    flex-direction: column;
    gap: 38px;
    align-items: flex-start;
}

.business_breakfasts-winwin-content-block-text a {
    padding: 16px 75px;
    background: #079eda;
    border-radius: 2px;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
}

/* ===== Баннеры мероприятий (два в ряд) ===== */
.events-banners-row {
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
}

.events-content-card {
    display: flex;
    flex-direction: column;
    height: 600px;
    text-decoration: none;
}

.events-content-card img {
    width: 100%;
    height: 265px;
    object-fit: cover;
    flex-shrink: 0;
}

.events-content-card-text {
    padding: 36px 34px 38px 38px;
    border-radius: 0 0 2px 2px;
    background: #f4f6fa;
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
    flex: 1;
    overflow: hidden;
}

.events-content-card-text p {
    max-width: 348px;
}

.events-content-card-text .events-content-card-text-title {
    font-weight: 500;
    font-size: 20px;
    flex-shrink: 0;
}

/* Кнопка "Подробнее" - стили для span */
.events-content-card-text-btn {
    display: inline-block;
    padding: 12px 68px;
    background: #079eda;
    border-radius: 2px;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    margin-top: auto;
    flex-shrink: 0;
    transition: background 0.3s ease;
}

.events-banner-card:hover .events-content-card-text-btn {
    background: #058BC4;
}

@media (max-width: 768px) {
    .events-content-card {
        height: auto;
        min-height: 500px;
    }

    .events-content-card img {
        height: 220px;
    }
}

@media (max-width: 480px) {
    .events-content-card {
        min-height: 450px;
    }

    .events-content-card img {
        height: 180px;
    }

    .events-content-card-text {
        padding: 24px 20px 28px 20px;
    }

    .events-content-card-text-btn {
        padding: 10px 40px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }
}


.contacts {
    margin-top: 88px;
}

.contacts-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.contacts-content-block {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.contacts-content-text {
    padding: 53px 42px 37px 42px;
    border-radius: 2px;
    background: #f4f6fa;
    display: flex;
    flex-direction: column;
    gap: 34px;
    max-width: 640px;
    width: 100%;
}

.contacts-content-text-top {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contacts-content-text-top-links {
    display: flex;
    gap: 40px;
    align-items: center;
}

.contacts-content-text-top-link {
    display: flex;
    gap: 11px;
    align-items: center;
}

.contacts-content-text-top-link a {
    font-size: 18px;
    line-height: 160%;
    color: #03283e;
}

.contacts-content-text-bottom {
    padding: 30px 24px 37px 24px;
    background: #fff;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contacts-content-text-bottom-icons {
    display: flex;
    align-items: center;
    gap: 15px;
}





.error_content {
    padding: 20px 0px 56px 0px;
    background: #f4f6fa;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 31px;
    align-items: center;
}

.error_content .error_title {
    font-weight: 500;
    font-size: 204px;
    line-height: 130%;
    color: #03283e;
}

.error_content p {
    font-weight: 500;
    font-size: 36px;
    line-height: 130%;
    color: #03283e;
}

.error_content a {
    border-radius: 2px;
    width: 232px;
    height: 64px;
    background: #099fdc;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}


.policy_content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.policy_content_title h1 {
    font-size: 46px;
    line-height: 130%;
    font-family: 'manrope-medium';
    color: #03283e;
    font-weight: 500;
    padding-bottom: 22px;
}

.policy_content_item h3 {
    font-weight: 600;
    font-family: 'manrope-semibold';
    font-size: 24px;
    margin-bottom: 12px;
}

.policy_content_item ul li {
    list-style: disc;
    margin-left: 25px;
}


.event-train {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.event-train-top {
    display: flex;
    gap: 71px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ecedf0;
    align-items: center;
}

.event-train-banner {
    display: flex;
    flex-direction: column;
    gap: 61px;
}

.event-train-banner-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.event-train-banner-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-train-banner-text h1 {
    font-weight: 500;
    font-size: 46px;
}

.btn {
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #fff;
    border-radius: 2px;
    background: #079eda;
    padding: 18px 80px;
}


.train-for-who-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.train-for-who-title {
    display: flex;
    gap: 157px;
    align-items: center;
}

.train-for-who-title .border-text {
    font-family: 'manrope';
}

.train-for-who-cards {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.train-for-who-card {
    display: flex;
    gap: 16px;
    flex-direction: column;
    padding: 22px 30px 0px 30px;
    border-radius: 2px;
    background: #f4f6fa;
    height: 254px;
    align-items: flex-start;
}

.train-for-who-card-number {
    font-weight: 500;
    font-size: 34px;
    line-height: 130%;
    color: #062a40;
    border-radius: 100%;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
}


.training-program-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.training-program-content-title {
    display: flex;
    justify-content: space-between;
}

.training-program-slider {
    display: flex;
    flex-direction: column;
    gap: 32px;
    align-items: center;
}

.training-program-slides {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    color: #fff;
}


.training-program-slide {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 483px;
    background: #079eda;
    border-radius: 2px;
    padding: 32px 30px 0px 30px;
}

.card-grey {
    background: #f4f6fa;
    color: #03283e;
}

.card-dark {
    background: #03283e;
}

.training-program-slide-title {
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    margin-top: 14px;
}

.card-grey .training-program-slide-title {
    color: #03283e;
}

.training-program-slide ul li {
    list-style: disc;
    font-weight: 400;
    font-size: 18px;
    line-height: 160%;
    margin-left: 15px;
}

.training-program-bottom {
    display: flex;
    justify-content: space-between;
    margin-top: 14px;
}

.training-program-bottom p {
    font-weight: 400;
    font-family: 'manrope';
}

.leaders-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.leaders-content-cards {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.leaders-content-card {
    display: flex;
    background: #f4f6fa;
    border-radius: 2px;
}

.leaders-content-card img {
    width: 270px;
    height: 342px;
}

.leaders-content-card-text {
    padding: 46px 27px 0px 38px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.leaders-content-card-text-title {
    font-family: 'manrope-medium';
}

.how-is-going-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.how-is-going-cards {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.how-is-going-cards-part {
    display: flex;
    justify-content: space-between;
}

.how-is-going-card {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 249px;
}

.how-is-going-card .how-is-going-card-number {
    font-weight: 500;
    font-size: 34px;
    line-height: 130%;
    color: #fff;
    border-radius: 100%;
    background: #079eda;
    width: 60px;
    height: 60px;

    display: flex;
    align-items: center;
    justify-content: center;
}


.organization-info-cards {
    display: flex;
    gap: 20px;
}

.organization-info-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.organization-info-card {
    height: 300px;
    border-radius: 2px;
    background: #f4f6fa;
    padding: 32px 30px 0px 30px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.organization-info-card-title {
    font-weight: 600;
    font-size: 20px;
}

.organization-info-card-icon {
    margin-bottom: 24px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 100%;
}

.organization-info-content .btn {
    margin: 0 auto;
}


.bna {
    margin-top: 33px;
}

.bna-content {
    display: flex;
    flex-direction: column;
    gap: 42px;
}

.bna-content-info {
    display: flex;
    gap: 39px;
}

.location-content {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.location-content-text {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background: #f4f6fa;
    border-radius: 2px;
    padding: 72px 0px 60px 58px;
    align-items: flex-start;
    width: 100%;
}

.location-content-text .btn {
    margin-top: 32px;
}

.location-content-text .location-content-text-title {
    font-weight: 600;
    font-size: 20px;
}




.profile-body {
    background: #F4F6FA;
}

.header-user-profile {
    background: #fff;
}

.profile-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profile-main-header {
    display: flex;
    justify-content: space-between;
    padding: 23px 36px 23px 42px;
    background: #fff;
    border-radius: 2px;
}

.profile-main-header h1 {
    color: #03283e;
    font-weight: 500;
}

.profile-main-header-button {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-main-header-button a {
    background: none;
    border: none;
    font-size: 18px;
    line-height: 160%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #079eda;
    cursor: pointer;
}

.profile-main-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.profile-main-info-left {
    background: #fff;
    padding: 45px 26px 60px 22px;
    border-radius: 2px;
}

.profile-main-info-left nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.profile-main-info-left nav .profile-main-info-left-item {
    display: flex;
    gap: 14px;
    align-items: center;
    border-radius: 2px;
    width: 346px;
    height: 49px;
    padding-left: 22px;
}

.profile-main-info-left nav .profile-main-info-left-item a {
    font-size: 18px;
    line-height: 160%;
    color: #03283e;
}

.profile-main-info-left nav .left-item--active {
    background: #079eda;
}

.profile-main-info-left nav .left-item--active a {
    color: #fff;
}


.profile-main-bottom {
    background: #fff;
    border-radius: 2px;
    padding: 32px 0;
    display: flex;
    justify-content: center;
}

.profile-main-bottom-user-view {
    margin-top: 20px;
}

.profile-main-info-right {
    background: #fff;
    border-radius: 2px;
    padding: 45px 37px 58px 37px;
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.profile-main-info-right-about {
    display: flex;
    gap: 42px;
    align-items: flex-start;
}

.profile-main-info-right-title {
    font-size: 24px;
    line-height: 130%;
    color: #03283e;
}

.profile-person-info {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.profile-person-info-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-person-info-item-input {
    border-radius: 2px;
    min-width: 636px;
    width: 100%;
    padding: 8px 22px 8px 22px;
    background: #f4f6fa;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.profile-person-info-item-input label {
    font-size: 12px;
    line-height: 150%;
    color: #6c8898;
    opacity: 0.99;
}

.profile-person-info-item-input input,
textarea {
    font-size: 16px;
    line-height: 150%;
    color: #03283e;
    background: none;
    border: none;
}

.profile-person-info-item-input textarea {
    height: 100%
}

.profile-person-info-item p {
    font-size: 14px;
    line-height: 160%;
    color: #03283e;
}

.profile-person-info-item a {
    font-weight: 500;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #079eda;
}

.red {
    color: #fc3234;
}

.profile-main-info-right-socials {
    display: flex;
    gap: 16px;
}

.profile-main-info-right-about--about-page {
    display: flex;
    gap: 26px;
    flex-direction: column;
}

.profile-main-info-right-about-card {
    background: #f4f6fa;
    border-radius: 2px;
    padding: 30px 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.profile-main-info-right-about-card-title {
    display: flex;
    align-items: center;
    gap: 18px;
}

.profile-main-info-right-about-card p {
    font-size: 16px;
}

.profile-main-info-right-about-card .profile-main-info-right-about-card-title p {
    font-weight: 600;
    opacity: 0.99;
    font-size: 18px;
}

.profile-main-info-right-about-card-title a {
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 100%;
}


.profile-person-info--about-page .profile-person-info-item-input label {
    font-weight: 600;
    font-family: 'manrope-semibold';
    font-size: 18px;
    line-height: 150%;
    color: #03283e;
}

.profile-person-info--about-page .profile-person-info-item-input {
    padding: 30px 22px 30px 22px;
    gap: 8px;
}

.profile-person-info-item-input-icons {
    display: flex;
    gap: 16px;
}

.profile-person-info-item-input--others-page p {
    font-size: 16px;
}

.profile-person-info-item-input ul li {
    list-style: disc;
    margin-left: 25px;
}

.profile-person-info-item-input ul li::marker {
    font-size: 12px;
}

.club-residents .resident-content-card-text {
    background: #fff;
}

.club-distance {
    margin-top: 60px;
}

.club-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 23px 42px;
    background: #fff;
    border-radius: 2px;
    flex-wrap: wrap;
    gap: 20px;
}

.club-header-content h1,
.resident-profile-info-title h1 {
    font-weight: 500;
    color: #03283e;
}

.show-dropdown {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;
    color: #03283e;
}

.show-dropdown-label {
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;
    color: #03283e;
}

.show-dropdown-select {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.show-dropdown-value {
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;
    color: #03283e;
}

.show-dropdown-arrow {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.show-dropdown-select.active .show-dropdown-arrow {
    transform: rotate(180deg);
}

.show-dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(3, 40, 62, 0.15);
    padding: 8px 0;
    min-width: 50px;
    z-index: 1000;
    display: none;
}

.show-dropdown-select.active+.show-dropdown-menu {
    display: block;
}

.show-dropdown-option {
    padding: 10px 20px;
    font-weight: 500;
    font-size: 16px;
    color: #03283e;
    cursor: pointer;
    transition: background 0.2s ease;
}

.show-dropdown-option:hover {
    background: #f4f6fa;
}

.show-dropdown-option.active {
    background: #079eda;
    color: #ffffff;
}


.resident-profile-card {
    padding: 46px;
    background: #fff;
    border-radius: 2px;
    display: flex;
    gap: 36px;
}

.resident-profile-card img {
    min-width: 310px;
    width: 100%;
}

.resident-profile-navigation,
.resident-profile-navigation-content,
.resident-profile-bottom {
    margin-top: 20px;
}

.resident-profile-info {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.resident-profile-info-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.resident-profile-info-title a {
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #079eda;
}

.residents-profile-info-items {
    display: flex;
    gap: 7px;
    margin-bottom: 10px;
}

.residents-profile-info-item {
    min-width: 199px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.residents-profile-info-item span {
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #6c8898;
}

.residents-profile-info-text {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.residents-profile-info-text span {
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #6c8898;
}

.residents-profile-info-item-email {
    margin-left: 66px;
}

.residents-profile-info-text-link {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: 3px;
}

.residents-profile-info-text-link a {
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #079eda;
}

.residents-profile-info-text-more {
    margin-top: 10px;
}

.profile-main-info-right-socials-resident,
.resident-profile-nav {
    padding: 32px 46px;
    border-radius: 2px;
    background: #fff;
}

.resident-profile-nav {
    display: flex;
    justify-content: center;
}

.resident-profile-nav nav {
    display: flex;
    gap: 92px;
    border-bottom: 1px solid #DFE4EF;
    padding-bottom: 16px;
    justify-content: center;
    width: 100%;
}

.resident-profile-nav nav a {
    font-weight: 500;
    font-size: 18px;
    line-height: 160%;
    color: #03283e;
}



.residents-profile-content-cards {
    padding: 32px 46px 74px 46px;
    background: #fff;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.residents-profile-content-card-border {
    padding-bottom: 26px;
    border-bottom: 1px solid #F4F6FA;
}

.residents-profile-content-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.residents-profile-content-card p {
    font-size: 16px;
}

.residents-profile-content-card-title {
    display: flex;
    gap: 18px;
    align-items: center;
}

.residents-profile-content-card-title span {
    background: #f4f6fa;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}


.residents-profile-content-card-title p {
    font-weight: 600;
    font-size: 18px;
}

.residents-profile-content-card img {
    width: 306px;
    height: 54px;
}

.profile-update-photo {
    display: flex;
    gap: 26px;
    align-items: center;
}

.profile-update-photo img {
    width: 82px;
    height: 82px;
}

.profile-update-photo-detail {
    display: flex;
    gap: 4px;
    flex-direction: column;
}

.profile-update-photo-detail a {
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    color: #079eda;
}

.profile-update-photo-detail p {
    font-weight: 500;
    font-size: 16px;
    line-height: 160%;
    color: #03283e;
}

.profile-main-info-right-about-update {
    flex-direction: column;
}

.profile-person-info-update {
    display: flex;
    gap: 30px;
}

.profile-person-info-update .profile-person-info-item .profile-person-info-item-input {
    min-width: 392px;
}

.profile-main-info-right-update {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.profile-update-buttons {
    display: flex;
    gap: 20px;
    padding: 16px 36px;
    background: #fff;
    border-radius: 2px;
}

.profile-update-buttons button {
    padding: 16px 68px;
    border: 1px solid #079eda;
    border-radius: 2px;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
    color: #079eda;
    background: none;
}

.profile-update-buttons .profile-update-button-save {
    background: #079eda;
    color: #fff;
    padding: 16px 93px;
}

.profile-person-info-item-update {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

.profile-person-info-item-input-update {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.profile-person-info-item-check {
    display: flex;
    gap: 14px;
}

.profile-person-info-item-check-button {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #079eda;
}

.profile-main-info-right-about-card-update {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.profile-main-info-right-about--about-page-update {
    gap: 40px;
}

.update-profile-my-business-label {
    font-weight: 600;
    font-size: 18px;
    font-family: 'manrope-semibold';
}

.profile-person-info-update-my-business .profile-person-info-item-input {
    padding: 8px 22px 8px 22px;
}

.profile-person-info-update-my-business .profile-person-info-item-input label {
    font-size: 12px;
    line-height: 150%;
    color: #6c8898;
}

.profile-person-info form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-change-password-items {
    display: flex;
    gap: 20px;
}


.form-cahnge-password-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    background: #f4f6fa;
    border-radius: 2px;
    padding: 8px 22px;
    height: 60px;
}

.form-cahnge-password-item label {
    font-weight: 400;
    font-size: 12px;
    line-height: 150%;
    color: #6c8898;
}

.form-cahnge-password-item input {
    width: 100%;
    border: none;
    background: none;
}


@media (max-width:1300px) {
    .breakfast-registration-content {
        flex-wrap: wrap;
    }
    .master-content-block {
    flex-wrap: wrap;
}

    .advantages-cards {
        flex-wrap: wrap;
    }
}

@media (max-width:710px) {
    .formats-cards {
        flex-wrap: wrap;
    }
}

.how_become_banner_image_tablet {
    display: none;
}

.how_become_text_tablet {
    display: none;
}

.unique_tablet_img,
.what_get_tablet_img,
.business_banner_tablet,
.networking_banner_img_tablet {
    display: none;
}

@media (max-width:768px) {
    .how_become_banner_image {
        display: none;
    }

    .how_become_banner_image_tablet {
        display: flex;
    }

    .how_become_banner_content {
        flex-direction: row-reverse;
    }

    .h1 {
        font-size: 34px;
    }

    .how_become_banner_title_small {
        display: none;
    }

    .how_become_banner {
        margin-top: 40px;
    }

    .how_become_banner_content_text a {
        padding: 18px 39px;
    }

    .how_become_text_tablet {
        display: block;
        font-size: 24px;
        line-height: 140%;
    }

    .how_become_banner_content_text p {
        font-size: 18px;
    }

    .how_become_banner_content_text a {
        margin-top: 0;
    }

    .how_it_works_content_block {
        flex-wrap: wrap;
    }

    .how_it_works_content_block_card {
        max-width: none;
        width: 100%;
    }

    .how_it_works_content_block img {
        width: 100%;
        height: 414px;
        object-fit: cover;
        object-position: top;
    }

    .unique_tablet_img,
    .what_get_tablet_img,
    .business_banner_tablet {
        display: block;
    }

    .unique_img,
    .what_get_img,
    .becoming-img,
    .registration_img,
    .business_banner_img {
        display: none;
    }

    .for_you_cards {
        gap: 18px;
    }

    .for_you_content_block_card:not(.card-wide) {
        width: 228px;
    }

    .for_you_content_block_card.card-wide {
        width: 351px;
    }

    .for_you_wrapper,
    .breakfast-format-content-block {
        flex-wrap: wrap;
    }

    .include-content-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .breakfast-registration-info-cards-how-become {
        flex-direction: row;
    }

    .breakfast-registration-info-card-how-become {
        width: 353px;
    }

    .breakfast-format-img {
        width: 100%;
    }

    .residents-content-cards {
        gap: 15px;
    }

    .residents-content-card {
        max-width: 230px;
    }

    .residents-content-card img {
        width: 100%;
        height: auto;
    }

    .error_content .error_title {
        font-size: 120px;
    }

    .error_content p {
        font-size: 24px;
    }

    .master-content-block {
        flex-wrap: wrap;
    }

    .master-content-block img {
        width: 100%;
    }

    .inner-content-cards {
        flex-wrap: wrap;
        gap: 18px;
    }

    .inner-content-card {
        max-width: 228px;
        width: 100%;
    }

    .inner-content-card-tablet {
        max-width: 351px;
        width: 100%;
    }

    .networking_banner_img {
        display: none;
    }

    .networking_banner_img_tablet {
        display: block;
        width: 100%;
    }

    .networking-banner-text {
        gap: 36px;
        flex-wrap: wrap;
    }

    .business_breakfasts-winwin-content-block {
        flex-wrap: wrap;
    }

    .business_breakfasts-winwin-content-block img {
        width: 100%;
    }

    .events-content-cards {
        gap: 16px;
        flex-wrap: wrap;
    }

    .events-content-card {
        width: 352px;
    }

    .events-content-card img {
        width: 352px;
        height: auto;
    }

    .residents-link {
        padding: 12px 30px;
    }
}

@media (max-width:480px) {
    .policy_content_title h1 {
        font-size: 34px;
    }

    .events-content-card img {
        width: 100%;
    }

    .events-content-card {
        width: 100%;
    }

    .error_content .error_title {
        font-size: 74px;
    }

    .error_content p {
        font-size: 22px;
    }

    .inner-content-card {
        max-width: 100%;
        height: auto;
    }

    .inner-content-card-tablet {
        max-width: 100%;
    }
}

@media (max-width: 340px) {
    .container {
        max-width: 315px;
    }
}

@media (max-width:1300px) {

    .contacts-content-block,
    .contacts-content-text-top-links {
        flex-wrap: wrap;
    }

    .contacts-content-text {
        max-width: 100%;
    }

    .contacts-content-block img {
        width: 100%;
    }
}


/* Модальное окно */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(3, 40, 62, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: #FFFFFF;
    border-radius: 2px;
    max-width: 1300px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #079EDA;
}

.modal-close:hover svg path {
    fill: #FFFFFF;
}

.modal-content {
    display: flex;
    gap: 40px;
    padding: 54px 65px;
}

.modal-photo {
    flex-shrink: 0;
    width: 320px;
}

.modal-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-name {
    font-size: 32px;
    font-weight: 500;
    color: #03283E;
    line-height: 1.3;
    margin: 0;
}

.modal-position {
    font-size: 18px;
    color: #03283E;
    opacity: 0.8;
    margin: 0;
}

.modal-website {
    font-size: 16px;
    color: #03283E;
}

.modal-website a {
    color: #079EDA;
    text-decoration: underline;
    margin-left: 8px;
}

.modal-website a:hover {
    text-decoration: underline;
}

.modal-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    display: inline-flex;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.modal-description {
    background: #F4F6FA;
    padding: 24px;
    border-radius: 2px;
    margin-top: 8px;
}

.modal-description h3 {
    font-size: 18px;
    font-weight: 600;
    color: #03283E;
    margin: 0 0 16px 0;
}

.modal-description p {
    font-size: 15px;
    line-height: 1.6;
    color: #03283E;
    margin: 0 0 12px 0;
}

.modal-list {
    margin: 12px 0 0 0;
    padding-left: 20px;
}

.modal-list li {
    font-size: 15px;
    line-height: 1.6;
    color: #03283E;
    margin-bottom: 8px;
    list-style: disc;
}

@media (max-width: 968px) {
    .modal-content {
        padding: 40px 30px;
        gap: 24px;
    }

    .modal-photo {
        width: 200px;
    }

    .modal-info {
        gap: 12px;
    }

    .modal-name {
        font-size: 24px;
    }

    .modal-position {
        font-size: 15px;
    }

    .modal-website {
        font-size: 14px;
    }

    .modal-socials svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 600px) {
    .modal-overlay {
        padding: 10px;
        align-items: center;
    }

    .modal-container {
        max-height: 95vh;
        border-radius: 2px;
    }

    .modal-content {
        flex-direction: row;
        padding: 24px 20px;
        gap: 16px;
    }

    .modal-photo {
        width: 120px;
        flex-shrink: 0;
    }

    .modal-photo img {
        height: 150px;
        border-radius: 2px;
    }

    .modal-info {
        gap: 8px;
        min-width: 0;
    }

    .modal-name {
        font-size: 18px;
        line-height: 1.2;
    }

    .modal-position {
        font-size: 13px;
        line-height: 1.3;
    }

    .modal-website {
        font-size: 13px;
    }

    .modal-website a {
        margin-left: 4px;
    }

    .modal-socials {
        gap: 8px;
    }

    .modal-socials svg {
        width: 22px;
        height: 22px;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .modal-description {
        padding: 16px;
        margin-top: 8px;
    }

    .modal-description h3 {
        font-size: 15px;
        margin-bottom: 12px;
    }

    .modal-description p,
    .modal-list li {
        font-size: 13px;
        line-height: 1.5;
    }
}

@media (max-width: 400px) {
    .modal-content {
        padding: 20px 16px;
        gap: 12px;
    }

    .modal-photo {
        width: 100px;
    }

    .modal-photo img {
        height: 130px;
    }

    .modal-name {
        font-size: 16px;
    }

    .modal-position {
        font-size: 12px;
    }

    .modal-website {
        font-size: 12px;
    }

    .modal-socials svg {
        width: 20px;
        height: 20px;
    }
}

.modal-container::-webkit-scrollbar {
    width: 8px;
}

.modal-container::-webkit-scrollbar-track {
    background: #F4F6FA;
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb {
    background: #079EDA;
    border-radius: 4px;
}

.modal-container::-webkit-scrollbar-thumb:hover {
    background: #03283E;
}


/* Специфичные стили для модального окна записи */
.birthday-modal-container {
    max-width: 800px;
}

.birthday-modal-content {
    padding: 50px 134px;
}

.birthday-modal-title {
    font-size: 32px;
    font-weight: 500;
    color: #03283E;
    text-align: center;
    margin: 0 0 40px 0;
    line-height: 1.3;
}

.birthday-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #03283E;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    background: #F4F6FA;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 16px;
    color: #03283E;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: #079EDA;
    background: #FFFFFF;
}

.form-input::placeholder {
    color: #999999;
}

/* Поле телефона с флагом */
.phone-input-wrapper {
    display: flex;
    gap: 0;
    background: #F4F6FA;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.phone-input-wrapper:focus-within {
    background: #FFFFFF;
}

.country-code-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 16px;
    background: #F4F6FA;
    border-right: 1px solid #E0E6ED;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.phone-input-wrapper:focus-within .country-code-selector {
    background: #FFFFFF;
}

.country-flag {
    width: 24px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
}

.country-code {
    font-size: 16px;
    color: #03283E;
    font-weight: 500;
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.country-code-selector:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.phone-input {
    flex: 1;
    border: none;
    background: transparent;
}

.phone-input:focus {
    border: none;
    box-shadow: none;
}

.form-note {
    font-size: 14px;
    color: #03283E;
    margin: 10px 0 0 0;
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 18px 40px;
    background: #079EDA;
    border: none;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 10px;
}

.submit-btn:hover {
    background: #058BC4;
    transform: translateY(-2px);
}

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

.checkbox-wrapper {
    margin-top: 10px;
    max-width: 392px;
    margin: 0 auto;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    cursor: pointer;
    position: relative;
}

.checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.checkbox-custom {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    background: #F4F6FA;
    border: 2px solid #D0D5DD;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-top: 2px;
}

.checkbox-input:checked+.checkbox-custom {
    background: #079EDA;
    border-color: #079EDA;
}

.checkbox-input:checked+.checkbox-custom::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.checkbox-text {
    font-size: 13px;
    line-height: 1.5;
    color: #03283E;
}

.policy-link {
    color: #079EDA;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.policy-link:hover {
    color: #058BC4;
}

@media (max-width: 768px) {
    .birthday-modal-content {
        padding: 40px 30px;
    }

    .birthday-modal-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .form-row {
        flex-direction: column;
        gap: 20px;
    }

    .submit-btn {
        padding: 16px 30px;
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .birthday-modal-content {
        padding: 30px 20px;
    }

    .birthday-modal-title {
        font-size: 22px;
    }

    .form-input {
        padding: 12px 14px;
        font-size: 15px;
    }

    .country-code-selector {
        padding: 12px 14px;
    }

    .submit-btn {
        padding: 14px 24px;
        font-size: 16px;
    }

    .checkbox-text {
        font-size: 12px;
    }
}


/* ===== КРУПНЫЙ ПЛАНШЕТ: 1024px - 1300px ===== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 20px;
    }

    .numbers-club-cards {
        justify-content: center;
        flex-wrap: wrap;
    }

    .target-audience-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .target-audience-card {
        max-width: 45%;
        flex: 1 1 auto;
    }

    .formats-cards {
        flex-wrap: wrap;
    }

    .faq-accordions {
        flex-wrap: wrap;
    }

    .footer-top nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    /* Страница "Стать резидентом" */
    .for_you_cards {
        width: 100%;
    }

    .for_you_content_block_card:not(.card-wide),
    .for_you_content_block_card.card-wide {
        width: calc(50% - 10px);
        flex: 1 1 auto;
    }

    .include-content-cards {
        gap: 30px;
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 900px;
    }

    .header-top {
        flex-wrap: wrap;
        gap: 15px;
    }

    .logo svg {
        width: 200px;
        height: auto;
    }

    .about-content {
        flex-direction: column;
        gap: 30px;
    }

    .about-content-right {
        max-width: 100%;
    }

    .advantages-cards {
        flex-wrap: wrap;
        justify-content: center;
    }

    .advantages-card {
        width: calc(50% - 10px);
        flex: 1 1 auto;
    }

    .numbers-club-card {
        width: 100%;
        max-width: 400px;
        height: auto;
        padding: 40px 30px;
    }

    .numbers-club-cards-part {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .breakfast-registration-content {
        flex-direction: column;
    }

    .breakfast-registration-info-cards {
        flex-wrap: wrap;
    }

    .breakfast-registration-info-card {
        width: calc(50% - 6px);
        flex: 1 1 auto;
    }

    .gallery-slider-slide {
        width: calc(50% - 8px);
    }

    /* How become resident */
    .how_become_banner_content {
        flex-direction: column-reverse;
        align-items: flex-start;
    }

    .how_become_banner_content_text {
        align-items: flex-start;
    }

    .unique_content_block {
        flex-direction: column;
    }

    .unique_img {
        display: none;
    }

    .unique_tablet_img {
        display: block;
        width: 100%;
        border-radius: 2px;
    }

    .how_it_works_content_block {
        flex-direction: column;
        align-items: stretch;
    }

    .how_it_works_content_block_card {
        max-width: 100%;
        width: 100%;
    }

    .how_it_works_content_block img {
        width: 100%;
        height: auto;
        order: -1;
    }

    .residents_get_content_block {
        flex-direction: column;
        align-items: stretch;
    }

    .what_get_img {
        display: none;
    }

    .what_get_tablet_img {
        display: block;
        width: 100%;
        border-radius: 2px;
    }

    .for_you_wrapper {
        flex-direction: column;
    }

    .for_you_cards {
        width: 100%;
        justify-content: center;
    }

    .for_you_info_block {
        width: 100%;
        align-self: stretch;
    }

    .include-content-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .becoming-content-block {
        flex-direction: column;
    }

    .becoming-img {
        width: 100%;
        height: auto;
    }

    .breakfast-format-content-block {
        flex-direction: column;
        align-items: stretch;
    }

    .breakfast-format-img {
        width: 100%;
        height: auto;
        order: -1;
    }

    .residents-content-card {
        max-width: calc(50% - 10px);
        flex: 1 1 auto;
    }

    .residents-content-card img {
        width: 100%;
        height: auto;
    }

    .networking-banner-text {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .networking_banner_img {
        display: none;
    }

    .networking_banner_img_tablet {
        display: block;
        width: 100%;
    }

    .inner-content-cards {
        flex-wrap: wrap;
        justify-content: flex-start;
    }

    .inner-content-card {
        width: calc(50% - 10px);
        max-width: 350px;
        height: auto;
        padding: 30px;
    }

    .events-content-card {
        max-width: calc(50% - 10px);
        flex: 1 1 auto;
    }

    .events-content-card img {
        width: 100%;
        height: auto;
    }

    .business_breakfasts-winwin-content-block {
        flex-direction: column;
    }

    .business_breakfasts-winwin-content-block img {
        width: 100%;
        height: auto;
    }

    .modal-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 40px;
    }

    .modal-photo {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
        padding: 0 15px;
    }

    .header-top {
        flex-wrap: wrap;
        gap: 12px;
    }

    .header-top-links-button-desktop {
        display: none;
    }

    .header-top-links-button-mobile {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 12px 20px;
    }

    .header-top-links {
        gap: 15px;
    }

    .header-bottom {
        display: none;
    }

    .burger-menu {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    .overlay {
        display: block;
    }

    .banner {
        height: auto;
        background-position: center;
        padding: 40px 0;
    }

    .banner-content h1 {
        font-size: 34px;
    }

    .about-content::after {
        bottom: -8%;
    }

    .advantages-card {
        width: calc(50% - 8px);
    }

    .numbers-club-image {
        display: none;
    }

    .numbers-club-image-tablet {
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .numbers-club-cards-part {
        flex-direction: column;
        align-items: center;
    }

    .numbers-club-card {
        width: 100%;
        max-width: 400px;
        padding: 30px 20px;
    }

    .target-audience-card {
        max-width: 100%;
        flex: 1 1 100%;
        padding: 24px;
        height: auto;
        flex-direction: row;
    }

    .formats-card {
        padding: 40px 24px;
        height: auto;
    }

    .formats-card a {
        padding: 16px 40px;
        margin-top: 10px;
    }

    .faq-accordions {
        flex-direction: column;
    }

    .breakfast-registration-info-card {
        width: 100%;
        height: auto;
        padding: 24px;
    }

    .footer-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding-bottom: 40px;
    }

    .footer-info-tablet {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        width: 100%;
    }

    .footer-info-text {
        flex-direction: column;
        gap: 20px;
    }

    .footer-bottom {
        flex-direction: column-reverse;
        gap: 25px;
        align-items: flex-start;
        padding-top: 30px;
        border-top: 1px solid #ecedf0;
    }

    .footer-bottom-docs-link {
        flex-direction: column;
        gap: 15px;
        padding-bottom: 25px;
        border-bottom: 1px solid #ecedf0;
    }

    .footer-bottom-icons-desktop {
        display: none;
    }

    .footer-bottom-icons-tablet {
        display: flex;
        gap: 15px;
    }

    .footer-top-tablet {
        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .footer-top-tablet nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .footer-top-desktop {
        display: none;
    }

    .footer-info-block {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
        padding: 30px 0 50px 0;
        border-top: 1px solid #ecedf0;
    }

    .how_become_banner_title_small {
        display: none;
    }

    .how_become_text_tablet {
        display: block;
        font-size: 20px;
    }

    .how_become_banner_content_text p {
        font-size: 16px;
    }

    .unique_content_block_text_bottom {
        flex-direction: column;
    }

    .for_you_content_block_card:not(.card-wide),
    .for_you_content_block_card.card-wide {
        width: calc(50% - 8px);
    }

    .for_you_info_block {
        padding: 30px 25px;
    }

    .include-content-cards {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .include-content-card {
        max-width: 100%;
    }

    .residents-content-card {
        max-width: calc(50% - 8px);
    }

    .resident-content-card-text {
        padding: 20px 18px;
    }

    .residents-link {
        padding: 10px 30px;
        font-size: 16px;
        text-align: center;
    }

    .reviews_slides_card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 24px 28px 40px 28px;
    }

    .becoming-content-block-text {
        padding: 30px 25px;
    }

    .breakfast-format-content-part {
        flex-direction: column;
        gap: 10px;
    }

    .breakfast-time {
        max-width: 100%;
    }

    .breakfast-format-content-part-border::before,
    .breakfast-format-content-part-border-second::before {
        display: none;
    }

    .inner-content-card {
        width: calc(50% - 8px);
        max-width: 100%;
        height: auto;
        padding: 25px 20px;
    }

    .inner-content-card-tablet {
        width: calc(50% - 8px);
    }

    .modal-content {
        padding: 30px 25px;
    }
}

@media (max-width: 480px) {
    .container {
        max-width: 400px;
        padding: 0 12px;
    }

    .header-top {
        gap: 10px;
    }

    .logo svg {
        width: 140px;
        height: auto;
    }

    .header-top-links-icons a svg {
        width: 22px;
        height: 22px;
    }

    .header-top-links {
        gap: 10px;
    }

    .header-top-links-button-mobile {
        padding: 10px 16px;
        font-size: 14px;
    }

    .banner-content p {
        font-size: 18px;
    }

    .banner-content button {
        padding: 14px 24px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    h2 {
        font-size: 26px;
    }

    .about-content::after {
        bottom: -4%;
    }

    .advantages-card {
        width: 100%;
        max-width: 100%;
    }

    .advantages-card p {
        width: 100%;
    }

    .numbers-club-card {
        padding: 24px 16px;
    }

    .numbers-club-card .club-number {
        font-size: 28px;
    }

    .target-audience-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        gap: 12px;
    }

    .target-audience-card p {
        max-width: 100%;
    }

    .formats-card {
        padding: 30px 18px;
    }

    .formats-card .format-title {
        font-size: 22px;
    }

    .formats-card a {
        padding: 14px 24px;
        width: 100%;
        text-align: center;
    }

    .accordion-header {
        padding: 14px 16px;
        min-height: 60px;
    }

    .accordion-header a {
        font-size: 15px;
    }

    .accordion-item-icon {
        width: 32px;
        height: 32px;
    }

    .accordion-item-icon svg {
        width: 16px;
        height: 16px;
    }

    .accordion-item.active .accordion-content {
        padding: 16px 20px;
    }

    .accordion-content p {
        font-size: 14px;
    }

    .gallery-slider-slide {
        width: 100%;
    }

    .gallery-slider-icons {
        gap: 10px;
    }

    .gallery-slider-icon {
        width: 36px;
        height: 36px;
    }

    .gallery-slider-icon svg {
        width: 16px;
        height: 16px;
    }

    .breakfast-registration-form {
        padding: 24px 16px 40px;
    }

    .breakfast-registration-form-fio-inputs {
        flex-direction: column;
    }

    .breakfast-registration-form form button {
        padding: 16px 24px;
        width: 100%;
        font-size: 16px;
        text-align: center;
    }

    .breakfast-registration-form-agreement {
        flex-direction: column;
        gap: 12px;
    }

    .events {
        margin-top: 30px;
    }

    .events-content {
        gap: 40px;
    }

    .how_become_text_tablet {
        font-size: 16px;
    }

    .how_become_banner_content_text a {
        padding: 14px 30px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    .for_you_content_block_card:not(.card-wide),
    .for_you_content_block_card.card-wide {
        width: 100%;
        max-width: 100%;
        height: auto;
        padding: 20px;
    }

    .for_you_number {
        width: 48px;
        height: 48px;
        font-size: 26px;
    }

    .residents-content-card {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .becoming-content-block-text {
        padding: 24px 18px;
    }

    .becoming-content-block-text-part {
        flex-direction: column;
        gap: 4px;
    }

    .becoming-content-block-text a {
        padding: 14px 24px;
        width: 100%;
        text-align: center;
        font-size: 16px;
    }

    .breakfast-registration-info-card-how-become {
        width: 100%;
        padding: 20px;
    }

    .breakfast-registration-info-cards-how-become {
        flex-direction: column;
    }

    .inner-content-card {
        width: 100%;
        max-width: 100%;
        padding: 20px 16px;
    }

    .inner-content-card-tablet {
        width: 100%;
    }

    .events-content-card {
        max-width: 100%;
        flex: 1 1 100%;
    }

    .events-content-card-text {
        padding: 24px 20px 36px;
    }

    .events-content-card-text a {
        padding: 10px 40px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    .footer-info-logo svg {
        width: 200px;
        height: auto;
    }

    .footer-info-text p {
        font-size: 14px;
    }

    .footer-bottom-part {
        flex-wrap: wrap;
    }

    .modal-content {
        padding: 20px 16px;
        gap: 16px;
    }

    .modal-photo {
        width: 140px;
    }

    .modal-name {
        font-size: 20px;
    }

    .modal-position {
        font-size: 14px;
    }

    .modal-description {
        padding: 16px;
    }

    .modal-description p,
    .modal-list li {
        font-size: 13px;
    }
}

@media (max-width: 340px) {
    .container {
        max-width: 100%;
        padding: 0 10px;
    }

    .banner-content p {
        font-size: 15px;
    }

    h2 {
        font-size: 22px;
    }

    .header-top-links-button-mobile {
        font-size: 12px;
        padding: 8px 12px;
    }

    .target-audience-card {
        padding: 16px;
    }

    .formats-card {
        padding: 24px 14px;
    }

    .formats-card .format-title {
        font-size: 18px;
    }

    .gallery-slider-icon {
        width: 30px;
        height: 30px;
    }

    .breakfast-registration-info-card {
        padding: 18px 16px;
    }

    .breakfast-registration-info-card-title {
        font-size: 18px;
    }

    .footer-info-logo svg {
        width: 160px;
    }



    .how_become_text_tablet {
        font-size: 14px;
    }

    .for_you_number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .residents-link {
        padding: 8px 20px;
        font-size: 14px;
    }

    .becoming-content-block-text a {
        font-size: 14px;
        padding: 12px 16px;
    }
}

@media (max-width: 768px) {
    .distance {
        margin-top: 60px;
    }

    .content {
        gap: 30px;
    }

    .gallery-content-title {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .distance {
        margin-top: 45px;
    }

    .content {
        gap: 24px;
    }
}

@media (max-width: 480px) {
    p {
        font-size: 15px;
        line-height: 165%;
    }

    .important {
        font-size: 15px;
        padding: 12px 16px;
    }
}

img {
    max-width: 100%;
    height: auto;
}

@media (max-width: 480px) {

    input,
    select,
    textarea {
        font-size: 16px !important;
    }

    .phone-input-wrapper input {
        padding-left: 85px !important;
        font-size: 16px !important;
    }
}

.accordion-content {
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
}

.gallery-slider-track {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .accordion-header {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .gallery-slider-icon {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .burger-menu {
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 600px) {
    .modal-container {
        max-height: 95vh;
    }

    .modal-close {
        top: 10px;
        right: 10px;
        width: 32px;
        height: 32px;
    }

    .modal-close svg {
        width: 18px;
        height: 18px;
    }
}



.search-page-content {
    min-height: 328px;
    background: #fff;
    border-radius: 2px;
    padding: 36px 20px;
    overflow: hidden;
}

.search-page-content .search-empty {
    text-align: center;
}

.search-page {
    margin: 20px 0px;
}

.search-block {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 732px;
    width: 100%;
    border-radius: 2px;
    background: #f4f6fa;
    padding: 6px 6px 6px 22px;
}

.search-block-users {
    max-width: 402px;
}

.search-block input {
    font-weight: 400;
    font-size: 18px;
    line-height: 150%;
    color: #6c8898;
    border: none;
    background: none;
}

.search-block-button {
    border-radius: 2px;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #079eda;
}


.residents-table {
    width: 100%;
    border-collapse: collapse;
}

.residents-table thead {
    background: #079EDA;
    border-radius: 2px;
}

.residents-table th {
    padding: 20px 24px;
    text-align: left;
    font-size: 16px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.4;
}

.residents-table td {
    padding: 24px 24px;
    font-size: 15px;
    line-height: 1.5;
    color: #03283E;
    vertical-align: top;
}

.residents-table tbody tr {
    border-bottom: 1px solid #F4F6FA;
}

.residents-table tbody tr:last-child {
    border-bottom: none;
}

.residents-table td a {
    color: #079EDA;
    text-decoration: underline;
}

.residents-table td a:hover {
    text-decoration: none;
}

.residents-table th:nth-child(1),
.residents-table td:nth-child(1) {
    width: 20%;
}

.residents-table th:nth-child(2),
.residents-table td:nth-child(2) {
    width: 18%;
}

.residents-table th:nth-child(3),
.residents-table td:nth-child(3) {
    width: 25%;
}

.residents-table th:nth-child(4),
.residents-table td:nth-child(4) {
    width: 10%;
}

.residents-table th:nth-child(5),
.residents-table td:nth-child(5) {
    width: 27%;
}

/* Таблица с пагинацией (админка) */
.admin-residents-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-residents-table thead {
    background: #079EDA;
    border-radius: 2px;
}

.admin-residents-table th {
    padding: 18px 16px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.3;
    white-space: nowrap;
}

.admin-residents-table td {
    padding: 24px 16px;
    font-size: 14px;
    line-height: 1.5;
    color: #03283E;
    vertical-align: top;
}

.admin-residents-table tbody tr {
    border-bottom: 1px solid #F4F6FA;
}

.admin-residents-table tbody tr:last-child {
    border-bottom: none;
}

.admin-residents-table td a {
    color: #079EDA;
    text-decoration: none;
}

.admin-residents-table td a:hover {
    text-decoration: underline;
}

.admin-residents-table .edit-link {
    white-space: nowrap;
}

/* Выравнивание колонок для админ-таблицы */
.admin-residents-table th:nth-child(1),
.admin-residents-table td:nth-child(1) {
    width: 15%;
}

.admin-residents-table th:nth-child(2),
.admin-residents-table td:nth-child(2) {
    width: 18%;
}

.admin-residents-table th:nth-child(3),
.admin-residents-table td:nth-child(3) {
    width: 22%;
}

.admin-residents-table th:nth-child(4),
.admin-residents-table td:nth-child(4) {
    width: 15%;
}

.admin-residents-table th:nth-child(5),
.admin-residents-table td:nth-child(5) {
    width: 8%;
    text-align: center;
}

.admin-residents-table th:nth-child(6),
.admin-residents-table td:nth-child(6) {
    width: 8%;
    text-align: center;
}

.admin-residents-table th:nth-child(7),
.admin-residents-table td:nth-child(7) {
    width: 8%;
    text-align: center;
}

.admin-residents-table th:nth-child(8),
.admin-residents-table td:nth-child(8) {
    width: 12%;
    text-align: right;
}

/* Пагинация - уникальные классы */
.admin-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 24px 0;
    margin-top: 20px;
    border-top: 1px solid #F4F6FA;
}

.admin-pagination-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-pagination-arrow {
    width: 36px;
    height: 36px;
    background: #FFFFFF;
    border-radius: 2px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-pagination-arrow:hover {
    background: #F4F6FA;
    border-color: #079EDA;
}

.admin-pagination-numbers {
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-pagination-number {
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: none;
    background: #FFFFFF;
    border-radius: 2px;
    font-size: 15px;
    color: #03283E;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.admin-pagination-number:hover {
    background: #F4F6FA;
    border-color: #079EDA;
}

.admin-pagination-number.active {
    background: #079EDA;
    border-color: #079EDA;
    color: #FFFFFF;
}

.admin-pagination-dots {
    color: #03283E;
    padding: 0 8px;
}

.admin-pagination-info {
    font-size: 15px;
    color: #03283E;
    opacity: 0.7;
}




.birthday-breakfast-content {
    display: flex;
    gap: 60px;
    align-items: flex-end;
}

.birthday-video-wrapper {
    position: relative;
    flex-shrink: 0;
    border-radius: 2px;
    overflow: hidden;
}

.birthday-image {
    width: 100%;
    height: auto;
    display: block;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.birthday-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.birthday-date {
    font-size: 22px;
    margin: 0;
}

.birthday-description {
    font-size: 22px;
    margin: 0;
}

.birthday-invite {
    font-weight: 600;
    font-size: 22px;
    margin: 10px 0 0 0;
}

.birthday-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 23px;
}

.birthday-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 22px;
}

.btn-primary {
    padding: 18px 89px;
    background: #079EDA;
    border: none;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    margin-top: 30px;
    align-self: flex-start;
}


.special-event h2,
.club-statistics-block h2,
.program-schedule h2,
.what-you-get h2,
.exclusive-offer h2,
.meet-section h2 {
    margin-bottom: 42px;
}

.event-features {
    display: flex;
    gap: 30px;
    justify-content: space-between;
}

.event-feature {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-number {
    width: 60px;
    height: 60px;
    background: #079eda;
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 500;
    color: #fff;
    flex-shrink: 0;
}

.statistics-content {
    display: flex;
    gap: 60px;
    background: #03283E;
    align-items: center;
    padding: 22px;
}

.statistics-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-left: 30px;
}

.statistics-info p {
    font-size: 18px;
    color: #FFFFFF;
    opacity: 0.9;
    margin: 0;
}

.statistics-numbers {
    display: flex;
    flex-direction: column;
    gap: 40px;
    min-width: 280px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.7;
    margin: 0;
}

.stat-value {
    font-size: 46px;
    font-weight: 600;
    color: #FFFFFF;
    line-height: 1.2;
    margin: 0;
    font-family: 'manrope-semibold';
}

.stat-description {
    font-size: 14px;
    color: #FFFFFF;
    opacity: 0.7;
    margin: 0;
    line-height: 1.4;
}

.statistics-image {
    flex: 1;
    border-radius: 2px;
    overflow: hidden;
}

.statistics-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1200px) {
    .birthday-video-wrapper {
        width: 400px;
    }

    .birthday-title {
        font-size: 36px;
    }

    .event-features {
        flex-wrap: wrap;
    }

    .event-feature {
        width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .birthday-breakfast-content {
        flex-direction: column;
        gap: 40px;
    }

    .birthday-video-wrapper {
        width: 100%;
    }

    .birthday-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 32px;
    }

    .event-features {
        flex-direction: column;
    }

    .event-feature {
        width: 100%;
        flex-direction: row;
        text-align: left;
        align-items: flex-start;
    }

    .statistics-content {
        flex-direction: column;
        gap: 40px;
    }

    .statistics-numbers {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .stat-item {
        flex: 1;
        min-width: 200px;
    }
}




.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.benefit-card {
    background: #F4F6FA;
    border-radius: 2px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    transition: all 0.3s ease;
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon svg {
    width: 28px;
    height: 28px;
    color: #079EDA;
}

.benefit-card p {
    font-size: 16px;
    line-height: 1.5;
    color: #03283E;
    margin: 0;
}


.schedule-timeline {
    display: flex;
    gap: 20px;
    justify-content: space-between;
}

.schedule-item {
    flex: 1;
    padding: 30px 25px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.schedule-blue {
    background: #079EDA;
}

.schedule-dark {
    background: #03283E;
}

.schedule-time {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.schedule-title {
    font-size: 20px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.3;
}

.schedule-item p {
    font-size: 18px;
    color: #FFFFFF;
    opacity: 0.9;
    margin: 0;
}

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

    .schedule-timeline {
        flex-wrap: wrap;
    }

    .schedule-item {
        flex: 0 0 calc(50% - 10px);
    }
}

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

    .benefit-card {
        flex-direction: row;
        text-align: left;
        padding: 30px;
    }

    .benefit-icon {
        flex-shrink: 0;
    }

    .schedule-timeline {
        flex-direction: column;
    }

    .schedule-item {
        flex: 1;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .benefit-card {
        flex-direction: column;
        text-align: center;
    }

    .schedule-time {
        font-size: 16px;
    }

    .schedule-title {
        font-size: 18px;
    }
}



.pricing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 40px;
}

.pricing-note {
    font-size: 16px;
    color: #03283E;
    padding-left: 16px;
    border-left: 3px solid #079EDA;
    margin-right: 86px;
}

.pricing-cards {
    display: flex;
    gap: 30px;
    margin-bottom: 16px;
}

.pricing-card {
    flex: 1;
    background: #F4F6FA;
    border-radius: 2px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-date {
    font-size: 20px;
    font-weight: 600;
    color: #03283E;
    margin: 0;
    background: #fff;
    padding: 24px 29px;
    border-radius: 2px;
}

.pricing-price {
    font-size: 18px;
    margin: 0;
    padding-left: 29px;
}

.pricing-action {
    display: flex;
    justify-content: center;
}

.btn-participate {
    padding: 18px 109px;
}


.exclusive-content {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.exclusive-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.exclusive-intro {
    font-size: 18px;
}

.exclusive-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exclusive-list li {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    font-size: 18px;
}

.exclusive-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.exclusive-pricing {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.exclusive-price-box {
    flex: 1;
    background: #03283E;
    padding: 34px 30px;
    border-radius: 2px;
}

.exclusive-price-label {
    font-size: 18px;
    font-weight: 600;
    font-family: 'manrope-medium';
    color: #FFFFFF;
    margin: 0 0 8px 0;
}

.exclusive-price-value {
    font-size: 18px;
    font-weight: 500;
    color: #FFFFFF;
    margin: 0;
}

.exclusive-deadline {
    flex: 1;
    background: #079EDA;
    padding: 34px 30px;
    border-radius: 2px;
}

.exclusive-deadline-label {
    font-size: 16px;
    color: #FFFFFF;
    opacity: 0.9;
    margin: 0 0 8px 0;
}

.exclusive-deadline-value {
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.exclusive-footer {
    padding-top: 12px;
    border-left: 3px solid #079EDA;
    padding-left: 24px;
}

.exclusive-footer p {
    font-size: 18px;
    line-height: 1.7;
    margin: 0 0 10px 0;
}

.exclusive-footer strong {
    color: #079EDA;
    font-weight: 600;
}

.exclusive-image {
    flex: 1;
    border-radius: 2px;
    overflow: hidden;
}

.exclusive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .pricing-header {
        flex-direction: column;
        gap: 20px;
    }

    .pricing-cards {
        flex-direction: column;
    }

    .exclusive-content {
        flex-direction: column;
        gap: 40px;
    }

    .exclusive-pricing {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .pricing-section {
        padding: 60px 0;
    }

    .pricing-card {
        padding: 24px 30px;
    }

    .pricing-price {
        font-size: 28px;
    }

    .btn-participate {
        padding: 16px 60px;
    }

    .exclusive-offer {
        padding: 60px 0;
    }

    .exclusive-list li {
        font-size: 15px;
    }

    .exclusive-price-value,
    .exclusive-deadline-value {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .pricing-cards {
        flex-direction: column;
    }

    .btn-participate {
        width: 100%;
        padding: 16px 40px;
    }

    .exclusive-pricing {
        flex-direction: column;
    }
}



.partners-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.partners-controls {
    display: flex;
    gap: 12px;
}

.partners-arrow {
    width: 46px;
    height: 46px;
    background: #079EDA;
    border: none;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partners-slider {
    overflow: hidden;
    border-radius: 2px;
}

.partners-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.partner-card {
    flex: 0 0 calc(20% - 16px);
    background: #F4F6FA;
    border-radius: 2px;
    padding: 40px 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 214px;
}

.partner-card img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
}

.partners-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 30px;
}

.partner-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #E0E6ED;
    cursor: pointer;
    transition: all 0.3s ease;
}

.partner-dot.active {
    background: #079EDA;
}


.meet-content {
    display: flex;
    gap: 30px;
    margin-bottom: 16px;
}

.meet-info {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.meet-card {
    background: #F4F6FA;
    border-radius: 2px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.meet-icon {
    width: 60px;
    height: 60px;
    background: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.meet-map {
    flex: 1;
    border-radius: 2px;
    overflow: hidden;
    min-height: 400px;
}

.meet-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.meet-action {
    display: flex;
    justify-content: center;
}

@media (max-width: 1024px) {
    .partner-card {
        flex: 0 0 calc(33.333% - 14px);
    }

    .meet-content {
        flex-direction: column;
    }

    .meet-map {
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .partner-card {
        flex: 0 0 calc(50% - 10px);
    }

    .meet-info {
        grid-template-columns: 1fr;
    }

    .meet-card {
        flex-direction: row;
        align-items: center;
    }

    .meet-icon {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .partner-card {
        flex: 0 0 100%;
    }

    .partners-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
}







.top-tabs {
    display: flex;
    gap: 92px;
    margin: 20px 0;
    padding: 31px 46px;
    background: #fff;
    border-radius: 2px;
}

.top-tab {
    padding-bottom: 15px;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    font-size: 18px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.top-tab.active {
    opacity: 1;
    color: #079EDA;
}

.top-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 50px;
    background: #079EDA;
}

/* Main Card */
.profile-card {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 46px;
    margin-bottom: 20px;
}

.profile-card-content {
    display: flex;
    gap: 40px;
}

.profile-photo-wrapper {
    flex-shrink: 0;
    width: 320px;
}

.profile-photo {
    width: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.info-label {
    font-size: 12px;
    color: #6c8898;
}

.info-value {
    font-size: 16px;
    color: #03283E;
}

.info-value a {
    color: #03283E;
}

.company-name {
    font-size: 16px;
    font-weight: 500;
    color: #03283E;
    margin-top: 10px;
}

.company-description {
    font-size: 15px;
    line-height: 1.6;
    color: #03283E;
    opacity: 0.8;
}

.show-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    line-height: 160%;
    text-decoration: underline;
    color: #079EDA;
    background: none;
    border: none;
    cursor: pointer;
    font-weight: 500;
}

.show-all svg {
    transition: transform 0.3s ease;
}

.show-all.expanded svg {
    transform: rotate(180deg);
}

.checkbox-wrapper-profile {
    display: flex;
    align-items: center;
}

.checkbox-input-profile {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.checkbox-label-profile {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14px;
    color: #03283E;
    cursor: pointer;
    line-height: 1.5;
    user-select: none;
}

.checkbox-custom-profile {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #FFFFFF;
    border: 2px solid #D0D5DD;
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1px;
}

.checkbox-custom-profile::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 18px;
    transform: translate(-50%, -50%) scale(0);
    background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 18 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M5.84888 16.0719C5.59811 16.072 5.34979 16.0226 5.11814 15.9266C4.88648 15.8306 4.67605 15.6898 4.49887 15.5124L0.328125 11.3439L1.91963 9.75313L5.84888 13.6824L16.0781 3.45312L17.6696 5.04388L7.19888 15.5124C7.0217 15.6898 6.81127 15.8306 6.57961 15.9266C6.34796 16.0226 6.09964 16.072 5.84888 16.0719Z' fill='white'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.2s ease;
}

.checkbox-input-profile:checked+.checkbox-label-profile .checkbox-custom-profile {
    background: #079EDA;
    border-color: #079EDA;
}

.checkbox-input-profile:checked+.checkbox-label-profile .checkbox-custom-profile::after {
    transform: translate(-50%, -50%) scale(1);
}

.checkbox-label-profile:hover .checkbox-custom-profile {
    border-color: #079EDA;
}

.checkbox-input-profile:focus-visible+.checkbox-label-profile .checkbox-custom-profile {
    outline: 2px solid rgba(7, 158, 218, 0.3);
    outline-offset: 2px;
}

.checkbox-input-profile:disabled+.checkbox-label-profile {
    opacity: 0.5;
    cursor: not-allowed;
}

.checkbox-input-profile:disabled+.checkbox-label-profile .checkbox-custom-profile {
    cursor: not-allowed;
    background: #E0E6ED;
    border-color: #E0E6ED;
}

/* Bottom Tabs */
.bottom-tabs {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 0 40px;
    margin-bottom: 20px;
}

.bottom-tabs-content {
    margin-bottom: 20px;
}

.bottom-tabs-nav {
    display: flex;
    gap: 92px;
    border-bottom: 1px solid #E0E6ED;
    width: 100%;
}

.bottom-tab {
    padding-bottom: 20px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 500;
    color: #03283E;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}


.bottom-tab.active {
    color: #079EDA;
}

.bottom-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #079EDA;
}

.tab-content {
    display: none;
    padding: 31px 46px;
    background: #fff;
    border-radius: 2px;
}

.tab-content.active {
    display: block;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.tab-content.active#other-content {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.tab-content.active#business-content {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.tab-content.active#about-content {
    display: flex;
    flex-direction: column;
    gap: 26px;
}

@media (max-width: 968px) {
    .profile-card-content {
        flex-direction: column;
    }

    .profile-photo-wrapper {
        width: 100%;
    }

    .profile-photo {
        height: 300px;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .profile-header {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    .top-tabs,
    .bottom-tabs-nav {
        flex-wrap: wrap;
        gap: 20px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .profile-card {
        padding: 24px;
    }
}


.periods {
    display: flex;
    gap: 20px;
    flex-direction: column;
    padding: 27px;
    border-radius: 2px;
    background: #f4f6fa;
}

.period {
    display: flex;
    gap: 18px;
    flex-direction: column;
}

.period-info {
    display: flex;
    gap: 20px;
}

.period-info-card {
    padding: 8px 22px;
    background: #fff;
    width: 100%;
    border-radius: 2px;
}

.period-info-card span {
    font-size: 12px;
    line-height: 150%;
    color: #6c8898;
    opacity: 0.99;
}

.period-info-card p {
    font-size: 16px;
    line-height: 150%;
    color: #03283e;
}


/* Statistics Section - Unique Classes */
.stats-section-wrapper {
    background: #FFFFFF;
    border-radius: 8px;
    padding: 40px;
}

.stats-content-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.stats-cards-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stats-card-item {
    background: #F4F6FA;
    border-radius: 2px;
    padding: 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stats-card-label {
    font-size: 14px;
    color: #03283E;
    opacity: 0.6;
    margin: 0;
    line-height: 1.4;
}

.stats-card-value {
    font-size: 32px;
    font-weight: 600;
    color: #03283E;
    margin: 0;
    font-family: 'Manrope', sans-serif;
}

.stats-table-block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-table-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #03283E;
    margin: 0;
}

.stats-data-table {
    width: 100%;
    border-collapse: collapse;
}

.stats-data-table thead {
    background: #079EDA;
}

.stats-data-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #FFFFFF;
}

.stats-data-table th:nth-child(2),
.stats-data-table th:nth-child(3) {
    width: 120px;
    text-align: center;
}

.stats-data-table tbody tr {
    border-bottom: 1px solid #F4F6FA;
}

.stats-data-table tbody tr:last-child {
    border-bottom: none;
}

.stats-data-table td {
    padding: 20px;
    font-size: 15px;
    color: #03283E;
    line-height: 1.5;
}

.stats-data-table td:nth-child(2),
.stats-data-table td:nth-child(3) {
    text-align: center;
    font-weight: 500;
}

.stats-data-table td:nth-child(3) {
    color: #079EDA;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 968px) {
    .stats-cards-row {
        grid-template-columns: 1fr;
    }

    .stats-data-table {
        font-size: 14px;
    }

    .stats-data-table th,
    .stats-data-table td {
        padding: 12px 16px;
    }
}

@media (max-width: 600px) {
    .stats-section-wrapper {
        padding: 24px;
    }

    .stats-card-value {
        font-size: 28px;
    }

    .stats-data-table thead {
        display: none;
    }

    .stats-data-table tbody tr {
        display: block;
        margin-bottom: 16px;
        border: 1px solid #E0E6ED;
        border-radius: 4px;
        padding: 16px;
    }

    .stats-data-table td {
        display: flex;
        justify-content: space-between;
        padding: 8px 0;
        border-bottom: 1px solid #F4F6FA;
    }

    .stats-data-table td:last-child {
        border-bottom: none;
    }

    .stats-data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: #03283E;
    }
}


/* Invited Section - Sticky First Column */
.invited-section-wrapper {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 40px;
    width: 100%;
    max-width: 886px;
}

.invited-content-block {
    display: flex;
    flex-direction: column;
    gap: 30px;
}


.invited-table-scroll {
    width: 100%;
    overflow-x: auto;
    position: relative;
}

.invited-table-scroll::-webkit-scrollbar {
    height: 3px;
}

.invited-table-scroll::-webkit-scrollbar-track {
    background: #E8F4FD;
    border-radius: 4px;
}

.invited-table-scroll::-webkit-scrollbar-thumb {
    background: #079EDA;
    border-radius: 4px;
}

.invited-table-scroll::-webkit-scrollbar-thumb:hover {
    background: #058BC4;
}

.invited-data-table {
    width: 100%;
    min-width: 1100px;
    border-collapse: collapse;
    table-layout: fixed;
}

.invited-data-table thead {
    background: #079EDA;
    border-radius: 2px;
}

.invited-data-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 18px;
    color: #FFFFFF;
    white-space: nowrap;
    position: relative;
}

.invited-data-table th.col-fio {
    position: sticky;
    left: 0;
    z-index: 2;
    background: #376d9a;
    min-width: 180px;
    width: 180px;
}

.invited-data-table th.col-email {
    min-width: 280px;
    width: 280px;
}

.invited-data-table th.col-phone {
    min-width: 200px;
    width: 200px;
}

.invited-data-table th.col-balls {
    width: 100px;
}

.invited-data-table th.col-breakfasts {
    width: 120px;
}

.invited-data-table th.col-referrals {
    width: 120px;
}

.invited-data-table th.col-action {
    width: 60px;
}

.invited-data-table tbody tr {
    border-bottom: 1px solid #F4F6FA;
    transition: background 0.2s ease;
}

.invited-data-table tbody tr:hover {
    background: #F9FAFB;
}

.invited-data-table tbody tr:last-child {
    border-bottom: none;
}

.invited-data-table td {
    padding: 20px;
    font-size: 18px;
    color: #03283E;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: #FFFFFF;
}

/* Sticky first column cells */
.invited-data-table td.col-fio {
    position: sticky;
    left: 0;
    z-index: 1;
    background: #FFFFFF;
    font-weight: 500;
    min-width: 180px;
    width: 180px;
}

.invited-data-table td.col-phone {
    min-width: 200px;
    width: 200px;
}

.invited-data-table td.col-balls,
.invited-data-table td.col-breakfasts,
.invited-data-table td.col-referrals {
    font-weight: 500;
}

.invited-data-table td.col-action {
    padding: 20px 10px;
    background: #F0F9FF;
}

.invited-data-table tbody tr:hover td.col-action {
    background: #E0F2FE;
}

.edit-icon-btn {
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s ease;
    margin: 0 auto;
}

.edit-icon-btn:hover {
    transform: scale(1.1);
}

.edit-icon-btn svg {
    width: 18px;
    height: 18px;
}

/* Responsive */
@media (max-width: 1200px) {

    .invited-data-table th,
    .invited-data-table td {
        padding: 14px 12px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .invited-section-wrapper {
        padding: 24px;
    }
}

.page-label {
    font-size: 12px;
    color: #7A8A99;
    margin: 0 0 12px 4px;
    letter-spacing: 0.2px;
}

.breakfast-attendance-section {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 31px 46px;
    margin-top: 20px;
}

.attendance-content-block {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Filters */
.attendance-filters {
    display: flex;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 22px;
}

.filter-dates {
    gap: 24px;
    display: flex;
}

.date-field {
    display: flex;
    flex-direction: column;
}

.date-input-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 186px;
    height: 60px;
    border-radius: 2px;
    border: 1px solid #E8ECF1;
    background: #F4F6FA;
    padding: 8px 36px 8px 16px;
    cursor: pointer;
}

.date-input-wrapper:hover {
    border-color: #079EDA;
}

.date-label {
    font-size: 12px;
    line-height: 150%;
    color: #6c8898;
    opacity: 0.99;
}

.date-input {
    border: none;
    background: none;
    padding: 0;
    width: 100%;
    font-size: 16px;
    color: #03283E;
    font-family: inherit;
    cursor: pointer;
}

.calendar-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.date-separator {
    font-size: 16px;
    color: #03283E;
    align-self: center;
}

.filter-buttons {
    display: flex;
    gap: 12px;
}

.btn-apply,
.btn-reset {
    padding: 17px 69px;
    border-radius: 2px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn-apply {
    background: #079EDA;
    border: 1px solid #079EDA;
    color: #FFFFFF;
}

.btn-apply:hover {
    background: #058BC4;
    border-color: #058BC4;
}

.btn-reset {
    background: transparent;
    border: 1px solid #079EDA;
    color: #079EDA;
}

.attendance-table-wrapper {
    overflow-x: auto;
    border-radius: 2px;
    border: 1px solid #EEF2F6;
}

.attendance-table-wrapper::-webkit-scrollbar {
    height: 3px;
}

.attendance-table-wrapper::-webkit-scrollbar-track {
    background: #f4f6fa;
    border-radius: 2px;
}

.attendance-table-wrapper::-webkit-scrollbar-thumb {
    background: #079EDA;
    border-radius: 2px;
    height: 3px;
}

.attendance-data-table {
    width: 100%;
    min-width: 1400px;
    border-collapse: collapse;
}

.full-table .attendance-data-table {
    min-width: 1320px;
}

.attendance-data-table thead tr {
    background: #376D9A;
}

.attendance-data-table th {
    padding: 18px 20px;
    font-size: 18px;
    color: #fff;
    text-align: left;
    font-weight: 500;
}

.attendance-data-table td {
    padding: 20px;
    font-size: 18px;
}

.attendance-data-table th.col-action-header {
    width: 50px;
}

.attendance-data-table tbody tr {
    border-bottom: 1px solid #F0F4F8;
}

.attendance-data-table tbody tr:last-child {
    border-bottom: none;
}


.attendance-data-table td.col-action {
    text-align: center;
    width: 50px;
    background: #E1F3FB;
}

.edit-pencil-btn,
.confirm-btn {
    width: 26px;
    height: 26px;
    background: transparent;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.editing td {
    background: #F5FAFE;
}

.val-select {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #079EDA;
    font-weight: 500;
    cursor: pointer;
}

.val-select svg {
    flex-shrink: 0;
}




.profile-tab-content {
    display: none;
}

.profile-tab-content.active {
    display: flex;
}

/* Цвет иконки в неактивном табе */
.profile-main-info-left-item svg path {
    fill: #03283E;
    transition: fill 0.3s ease;
}

/* Цвет иконки в активном табе */
.profile-main-info-left-item.left-item--active svg path {
    fill: white;
}



.residents-table .table-phone {
    width: 25% !important;
    text-align: start !important;
}

.referals-table td:nth-child(4) {
    width: 25%;
    text-align: start;
}


.resident-profile-nav a.active {
    color: #079EDA;
}

.resident-profile-navigation-content .tab-content {
    display: none;
}

.resident-profile-navigation-content .tab-content.active {
    display: flex;
}

.active-resident-profile-nav {
    position: relative;
}

.active-resident-profile-nav.active::after {
    content: '';
    position: absolute;
    bottom: -18px;
    left: 0;
    right: 0;
    height: 3px;
    border-radius: 50px;
    background: #079EDA;
}



/* ===== Срок резидентства и Выбор реферовода ===== */
.residency-settings {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.residency-settings-card {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.residency-settings-title {
    font-size: 24px;
    font-weight: 600;
    color: #03283E;
    margin: 0;
    font-family: 'manrope-semibold';
}

.residency-settings-field {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.residency-settings-label {
    font-size: 14px;
    line-height: 150%;
    color: #6C8898;
    margin: 0;
}

.residency-settings-input-wrap {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #F8F9FA;
    border-radius: 2px;
    padding: 8px 48px 8px 16px;
    min-height: 60px;
    transition: border-color 0.2s ease;
}


.residency-settings-label {
    font-size: 14px;
    line-height: 150%;
    color: #6C8898;
    margin-bottom: 4px;
}

.residency-settings-input {
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 150%;
    color: #03283E;
    outline: none;
    font-family: 'manrope';
    width: 100%;
}

.residency-settings-clear {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.residency-settings-calendar {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}



.residency-settings-hint {
    font-size: 14px;
    line-height: 150%;
    color: #03283E;
    margin: 0;
}

/* Поиск реферовода */
.residency-settings-search-wrap {
    position: relative;
    display: flex;
    align-items: center;
    background: #F8F9FA;
    border-radius: 2px;
    padding: 16px;
    transition: border-color 0.2s ease;
}

.residency-settings-search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 150%;
    color: #03283E;
    outline: none;
    height: 100%;
}

.residency-settings-search-btn {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 38px;
    height: 38px;
    background: #079EDA;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

@media (max-width: 1024px) {
    .residency-settings {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .residency-settings-card {
        padding: 24px 20px;
    }

    .residency-settings-title {
        font-size: 20px;
    }
}

.breakfast-settings-section-buttons {
    margin-top: 20px;
}

/* ===== Breakfast Settings Section ===== */
.breakfast-settings-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px 46px;
    background: #fff;
    border-radius: 2px;
    margin-top: 20px;
}

.settings-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.settings-field.full-width {
    width: 100%;
}

.settings-row {
    display: flex;
    gap: 20px;
}

.settings-input-wrapper,
.settings-select-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f4f6fa;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
    min-height: 60px;
    transition: border-color 0.2s ease;
}

.settings-label {
    font-size: 14px;
    line-height: 150%;
    color: #6c8898;
    margin-bottom: 4px;
}

.settings-input,
.settings-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 150%;
    color: #03283e;
    font-family: 'manrope';
    outline: none;
}

.settings-input::placeholder {
    color: #6c8898;
    opacity: 0.99;
}

.settings-select-wrapper {
    position: relative;
}

.settings-select {
    padding-right: 30px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.settings-hint {
    font-size: 14px;
    line-height: 160%;
    color: #03283e;
    margin: 8px 0 0 0;
}

@media (max-width: 768px) {
    .breakfast-settings-section {
        padding: 24px 20px;
    }

    .settings-row {
        flex-direction: column;
        gap: 20px;
    }

    .settings-field {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .breakfast-settings-section {
        padding: 20px 16px;
    }

    .settings-input,
    .settings-select {
        font-size: 15px;
    }

    .settings-label {
        font-size: 13px;
    }

    .settings-hint {
        font-size: 13px;
    }
}


.breakfast-attendance-section-pagination {
    padding: 21px;
    background: #fff;
    border-radius: 2px;
}

.breakfasts-control-filters {
    padding: 34px 46px;
    background: #fff;
    border-radius: 2px;
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.filters-title {
    margin-bottom: 4px;
    font-size: 24px;
    line-height: 130%;
}

/* Filter Select */
.filter-breakfasts {
    display: flex;
    align-items: flex-end;
}

.filter-select-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    width: 220px;
    height: 60px;
    border-radius: 2px;
    border: 1px solid #E8ECF1;
    background: #F8F9FA;
    padding: 8px 36px 8px 16px;
    cursor: pointer;
}

.filter-select-wrapper:hover {
    border-color: #079EDA;
}

.filter-select {
    border: none;
    background: none;
    padding: 0;
    width: 100%;
    font-size: 16px;
    color: #03283E;
    font-family: inherit;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.filter-select:focus {
    outline: none;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Filter Checkboxes */
.filter-checkboxes {
    display: flex;
    align-items: center;
    gap: 24px;
    padding-bottom: 2px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.filter-checkbox .checkbox-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.filter-checkbox .checkbox-custom {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #FFFFFF;
    border: 1px solid #DBE2E5;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.filter-checkbox .checkbox-input:checked+.checkbox-custom {
    background: #079EDA;
    border-color: #079EDA;
}

.filter-checkbox .checkbox-custom::after {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg width='14' height='14' viewBox='0 0 14 14' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11.6667 3.5L5.25 9.91667L2.33333 7' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.filter-checkbox .checkbox-input:checked+.checkbox-custom::after {
    opacity: 1;
}

.filter-checkbox .checkbox-label {
    font-size: 15px;
    color: #03283E;
    opacity: 0.8;
}

.filter-checkbox:hover .checkbox-custom {
    border-color: #079EDA;
}

.breakfasts-control-filters-content {
    display: flex;
    gap: 36px;
}

.settings-select-wrapper-breakfasts {
    max-height: 60px;
    min-width: 248px;
}



.profile-update-buttons .profile-update-button-delete {
    border: 1px solid #fc3234;
    color: #fc3234;
    padding: 13px 28px;
}

.add-new-user {
    padding: 13px 33px;
    border-radius: 2px;
    border: none;
    background: #f4f6fa;
    font-weight: 600;
    font-size: 18px;
}


/* ===== Форма редактирования завтрака ===== */
.breakfast-settings-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 32px 46px;
    background: #fff;
    border-radius: 2px;
    margin-top: 20px;
}

.breakfast-settings-form-row {
    display: flex;
    gap: 20px;
}

.breakfast-settings-form-row-full {
    width: 100%;
}

.breakfast-settings-form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.breakfast-settings-form-input-wrapper,
.breakfast-settings-form-select-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #f4f6fa;
    border: 1px solid transparent;
    border-radius: 2px;
    padding: 8px 16px 8px 16px;
    min-height: 60px;
    transition: border-color 0.2s ease;
}


.breakfast-settings-form-label {
    font-size: 14px;
    line-height: 150%;
    color: #6c8898;
    margin-bottom: 4px;
}

.breakfast-settings-form-input,
.breakfast-settings-form-select {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 150%;
    color: #03283e;
    font-family: 'manrope';
    outline: none;
}

.breakfast-settings-form-clear {
    position: absolute;
    right: 36px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.breakfast-settings-form-calendar {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.6;
}

.breakfast-settings-form-select-wrapper {
    position: relative;
}

.breakfast-settings-form-select {
    padding-right: 30px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.breakfast-settings-form-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.breakfast-settings-form-hint {
    font-size: 14px;
    line-height: 160%;
    margin: 8px 0 0 0;
}

@media (max-width: 768px) {
    .breakfast-settings-form {
        padding: 24px 20px;
    }

    .breakfast-settings-form-row {
        flex-direction: column;
        gap: 20px;
    }

    .breakfast-settings-form-field {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .breakfast-settings-form {
        padding: 20px 16px;
    }

    .breakfast-settings-form-input,
    .breakfast-settings-form-select {
        font-size: 15px;
    }

    .breakfast-settings-form-label {
        font-size: 13px;
    }

    .breakfast-settings-form-hint {
        font-size: 13px;
    }
}


.breakfasts-table th,
.breakfasts-table td {
    width: 0 !important;
}

.breakfast-card-info {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.breakfast-card-info-card {
    display: flex;
    flex-direction: column;
    padding: 25px;
    border-radius: 2px;
    background: #fff;
    max-width: 226px;
    width: 100%;
}

.tab-content-breakfast {
    padding: 0;
    background: none;
}

.tab-content-table {
    padding: 31px 46px;
    background: #fff;
    border-radius: 2px;
}

.breakfast-card-info-card span {
    font-size: 12px;
    line-height: 150%;
    color: #6c8898;
    opacity: 0.99;
}

.breakfast-card-info-card-place {
    max-width: 563px;
    width: 100%;
}

.tab-content-nav {
    display: none;
}

.tab-content-nav.active {
    display: block;
}

.profile-main-info-left-item {
    cursor: pointer;
    transition: background 0.2s ease;
}

.profile-main-info-left-item a {
    pointer-events: none;
}

.invited-data-table th.col-transaction {
    width: 204px;
}

.invited-data-table th.col-resident {
    width: 254px;
}

.invited-data-table th.col-fio-breakfast {
    background: #079EDA;
}

.invited-data-table th.col-rol {
    width: 215px;
}

.update-invite-breakfast {
    margin-bottom: 20px;
}

.update-invite-breakfast-buttons .profile-update-button-delete {
    padding: 13px 62px;
}


/* ===== Гость форма - секция ===== */
.guest-form-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-field-with-hint {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field-label {
    font-size: 18px;
    line-height: 150%;
    color: #03283E;
    font-weight: 500;
}

.radio-group {
    display: flex;
    gap: 24px;
    align-items: center;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.radio-label input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.radio-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    position: relative;
    border-radius: 100%;
    border: 1px solid #079eda;
}

.radio-custom svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: opacity 0.2s ease;
}

/* Неактивная иконка (пустой круг с обводкой) - видна по умолчанию */
.radio-custom svg:first-child {
    opacity: 1;
}

/* Активная иконка (полный круг) - скрыта по умолчанию */
.radio-custom svg:last-child {
    opacity: 0;
}

/* Когда radio активен - меняем видимость иконок */
.radio-label input[type="radio"]:checked+.radio-custom svg:first-child {
    opacity: 0;
}

.radio-label input[type="radio"]:checked+.radio-custom svg:last-child {
    opacity: 1;
}

/* Hover эффект */
.radio-label:hover .radio-custom svg {
    opacity: 0.7;
}

.radio-label input[type="radio"]:checked+.radio-custom svg {
    opacity: 1;
}

.radio-text {
    font-size: 16px;
    line-height: 150%;
    color: #03283E;
}

.form-hint {
    font-size: 14px;
    line-height: 150%;
    color: #03283E;
    margin: 4px 0 0 0;
}

.search-user-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #F4F6FA;
    border-radius: 2px;
    padding: 6px 6px 6px 16px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.search-user-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 150%;
    color: #03283E;
    outline: none;
    font-family: inherit;
}

.search-user-delete {
    background: none;
    border: none;
    font-size: 14px;
    color: #03283E;
    opacity: 0.6;
    cursor: pointer;
    transition: opacity 0.2s ease;
    font-family: inherit;
}

.search-user-btn {
    width: 36px;
    height: 36px;
    background: #079EDA;
    border: none;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}


.breakfast-status-row {
    display: flex;
    gap: 20px;
    align-items: center;
    padding: 24px 30px;
    background: #fff;
    margin-bottom: 20px;
}

.breakfast-date-display {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.breakfast-date-label {
    font-size: 14px;
    line-height: 150%;
    color: #6C8898;
}

.breakfast-status-note {
    font-size: 14px;
    line-height: 160%;
    margin: 0;
    max-width: 713px;
}


.breakfast-date-value {
    font-size: 16px;
    line-height: 150%;
    color: #079EDA;
    text-decoration: underline;
    text-decoration-skip-ink: none;
    cursor: pointer;
}

.breakfast-date-value:hover {
    color: #058BC4;
}

.breakfast-status-select-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #F4F6FA;
    border-radius: 2px;
    padding: 8px 36px 8px 16px;
    min-width: 280px;
    min-height: 60px;
    border: 1px solid transparent;
    transition: border-color 0.2s ease;
}

.breakfast-status-select-wrapper:hover {
    border-color: #079EDA;
}

.breakfast-status-label {
    font-size: 14px;
    line-height: 150%;
    color: #6C8898;
    margin-bottom: 4px;
}

.breakfast-status-select {
    border: none;
    background: transparent;
    font-size: 16px;
    line-height: 150%;
    color: #03283E;
    outline: none;
    cursor: pointer;
    width: 100%;
    font-family: inherit;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.select-arrow {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

@media (max-width: 768px) {
    .breakfast-status-row {
        flex-direction: column;
        gap: 20px;
    }

    .breakfast-status-select-wrapper {
        width: 100%;
        min-width: 100%;
    }
}

.search-user-wrapper textarea {
    width: 100%;
}

.choose-user-for-breakfast {
    background: #fff;
    border-radius: 2px;
    padding: 23px 36px 23px 42px;
    margin-bottom: 20px;
}


.breakfasts-table-section {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 36px 20px;
    margin-top: 20px;
}

.breakfasts-table-wrapper {
    overflow-x: auto;
}

.breakfasts-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 900px;
}

.breakfasts-table thead {
    background: #079EDA;
}

.breakfasts-table th {
    padding: 18px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #FFFFFF;
    white-space: nowrap;
}

.breakfasts-table th:first-child {
    padding-left: 30px;
}

.breakfasts-table tbody tr {
    border-bottom: 1px solid #F4F6FA;
}

.breakfasts-table tbody tr:last-child {
    border-bottom: none;
}

.breakfasts-table td {
    padding: 20px;
    font-size: 18px;
}

.breakfasts-table td:first-child {
    padding-left: 30px;
}

.breakfasts-table td a {
    color: #079EDA;
    text-decoration: underline;
    cursor: pointer;
}

.breakfasts-table td.dash {
    color: #6C8898;
    opacity: 0.6;
}

.breakfasts-table-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 30px;
    background: #F4F6FA;
    margin-top: 20px;
    border-radius: 2px;
}


.breakfasts-table-note p {
    font-size: 18px;
    line-height: 150%;
    margin: 0;
    padding-left: 18px;
    border-left: 3px solid #079EDA;
}

@media (max-width: 768px) {

    .breakfasts-table th,
    .breakfasts-table td {
        padding: 14px 16px;
        font-size: 14px;
    }

    .breakfasts-table th:first-child,
    .breakfasts-table td:first-child {
        padding-left: 16px;
    }

    .breakfasts-table-note {
        padding: 14px 16px;
    }

    .breakfasts-table-note p {
        font-size: 13px;
    }
}

@media (max-width: 480px) {

    .breakfasts-table th,
    .breakfasts-table td {
        padding: 12px 14px;
        font-size: 13px;
    }

    .breakfasts-table-note {
        flex-direction: column;
        gap: 8px;
    }

    .breakfasts-table-note-icon {
        height: 24px;
    }
}

.breakfast-card-info-for-resident .breakfast-card-info-card {
    max-width: 348px;
    width: 100%;
}

.breakfast-card-info-for-resident .breakfast-card-info-card-place {
    max-width: 563px;
    width: 100%;
}

.invited-data-table-for-residents {
    min-width: 0;
}

.statistic-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #f4f6fa;
    border-radius: 2px;
    padding: 22px;
    margin-bottom: 20px;
}

.statistic-item-title {
    font-weight: 500;
    font-size: 18px;
    margin: 0;
}

.statistic-item-result {
    color: #079eda;
    font-weight: 600;
    font-size: 18px;
    padding: 17px;
    background: #fff;
    border-radius: 2px;
    margin: 0;
    max-width: 441px;
    width: 100%;
    line-height: 130%;
}


.statistics-table-section {
    padding: 31px 46px;
}

.statistics-table th,
.statistics-table td {
    width: auto !important;
}

.statistics-table-note {
    padding: 11px 46px 31px 46px;
    background: #fff;
    border-radius: 2px;
    margin-top: 20px;
}

.statistics-note {
    padding: 31px 46px;
    background: #fff;
    border-radius: 2px;
}

.statistics-note .statistic-item {
    margin-bottom: 0;
}

.statistics-note .statistic-item-result {
    max-width: 614px;
    width: 100%;
}

.statistics-activity-title {
    font-weight: 500;
    font-size: 24px;
}

.statistics-settings-form .breakfast-settings-form-label {
    font-size: 12px;
}

.statistics-liders-filters {
    padding: 39px 46px;
    background: #fff;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.statistics-liders-filters-title {
    font-size: 24px;
    line-height: 130%;
    color: #03283e;
}

.statistics-tab-content-table {
    margin-top: 20px;
    gap: 32px;
    display: flex;
    flex-direction: column;
}

.statistics-tab-content-table-text {
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #6c8898;
}

/* АДАПТИВ ЛИЧНОГО КАБИНЕТА */

@media (max-width: 1400px) {
    .profile-main-info-left nav .profile-main-info-left-item {
        width: 100%;
        max-width: 346px;
    }

    .profile-person-info-item-input {
        min-width: 0;
    }

    .profile-person-info-update .profile-person-info-item .profile-person-info-item-input {
        min-width: 0;
    }
}

@media (max-width: 1200px) {
    .profile-main-info {
        gap: 16px;
    }

    .profile-main-info-left {
        padding: 32px 20px 40px 16px;
    }

    .profile-main-info-right {
        padding: 32px 28px 40px 28px;
        gap: 24px;
    }

    .profile-main-header {
        padding: 20px 28px;
    }

    .top-tabs {
        padding: 24px 32px;
        gap: 60px;
    }

    .bottom-tabs-nav {
        gap: 60px;
    }

    .resident-profile-nav nav {
        gap: 60px;
    }

    .profile-card {
        padding: 32px;
    }

    .profile-card-content {
        gap: 30px;
    }

    .profile-photo-wrapper {
        width: 280px;
    }

    .info-grid {
        gap: 16px;
    }

    .resident-profile-card {
        padding: 32px;
        gap: 28px;
    }

    .resident-profile-card img {
        min-width: 260px;
    }

    .profile-main-info-right-socials-resident,
    .resident-profile-nav {
        padding: 24px 32px;
    }

    .residents-profile-content-cards {
        padding: 28px 32px 50px 32px;
    }

    .breakfast-settings-section,
    .breakfast-settings-form {
        padding: 28px 32px;
    }

    .breakfast-attendance-section {
        padding: 28px 32px;
    }

    .breakfasts-control-filters {
        padding: 28px 32px;
    }

    .invited-section-wrapper {
        padding: 32px;
    }

    .choose-user-for-breakfast {
        padding: 20px 28px;
    }
}

/* 1024px - планшет */
@media (max-width: 1024px) {
    .profile-main-info {
        flex-direction: column;
        gap: 16px;
    }

    .profile-main-info-left {
        padding: 24px;
    }

    .profile-main-info-left nav .profile-main-info-left-item {
        max-width: 100%;
        width: 100%;
    }

    .profile-main-info-right {
        padding: 28px 24px 32px 24px;
    }

    .profile-main-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 24px;
    }

    .profile-main-header-button {
        width: 100%;
        justify-content: flex-start;
    }

    .top-tabs {
        padding: 20px 24px;
        gap: 40px;
    }

    .bottom-tabs-nav {
        gap: 40px;
    }

    .bottom-tabs {
        padding: 0 24px;
    }


    .resident-profile-nav nav {
        gap: 40px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .resident-profile-card {
        flex-direction: column;
        padding: 28px;
        gap: 24px;
    }

    .resident-profile-card img {
        min-width: 100%;
        max-width: 400px;
        width: 100%;
    }

    .profile-card-content {
        flex-direction: column;
        gap: 24px;
    }

    .profile-photo-wrapper {
        width: 100%;
        max-width: 400px;
    }

    .profile-photo {
        height: auto;
    }

    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .profile-update-photo {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .profile-person-info-update {
        flex-direction: column;
        gap: 16px;
    }

    .form-change-password-items {
        flex-direction: column;
        gap: 12px;
    }

    .profile-update-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 20px 24px;
    }

    .profile-update-buttons button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .resident-profile-info-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .residents-profile-info-items {
        flex-wrap: wrap;
        gap: 10px;
    }

    .residents-profile-info-item {
        min-width: 160px;
    }

    .residents-profile-info-item-email {
        margin-left: 0;
    }

    .profile-main-info-right-about {
        flex-direction: column;
        gap: 24px;
    }

    .breakfast-card-info {
        flex-direction: column;
        gap: 12px;
    }

    .breakfast-card-info-card,
    .breakfast-card-info-card-place {
        max-width: 100%;
        width: 100%;
    }

    .breakfast-card-info-for-resident .breakfast-card-info-card,
    .breakfast-card-info-for-resident .breakfast-card-info-card-place {
        max-width: 100%;
    }
}

/* 900px - средний планшет */
@media (max-width: 900px) {
    .top-tabs {
        gap: 32px;
        padding: 18px 20px;
    }

    .bottom-tabs-nav {
        gap: 32px;
    }

    .top-tab,
    .bottom-tab {
        font-size: 16px;
    }

    .resident-profile-nav nav {
        gap: 28px;
    }

    .resident-profile-nav nav a {
        font-size: 16px;
    }

    .profile-main-info-left nav .profile-main-info-left-item {
        height: 44px;
        padding-left: 16px;
    }

    .profile-main-info-left nav .profile-main-info-left-item a {
        font-size: 16px;
    }

    .profile-main-info-right-title {
        font-size: 22px;
    }

    .residency-settings {
        grid-template-columns: 1fr;
    }

    .settings-row {
        flex-direction: column;
        gap: 16px;
    }

    .breakfast-settings-form-row {
        flex-direction: column;
        gap: 16px;
    }

    .breakfast-status-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 20px 24px;
    }

    .breakfast-status-select-wrapper {
        width: 100%;
        min-width: 100%;
    }

    .attendance-filters {
        gap: 16px;
    }

    .filter-dates {
        flex-wrap: wrap;
        gap: 12px;
    }

    .filter-buttons {
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn-apply,
    .btn-reset {
        padding: 14px 40px;
        font-size: 16px;
    }
}

/* 768px - малый планшет */
@media (max-width: 768px) {
    .profile-main-content {
        gap: 16px;
    }

    .profile-main-header {
        padding: 18px 20px;
    }

    .profile-main-info-left {
        padding: 20px;
    }

    .profile-main-info-right {
        padding: 24px 20px 28px 20px;
        gap: 20px;
    }

    .profile-main-info-right-title {
        font-size: 20px;
    }

    .profile-person-info {
        gap: 24px;
    }

    .profile-person-info-item {
        gap: 12px;
    }

    .profile-person-info-item-input {
        padding: 6px 18px;
    }

    .profile-person-info-item-input label {
        font-size: 11px;
    }

    .profile-person-info-item-input input,
    .profile-person-info-item-input textarea {
        font-size: 15px;
    }

    .top-tabs {
        gap: 24px;
        padding: 16px 20px;
        margin: 16px 0;
    }

    .bottom-tabs {
        padding: 0 20px;
        margin-bottom: 16px;
    }

    .bottom-tabs-nav {
        gap: 24px;
    }

    .top-tab,
    .bottom-tab {
        font-size: 15px;
        padding-bottom: 12px;
    }

    .profile-card {
        padding: 24px;
        margin-bottom: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .resident-profile-card {
        padding: 24px;
    }

    .resident-profile-info {
        gap: 18px;
    }


    .resident-profile-info-title a {
        font-size: 14px;
    }

    .residents-profile-info-item {
        min-width: 140px;
    }

    .profile-main-info-right-socials-resident,
    .resident-profile-nav {
        padding: 20px 24px;
    }

    .resident-profile-nav nav {
        gap: 20px;
        padding-bottom: 14px;
    }

    .resident-profile-nav nav a {
        font-size: 15px;
    }

    .residents-profile-content-cards {
        padding: 24px 20px 40px 20px;
        gap: 20px;
    }

    .residents-profile-content-card-title p {
        font-size: 16px;
    }

    .residents-profile-content-card p {
        font-size: 15px;
    }

    .breakfast-settings-section,
    .breakfast-settings-form {
        padding: 24px 20px;
    }

    .breakfast-attendance-section {
        padding: 24px 20px;
    }

    .breakfasts-control-filters {
        padding: 24px 20px;
    }

    .invited-section-wrapper {
        padding: 24px 20px;
    }

    .choose-user-for-breakfast {
        padding: 18px 20px;
    }

    .date-input-wrapper {
        width: 160px;
    }

    .filter-select-wrapper {
        width: 100%;
        min-width: 100%;
    }

    .filter-checkboxes {
        flex-wrap: wrap;
        gap: 16px;
    }

    .breakfasts-table-section {
        padding: 24px 16px;
    }

    .breakfasts-table-note {
        padding: 14px 16px;
    }

    .breakfasts-table-note p {
        font-size: 14px;
        padding-left: 14px;
    }

    .search-block {
        max-width: 100%;
    }

    .search-block-users {
        max-width: 100%;
    }
}

/* 600px - большой мобильный */
@media (max-width: 600px) {
    .profile-main-header {
        padding: 16px 18px;
    }

    .profile-main-header-button a {
        font-size: 16px;
    }

    .profile-main-info-left {
        padding: 16px;
    }

    .profile-main-info-left nav .profile-main-info-left-item {
        height: 42px;
        padding-left: 14px;
        gap: 10px;
    }

    .profile-main-info-left nav .profile-main-info-left-item a {
        font-size: 15px;
    }

    .profile-main-info-right {
        padding: 20px 16px 24px 16px;
        gap: 18px;
    }

    .profile-main-info-right-title {
        font-size: 18px;
    }

    .profile-person-info {
        gap: 20px;
    }

    .profile-person-info-item-input {
        padding: 6px 16px;
    }

    .profile-person-info-item-input input,
    .profile-person-info-item-input textarea {
        font-size: 14px;
    }

    .top-tabs {
        gap: 16px;
        padding: 14px 16px;
        flex-wrap: wrap;
    }

    .bottom-tabs {
        padding: 0 16px;
    }

    .bottom-tabs-nav {
        gap: 16px;
        flex-wrap: wrap;
    }

    .top-tab,
    .bottom-tab {
        font-size: 14px;
        padding-bottom: 10px;
    }

    .profile-card {
        padding: 20px 16px;
    }

    .profile-card-content {
        gap: 20px;
    }

    .resident-profile-card {
        padding: 20px 16px;
        gap: 20px;
    }

    .residents-profile-info-item {
        min-width: 120px;
    }

    .profile-main-info-right-socials-resident,
    .resident-profile-nav {
        padding: 16px 18px;
    }

    .resident-profile-nav nav {
        gap: 14px;
        padding-bottom: 12px;
    }

    .resident-profile-nav nav a {
        font-size: 14px;
    }

    .residents-profile-content-cards {
        padding: 20px 16px 32px 16px;
        gap: 18px;
    }

    .residents-profile-content-card-title {
        gap: 14px;
    }

    .residents-profile-content-card-title span {
        width: 40px;
        height: 40px;
    }

    .residents-profile-content-card-title p {
        font-size: 15px;
    }

    .residents-profile-content-card p {
        font-size: 14px;
    }

    .breakfast-settings-section,
    .breakfast-settings-form {
        padding: 20px 16px;
        gap: 18px;
    }

    .breakfast-attendance-section {
        padding: 20px 16px;
    }

    .breakfasts-control-filters {
        padding: 20px 16px;
    }

    .invited-section-wrapper {
        padding: 20px 16px;
    }

    .choose-user-for-breakfast {
        padding: 16px;
    }

    .date-input-wrapper {
        width: 100%;
    }

    .filter-dates {
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    .date-separator {
        align-self: center;
    }

    .btn-apply,
    .btn-reset {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
        text-align: center;
    }

    .filter-checkboxes {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .profile-update-buttons {
        padding: 16px;
    }

    .profile-update-buttons button {
        padding: 14px 20px;
        font-size: 15px;
    }

    .profile-update-buttons .profile-update-button-save {
        padding: 14px 20px;
    }

    .form-cahnge-password-item {
        padding: 6px 16px;
        height: auto;
        min-height: 52px;
    }

    .residency-settings-card {
        padding: 24px 20px;
    }

    .residency-settings-title {
        font-size: 20px;
    }

    .search-user-wrapper {
        padding: 4px 4px 4px 14px;
    }

    .search-user-input {
        font-size: 15px;
    }

    .search-user-btn {
        width: 32px;
        height: 32px;
    }

    .search-user-delete {
        font-size: 13px;
    }

    .form-field-label {
        font-size: 16px;
    }

    .radio-text {
        font-size: 15px;
    }

    .form-hint {
        font-size: 13px;
    }

    .breakfast-status-row {
        padding: 18px 16px;
    }

    .breakfast-status-label {
        font-size: 13px;
    }

    .breakfast-status-select {
        font-size: 15px;
    }

    .breakfast-status-note {
        font-size: 13px;
    }

    .breakfast-date-value {
        font-size: 15px;
    }

    .settings-input,
    .settings-select,
    .breakfast-settings-form-input,
    .breakfast-settings-form-select {
        font-size: 15px;
    }

    .settings-label,
    .breakfast-settings-form-label {
        font-size: 13px;
    }

    .settings-hint,
    .breakfast-settings-form-hint {
        font-size: 13px;
    }

    .settings-input-wrapper,
    .settings-select-wrapper,
    .breakfast-settings-form-input-wrapper,
    .breakfast-settings-form-select-wrapper {
        padding: 6px 14px;
        min-height: 52px;
    }

    .add-new-user {
        padding: 12px 20px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    .profile-update-button-delete {
        padding: 12px 20px !important;
        font-size: 15px;
    }
}

/* 480px - мобильный */
@media (max-width: 480px) {
    .profile-main-header {
        padding: 14px 16px;
    }

    .profile-main-header h1 {
        font-size: 34px;
    }

    .profile-main-header-button a {
        font-size: 15px;
    }

    .profile-main-info-left {
        padding: 14px;
    }

    .profile-main-info-left nav .profile-main-info-left-item {
        height: 40px;
        padding-left: 12px;
        gap: 8px;
    }

    .profile-main-info-left nav .profile-main-info-left-item a {
        font-size: 14px;
    }

    .profile-main-info-right {
        padding: 18px 14px 22px 14px;
        gap: 16px;
    }

    .profile-main-info-right-title {
        font-size: 17px;
    }

    .profile-person-info {
        gap: 16px;
    }

    .profile-person-info-item-input {
        padding: 6px 14px;
    }

    .top-tabs {
        gap: 12px;
        padding: 12px 14px;
    }

    .bottom-tabs-nav {
        gap: 12px;
    }

    .top-tab,
    .bottom-tab {
        font-size: 13px;
        padding-bottom: 8px;
    }

    .profile-card {
        padding: 18px 14px;
    }

    .resident-profile-card {
        padding: 18px 14px;
    }

    .residents-profile-info-item {
        min-width: 100%;
    }

    .profile-main-info-right-socials-resident,
    .resident-profile-nav {
        padding: 14px 16px;
    }

    .resident-profile-nav nav {
        gap: 10px;
        flex-direction: column;
        align-items: center;
    }

    .resident-profile-nav nav a {
        font-size: 14px;
    }

    .residents-profile-content-cards {
        padding: 18px 14px 28px 14px;
    }

    .residents-profile-content-card-title p {
        font-size: 14px;
    }

    .residents-profile-content-card-title span {
        width: 36px;
        height: 36px;
    }

    .residents-profile-content-card p {
        font-size: 13px;
    }

    .breakfast-settings-section,
    .breakfast-settings-form {
        padding: 18px 14px;
    }

    .breakfast-attendance-section {
        padding: 18px 14px;
    }

    .breakfasts-control-filters {
        padding: 18px 14px;
    }

    .invited-section-wrapper {
        padding: 18px 14px;
    }

    .choose-user-for-breakfast {
        padding: 14px;
    }

    .breakfasts-table-section {
        padding: 18px 12px;
    }

    .breakfasts-table-note {
        padding: 12px 14px;
    }

    .breakfasts-table-note p {
        font-size: 13px;
        padding-left: 12px;
    }

    .breakfasts-table th,
    .breakfasts-table td {
        padding: 12px 14px;
        font-size: 14px;
    }

    .breakfasts-table th:first-child,
    .breakfasts-table td:first-child {
        padding-left: 14px;
    }

    .profile-update-buttons {
        padding: 14px;
        gap: 10px;
    }

    .profile-update-buttons button {
        padding: 12px 16px;
        font-size: 14px;
    }

    .profile-update-buttons .profile-update-button-save {
        padding: 12px 16px;
    }

    .form-cahnge-password-item {
        padding: 6px 14px;
    }

    .residency-settings-card {
        padding: 20px 16px;
        gap: 18px;
    }

    .residency-settings-title {
        font-size: 18px;
    }

    .residency-settings-label {
        font-size: 13px;
    }

    .residency-settings-input {
        font-size: 15px;
    }

    .residency-settings-hint {
        font-size: 13px;
    }

    .residency-settings-input-wrap,
    .residency-settings-search-wrap {
        padding: 6px 14px;
    }

    .residency-settings-search-btn {
        width: 34px;
        height: 34px;
    }

    .search-user-wrapper {
        padding: 4px 4px 4px 12px;
        gap: 8px;
    }

    .search-user-input {
        font-size: 14px;
    }

    .search-user-btn {
        width: 30px;
        height: 30px;
    }

    .search-user-delete {
        font-size: 12px;
    }

    .form-field-label {
        font-size: 15px;
    }

    .radio-group {
        gap: 16px;
        flex-wrap: wrap;
    }

    .radio-text {
        font-size: 14px;
    }

    .radio-custom {
        width: 22px;
        height: 22px;
    }

    .form-hint {
        font-size: 12px;
    }

    .breakfast-status-row {
        padding: 16px 14px;
        gap: 14px;
    }

    .breakfast-status-select-wrapper {
        padding: 6px 32px 6px 14px;
        min-height: 52px;
    }

    .breakfast-status-label {
        font-size: 12px;
    }

    .breakfast-status-select {
        font-size: 14px;
    }

    .breakfast-status-note {
        font-size: 12px;
    }

    .breakfast-date-label {
        font-size: 12px;
    }

    .breakfast-date-value {
        font-size: 14px;
    }

    .settings-input,
    .settings-select,
    .breakfast-settings-form-input,
    .breakfast-settings-form-select {
        font-size: 14px;
    }

    .settings-label,
    .breakfast-settings-form-label {
        font-size: 12px;
    }

    .settings-hint,
    .breakfast-settings-form-hint {
        font-size: 12px;
    }

    .settings-input-wrapper,
    .settings-select-wrapper,
    .breakfast-settings-form-input-wrapper,
    .breakfast-settings-form-select-wrapper {
        padding: 6px 12px;
        min-height: 48px;
    }

    .add-new-user {
        padding: 10px 16px;
        font-size: 14px;
    }

    .profile-update-button-delete {
        padding: 10px 16px !important;
        font-size: 14px;
    }

    .btn-primary {
        padding: 14px 40px;
        font-size: 15px;
        width: 100%;
        text-align: center;
    }

    .btn-participate {
        padding: 14px 40px;
        width: 100%;
    }

    .statistic-item-title {
        font-size: 20px;
    }
}

/* 340px - очень маленький экран */
@media (max-width: 340px) {
    .profile-main-header {
        padding: 12px 14px;
    }



    .profile-main-info-left {
        padding: 12px;
    }

    .profile-main-info-right {
        padding: 16px 12px 20px 12px;
    }

    .top-tabs {
        gap: 10px;
        padding: 10px 12px;
    }

    .bottom-tabs {
        padding: 0 12px;
    }

    .bottom-tabs-nav {
        gap: 10px;
    }

    .top-tab,
    .bottom-tab {
        font-size: 12px;
    }

    .tab-content {
        padding: 14px 12px;
    }

    .profile-card {
        padding: 16px 12px;
    }

    .resident-profile-card {
        padding: 16px 12px;
    }


    .breakfast-settings-section,
    .breakfast-settings-form {
        padding: 16px 12px;
    }

    .breakfast-attendance-section {
        padding: 16px 12px;
    }

    .breakfasts-control-filters {
        padding: 16px 12px;
    }

    .invited-section-wrapper {
        padding: 16px 12px;
    }

    .choose-user-for-breakfast {
        padding: 12px;
    }

    .profile-update-buttons {
        padding: 12px;
    }

    .profile-update-buttons button {
        padding: 10px 14px;
        font-size: 13px;
    }

    .residency-settings-card {
        padding: 18px 14px;
    }

    .residency-settings-title {
        font-size: 17px;
    }

    .breakfast-status-row {
        padding: 14px 12px;
    }
}


/* ===== АДАПТИВ ДЛЯ ФИЛЬТРОВ И ПАГИНАЦИИ ===== */

/* 1400px - мелкие корректировки */
@media (max-width: 1400px) {
    .breakfasts-control-filters {
        padding: 30px 40px;
    }

    .breakfasts-control-filters-content {
        gap: 32px;
    }

    .filter-dates {
        gap: 20px;
    }

    .admin-pagination {
        padding: 28px 24px 28px;
    }
}

/* 1200px - начало адаптации */
@media (max-width: 1200px) {
    .breakfasts-control-filters {
        padding: 28px 32px;
    }

    .breakfasts-control-filters-content {
        gap: 28px;
        flex-wrap: wrap;
    }

    .filter-dates {
        gap: 18px;
    }

    .date-input-wrapper {
        width: 170px;
    }

    .filter-select-wrapper {
        width: 200px;
    }

    .filter-checkboxes {
        gap: 20px;
    }

    .admin-pagination {
        padding: 26px 20px 26px;
    }

    .admin-pagination-number {
        min-width: 34px;
        height: 34px;
        font-size: 14px;
    }

    .admin-pagination-arrow {
        width: 34px;
        height: 34px;
    }
}

/* 1024px - планшет */
@media (max-width: 1024px) {
    .breakfasts-control-filters {
        padding: 24px 28px;
    }

    .filters-title {
        font-size: 22px;
    }

    .breakfasts-control-filters-content {
        gap: 24px;
        flex-direction: column;
        align-items: flex-start;
    }

    .filter-dates {
        width: 100%;
        flex-wrap: wrap;
        gap: 16px;
    }

    .date-input-wrapper {
        width: 180px;
    }

    .filter-breakfasts {
        width: 100%;
    }

    .settings-select-wrapper-breakfasts {
        width: 100%;
        min-width: 100%;
    }

    .filter-checkboxes {
        width: 100%;
        flex-wrap: wrap;
        gap: 16px;
    }

    .admin-pagination {
        padding: 24px 18px 24px;
    }

    .admin-pagination-number {
        min-width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .admin-pagination-arrow {
        width: 32px;
        height: 32px;
    }

    .admin-pagination-arrow svg {
        width: 20px;
        height: 20px;
    }

    .admin-pagination-info {
        font-size: 14px;
    }
}

/* 900px - средний планшет */
@media (max-width: 900px) {
    .breakfasts-control-filters {
        padding: 20px 24px;
    }

    .filters-title {
        font-size: 20px;
        margin-bottom: 16px;
    }

    .filter-dates {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .date-field {
        width: 100%;
    }

    .date-input-wrapper {
        width: 100%;
    }

    .date-separator {
        display: none;
    }

    .filter-checkboxes {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    /* Исправленная пагинация для планшета */
    .admin-pagination {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        /* Центрируем всё */
        padding: 22px 16px 22px;
    }

    .admin-pagination-controls {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        /* Позволяет кнопкам переноситься */
        gap: 8px;
    }

    .admin-pagination-numbers {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
    }

    .admin-pagination-info {
        width: 100%;
        text-align: center;
        font-size: 13px;
    }
}

/* 768px - малый планшет */
@media (max-width: 768px) {
    .breakfasts-control-filters {
        padding: 18px 20px;
    }

    .filters-title {
        font-size: 18px;
    }

    .date-input-wrapper {
        padding: 6px 32px 6px 14px;
        height: 52px;
    }

    .date-label {
        font-size: 11px;
    }

    .date-input {
        font-size: 15px;
    }

    .calendar-icon {
        right: 12px;
    }

    .calendar-icon svg {
        width: 16px;
        height: 16px;
    }

    .settings-select-wrapper-breakfasts {
        padding: 6px 32px 6px 14px;
        min-height: 52px;
    }

    .settings-label {
        font-size: 13px;
    }

    .settings-select {
        font-size: 15px;
    }

    .select-arrow {
        right: 14px;
    }

    .select-arrow svg {
        width: 14px;
        height: 14px;
    }

    .filter-checkbox-label {
        font-size: 14px;
    }

    .filter-checkbox .checkbox-custom {
        width: 24px;
        height: 24px;
    }

    /* Пагинация на малом планшете */
    .admin-pagination {
        padding: 20px 14px 20px;
    }

    .admin-pagination-controls {
        gap: 6px;
    }

    .admin-pagination-numbers {
        gap: 4px;
    }

    .admin-pagination-number {
        min-width: 32px;
        /* Не даём сжиматься */
        height: 32px;
        font-size: 13px;
        padding: 0 4px;
        flex-shrink: 0;
    }

    .admin-pagination-arrow {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }

    .admin-pagination-arrow svg {
        width: 18px;
        height: 18px;
    }

    .admin-pagination-dots {
        font-size: 13px;
        padding: 0 4px;
    }

    .admin-pagination-info {
        font-size: 13px;
    }
}

/* 600px - большой мобильный */
@media (max-width: 600px) {
    .breakfasts-control-filters {
        padding: 16px 18px;
    }

    .filters-title {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .date-input-wrapper {
        padding: 6px 30px 6px 12px;
        height: 48px;
    }

    .date-label {
        font-size: 10px;
    }

    .date-input {
        font-size: 14px;
    }

    .settings-select-wrapper-breakfasts {
        padding: 6px 30px 6px 12px;
        min-height: 48px;
    }

    .settings-label {
        font-size: 12px;
    }

    .settings-select {
        font-size: 14px;
    }

    .filter-checkbox-label {
        font-size: 13px;
    }

    .filter-checkbox .checkbox-custom {
        width: 22px;
        height: 22px;
    }

    /* Пагинация на большом мобильном */
    .admin-pagination {
        padding: 18px 12px 18px;
    }

    .admin-pagination-number {
        min-width: 30px;
        height: 30px;
        font-size: 12px;
    }

    .admin-pagination-arrow {
        width: 30px;
        height: 30px;
    }

    .admin-pagination-arrow svg {
        width: 16px;
        height: 16px;
    }

    .admin-pagination-dots {
        font-size: 12px;
        padding: 0 3px;
    }

    .admin-pagination-info {
        font-size: 12px;
    }
}

/* 480px - мобильный */
@media (max-width: 480px) {
    .breakfasts-control-filters {
        padding: 14px 16px;
    }

    .filters-title {
        font-size: 16px;
        margin-bottom: 10px;
    }

    .date-input-wrapper {
        padding: 6px 28px 6px 10px;
        height: 44px;
    }

    .date-label {
        font-size: 10px;
    }

    .date-input {
        font-size: 13px;
    }

    .calendar-icon {
        right: 10px;
    }

    .calendar-icon svg {
        width: 14px;
        height: 14px;
    }

    .settings-select-wrapper-breakfasts {
        padding: 6px 28px 6px 10px;
        min-height: 44px;
    }

    .settings-label {
        font-size: 11px;
    }

    .settings-select {
        font-size: 13px;
    }

    .select-arrow {
        right: 10px;
    }

    .select-arrow svg {
        width: 12px;
        height: 12px;
    }

    .filter-checkbox-label {
        font-size: 12px;
    }

    .filter-checkbox .checkbox-custom {
        width: 20px;
        height: 20px;
    }

    .filter-checkbox .checkbox-custom::after {
        width: 12px;
        height: 12px;
    }

    /* Пагинация на мобильном */
    .admin-pagination {
        padding: 16px 10px 16px;
        gap: 12px;
    }

    .admin-pagination-controls {
        gap: 4px;
    }

    .admin-pagination-numbers {
        gap: 4px;
    }

    .admin-pagination-number {
        min-width: 28px;
        /* Защита от сплющивания */
        height: 28px;
        font-size: 11px;
        padding: 0 2px;
        flex-shrink: 0;
    }

    .admin-pagination-arrow {
        width: 28px;
        height: 28px;
        flex-shrink: 0;
    }

    .admin-pagination-arrow svg {
        width: 14px;
        height: 14px;
    }

    .admin-pagination-dots {
        font-size: 11px;
        padding: 0 2px;
    }

    .admin-pagination-info {
        font-size: 11px;
    }
}

/* 340px - очень маленький экран */
@media (max-width: 340px) {
    .breakfasts-control-filters {
        padding: 12px 14px;
    }

    .filters-title {
        font-size: 15px;
        margin-bottom: 8px;
    }

    .date-input-wrapper {
        padding: 6px 26px 6px 8px;
        height: 40px;
    }

    .date-label {
        font-size: 9px;
    }

    .date-input {
        font-size: 12px;
    }

    .settings-select-wrapper-breakfasts {
        padding: 6px 26px 6px 8px;
        min-height: 40px;
    }

    .settings-label {
        font-size: 10px;
    }

    .settings-select {
        font-size: 12px;
    }

    .filter-checkbox-label {
        font-size: 11px;
    }

    .filter-checkbox .checkbox-custom {
        width: 18px;
        height: 18px;
    }

    /* Пагинация на очень маленьком экране */
    .admin-pagination {
        padding: 14px 8px 14px;
    }

    .admin-pagination-number {
        min-width: 26px;
        height: 26px;
        font-size: 10px;
    }

    .admin-pagination-arrow {
        width: 26px;
        height: 26px;
    }

    .admin-pagination-info {
        font-size: 10px;
    }
}

@media (hover: none) and (pointer: coarse) {

    .admin-pagination-number,
    .admin-pagination-arrow {
        min-width: 36px !important;
        min-height: 36px !important;
        font-size: 14px !important;
    }

    .date-input-wrapper,
    .settings-select-wrapper-breakfasts {
        min-height: 48px;
    }

    .filter-checkbox .checkbox-custom {
        width: 26px;
        height: 26px;
    }
}


@media (max-width: 1200px) {
    .tab-content-table {
        overflow-x: auto;
        padding-left: 24px;
        padding-right: 24px;
    }

    .tab-content-table .residents-table {
        min-width: 900px;
    }

    .tab-content-table .breakfasts-table th,
    .tab-content-table .breakfasts-table td {
        width: auto !important;
    }

    .tab-content-table .residents-table th,
    .tab-content-table .residents-table td {
        padding: 16px 14px;
        font-size: 14px;
    }

    .tab-content-table::-webkit-scrollbar {
        height: 6px;
    }

    .tab-content-table::-webkit-scrollbar-track {
        background: #F4F6FA;
        border-radius: 3px;
    }

    .tab-content-table::-webkit-scrollbar-thumb {
        background: #079EDA;
        border-radius: 3px;
    }

    .tab-content-table::-webkit-scrollbar-thumb:hover {
        background: #058BC4;
    }
}

@media (max-width: 768px) {
    .tab-content-table {
        padding-left: 16px;
        padding-right: 16px;
    }

    .tab-content-table .residents-table {
        min-width: 800px;
    }

    .tab-content-table .residents-table th,
    .tab-content-table .residents-table td {
        padding: 14px 12px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tab-content-table {
        padding-left: 12px;
        padding-right: 12px;
    }

    .tab-content-table .residents-table {
        min-width: 700px;
    }

    .tab-content-table .residents-table th,
    .tab-content-table .residents-table td {
        padding: 12px 10px;
        font-size: 12px;
    }
}



@media (max-width: 1024px) {
    .search-page .tab-content {
        overflow-x: auto;
        padding: 24px 28px;
    }

    .search-page .tab-content .residents-table {
        min-width: 700px;
    }

    .search-page .tab-content .residents-table th,
    .search-page .tab-content .residents-table td {
        padding: 16px 18px;
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .search-page .tab-content {
        padding: 20px 20px;
    }

    .search-page .tab-content .residents-table {
        min-width: 650px;
    }

    .search-page .tab-content .residents-table th,
    .search-page .tab-content .residents-table td {
        padding: 14px 14px;
        font-size: 13px;
    }

    .search-page .tab-content::-webkit-scrollbar {
        height: 4px;
    }

    .search-page .tab-content::-webkit-scrollbar-track {
        background: #F4F6FA;
        border-radius: 2px;
    }

    .search-page .tab-content::-webkit-scrollbar-thumb {
        background: #079EDA;
        border-radius: 2px;
    }
}

@media (max-width: 480px) {
    .search-page .tab-content {
        padding: 16px 14px;
    }

    .search-page .tab-content .residents-table {
        min-width: 600px;
    }

    .search-page .tab-content .residents-table th,
    .search-page .tab-content .residents-table td {
        padding: 12px 10px;
        font-size: 12px;
    }
}


.breakfasts-table .my-activities-head {
    background: #376d9a;
}

.new-activity-button {
    padding: 17px 43px;
    border-radius: 2px;
    background: #079eda;
    color: #fff;
    font-weight: 700;
    font-size: 18px;
    line-height: 150%;
}

.activities-filters {
    display: flex;
    gap: 52px;
    flex-direction: row;
    align-items: flex-start;
    flex-wrap: wrap;
}

@media (max-width:768px) {
    .activities-filters {
        gap: 20px;
    }

    .new-activity-button {
        padding: 17px 28px;
    }
}

.residents-table .activity-table-link {
    color: #079eda;
}


/* ===== СТРАНИЦА "НОВАЯ АКТИВНОСТЬ" ===== */

/* Обертка формы */
.new-activity-wrapper {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 32px 46px;
    margin-top: 20px;
}

/* Блоки предупреждений */
.activity-warning-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.activity-warning-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    background: #F4F6FA;
    border-radius: 2px;
    border-left: 3px solid #079EDA;
}

.activity-warning-item p {
    font-size: 14px;
    line-height: 150%;
    color: #03283E;
    margin: 0;
    font-family: 'manrope-medium';
}

.activity-warning-item svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Форма */
.new-activity-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Группы полей */
.new-activity-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Скрытие условных полей */
.new-activity-form .conditional-field {
    display: none;
}

.new-activity-form .conditional-field.is-visible {
    display: flex;
}

/* Select с кастомной стрелкой */
.new-activity-form .form-select-wrapper {
    position: relative;
}

.new-activity-form .form-select {
    width: 100%;
    padding: 14px 40px 14px 16px;
    background: #F4F6FA;
    border: 1px solid transparent;
    border-radius: 2px;
    font-size: 16px;
    color: #03283E;
    font-family: 'manrope';
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition: all 0.2s ease;
}

.new-activity-form .form-select:hover,
.new-activity-form .form-input:hover {
    border-color: #079EDA;
}

.new-activity-form .form-select:focus,
.new-activity-form .form-input:focus {
    background: #FFFFFF;
    border-color: #079EDA;
}

.new-activity-form .select-arrow {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Textarea */
.new-activity-form .form-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Комбинированный поиск (combobox) */
.new-activity-form .combobox-wrapper {
    position: relative;
}

.new-activity-form .combobox-input {
    padding-right: 48px;
}

.new-activity-form .combobox-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    opacity: 0.6;
}

/* Кнопка сохранения */
.new-activity-form .form-actions {
    margin-top: 16px;
    padding-top: 24px;
    border-top: 1px solid #F4F6FA;
}

.btn-save-activity {
    padding: 16px 68px;
    background: #079EDA;
    border: none;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 18px;
    font-weight: 700;
    font-family: 'manrope-bold';
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-save-activity:hover {
    background: #058BC4;
    transform: translateY(-1px);
}

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

/* Адаптивность */
@media (max-width: 768px) {
    .new-activity-wrapper {
        padding: 24px 20px;
    }

    .activity-warning-item {
        padding: 14px 16px;
    }

    .new-activity-form .form-select,
    .new-activity-form .form-input {
        padding: 12px 14px;
        font-size: 15px;
    }

    .btn-save-activity {
        width: 100%;
        padding: 16px 24px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .new-activity-wrapper {
        padding: 20px 16px;
    }

    .activity-warning-item p {
        font-size: 13px;
    }

    .new-activity-form .form-group .form-label {
        font-size: 13px;
    }

    .new-activity-form .form-select,
    .new-activity-form .form-input {
        font-size: 14px;
    }
}


/* ===== СТРАНИЦА "МОЯ СТАТИСТИКА" ===== */
.statistics-counters {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    background: #fff;
    padding: 23px 42px;
}

.statistics-counters .statistic-item {
    flex: 1;
    margin-bottom: 0;
    gap: 20px;
}

.statistics-counters .statistic-item .statistic-item-result {
    max-width: 300px;
}

.statistics-table-section {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 31px 46px;
    margin-top: 20px;
}

.statistics-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.statistics-table th:nth-child(1),
.statistics-table td:nth-child(1) {
    width: 70%;
    text-align: left;
}

.statistics-table th:nth-child(2),
.statistics-table td:nth-child(2),
.statistics-table th:nth-child(3),
.statistics-table td:nth-child(3) {
    width: 15%;
    text-align: center;
    font-weight: 600;
}

@media (max-width: 768px) {
    .statistics-counters {
        flex-direction: column;
        gap: 16px;
    }

    .statistics-table-section {
        padding: 24px 20px;
    }

    .statistics-table th:nth-child(1),
    .statistics-table td:nth-child(1),
    .statistics-table th:nth-child(2),
    .statistics-table td:nth-child(2),
    .statistics-table th:nth-child(3),
    .statistics-table td:nth-child(3) {
        width: auto !important;
        text-align: left;
    }

    .statistics-table th:nth-child(2),
    .statistics-table td:nth-child(2),
    .statistics-table th:nth-child(3),
    .statistics-table td:nth-child(3) {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .statistics-table-section {
        padding: 18px 14px;
    }

    .statistics-table th,
    .statistics-table td {
        padding: 14px 12px;
        font-size: 14px;
    }
}


/* ===== СТРАНИЦА "СИСТЕМА БАЛЛОВ" ===== */

.points-system-wrapper {
    padding: 31px 46px;
    margin-top: 20px;
}

.points-system-description {
    font-size: 16px;
    line-height: 150%;
    color: #03283E;
    margin-bottom: 24px;
    opacity: 0.8;
}

.table-responsive-wrapper {
    overflow-x: auto;
    border-radius: 2px;
}

.points-system-table {
    min-width: 600px;
}

.points-system-table th:nth-child(1),
.points-system-table td:nth-child(1) {
    width: 75%;
    text-align: left;
}

.points-system-table th:nth-child(2),
.points-system-table td:nth-child(2) {
    width: 25%;
    text-align: center;
}

.points-system-table .points-value {
    font-weight: 600;
    font-size: 18px;
    color: #079EDA;
    font-family: 'manrope-semibold';
}

@media (max-width: 768px) {
    .points-system-wrapper {
        padding: 24px 20px;
    }

    .points-system-description {
        font-size: 15px;
    }

    .points-system-table th,
    .points-system-table td {
        padding: 16px 14px;
        font-size: 14px;
    }

    .points-system-table .points-value {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .points-system-wrapper {
        padding: 18px 14px;
    }

    .points-system-table th,
    .points-system-table td {
        padding: 14px 12px;
        font-size: 13px;
    }

    .points-system-table .points-value {
        font-size: 15px;
    }
}


/* ===== СТРАНИЦА "ПРАВИЛА КЛУБА" ===== */
.rules-content-wrapper {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 32px 46px;
    margin-top: 20px;
}

.rules-section {
    margin-bottom: 32px;
}

.rules-section:last-child {
    margin-bottom: 0;
}

.rules-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #03283E;
    margin: 0 0 16px 0;
    font-family: 'manrope-semibold';
    line-height: 140%;
}

.rules-text {
    font-size: 16px;
    line-height: 170%;
    color: #03283E;
}

.rules-text p {
    margin-bottom: 12px;
}

.rules-list {
    list-style: none;
    padding: 0;
    margin: 12px 0;
}

.rules-list li {
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
    font-size: 16px;
    line-height: 170%;
    color: #03283E;
}

.rules-list li:before {
    content: "•";
    color: #079EDA;
    font-weight: bold;
    position: absolute;
    left: 8px;
}

/* ===== СТРАНИЦА "ДОКУМЕНТЫ" ===== */
.documents-content-wrapper {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 32px 46px;
    margin-top: 20px;
}

.documents-section {
    margin-bottom: 32px;
}

.documents-section:last-child {
    margin-bottom: 0;
}

.documents-section-title {
    font-size: 20px;
    font-weight: 600;
    color: #03283E;
    margin: 0 0 20px 0;
    font-family: 'manrope-semibold';
    line-height: 140%;
}

.documents-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.document-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 22px;
    background: #F4F6FA;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.document-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #FFFFFF;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.document-info {
    flex: 1;
    min-width: 0;
}

.document-title {
    font-size: 16px;
    font-weight: 600;
    color: #03283E;
    margin: 0 0 4px 0;
    font-family: 'manrope-semibold';
    line-height: 140%;
}

.document-meta {
    font-size: 13px;
    color: #6C8898;
    margin: 0;
    line-height: 140%;
}

.document-download {
    flex-shrink: 0;
    padding: 10px 22px;
    background: #079EDA;
    color: #FFFFFF;
    border-radius: 2px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'manrope-semibold';
    transition: all 0.3s ease;
    text-decoration: none;
}

@media (max-width: 768px) {

    .rules-content-wrapper,
    .documents-content-wrapper {
        padding: 24px 20px;
    }

    .rules-section-title,
    .documents-section-title {
        font-size: 18px;
    }

    .rules-text,
    .rules-list li {
        font-size: 15px;
    }

    .document-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 18px;
    }

    .document-download {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {

    .rules-content-wrapper,
    .documents-content-wrapper {
        padding: 20px 16px;
    }

    .rules-section-title,
    .documents-section-title {
        font-size: 17px;
    }

    .rules-text,
    .rules-list li {
        font-size: 14px;
    }

    .document-title {
        font-size: 15px;
    }

    .document-meta {
        font-size: 12px;
    }
}

.top-tab-pane {
    display: none;
}

.top-tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

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



.profile-main-info-mr-bottom{
    margin-bottom: 20px;
}


.tab-content-referals.active {
    display: block;
}

.tab-content-referals {
    display: none;
    padding: 31px 46px;
    background: #fff;
    border-radius: 2px;
}
.tab-content-view.active {
    display: block;
}

.tab-content-view {
    display: none;
}

/* ========== Баннер Cookie ========== */
.winwin-cookie-banner {
    position: fixed;
    bottom: -100px; 
    left: 0;
    width: 100%;
    background-color: #062a40; 
    color: #ffffff;
    padding: 16px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 99999;
    transition: bottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    font-family: inherit;
}

.winwin-cookie-banner.is-visible {
    bottom: 0; 
}

.winwin-cookie-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.winwin-cookie-text {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    flex: 1;
    color: #e0e6ed;
}

.winwin-cookie-text a {
    color: #75C9EB;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.2s ease;
}

.winwin-cookie-text a:hover {
    color: #ffffff;
    text-decoration: none;
}

.winwin-cookie-btn {
    background-color: #079EDA; 
    color: #ffffff;
    border: none;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    white-space: nowrap;
}

.winwin-cookie-btn:hover {
    background-color: #057bb5;
}

.winwin-cookie-btn:active {
    transform: scale(0.97);
}

@media (max-width: 768px) {
    .winwin-cookie-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .winwin-cookie-btn {
        width: 100%;
        padding: 14px 20px;
    }
}