body {
	overflow-y: scroll; 
    background-color: #f6f8fa;
}

.navbar {
    background-color: #ffffff !important;
    border: none !important;
    box-shadow: none !important;
}

.navbar-nav .nav-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.navbar-brand img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Index page*/
/* Event Cards*/
        .meeting-card {
            background: white;
            border-radius: 16px;
            overflow: hidden;
            box-shadow: none;
            transition: all 0.3s ease;
            border: none !important;
            margin-bottom: 1.5rem;
            display: flex;
            width: 100%;
            max-width: 100%;
            min-width: 0;
        }

        .meeting-card:hover {
            transform: none;
            box-shadow: none;
        }

        .meeting-card .card-body {
            padding: 2rem;
            flex: 1;
        }

        .meeting-card h5 {
            font-weight: 600;
            color: #1e293b;
            margin-bottom: 1rem;
            line-height: 1.3;
        }

        .meeting-card p {
            color: #64748b;
            margin-bottom: 1rem;
        }

        .meeting-card .row {
            flex: 1;
            display: flex;
            width: 100%;
        }

        .meeting-card .col-md-8 {
            display: flex;
            flex-direction: column;
        }

        .meeting-card .col-md-4 {
            display: flex;
            flex: 0 0 auto;
            width: 33.333333%;
        }

        .meeting-image {
            height: 100%;
            background-size: cover;
            background-position: center;
            position: relative;
            width: 100%;
            flex: 1;
        }

        .meeting-image::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.3);
        }

        .user-avatars {
            display: flex;
            align-items: center;
            gap: 0;
            margin-top: 1rem;
            position: relative;
        }

        .user-avatar {
            width: 30px;
            height: 30px;
            border: 2px solid white;
            box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
        }

        .user-avatar:not(:first-child) {
            margin-left: -10px;
        }

        .participants-count {
            font-size: 0.875rem;
            color: #64748b;
            font-weight: 500;
            margin-left: 1rem;
        }

        .meeting-badge {
            padding: 0.4rem 0.8rem;
            font-size: 0.8rem;
            font-weight: 400;
            border-radius: 20px;
            background-color: #f8fafc;
            color: #64748b;
        }

        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        .meeting-card {
            animation: fadeInUp 0.6s ease forwards;
        }

        .meeting-card:nth-child(even) {
            animation-delay: 0.1s;
        }

        @media (max-width: 768px) {
            .meeting-card .row {
                flex-direction: column;
            }

            .meeting-card .col-md-4 {
                width: 100%;
            }

            .meeting-image {
                height: 180px;
            }

            .user-avatar:not(:first-child) {
                margin-left: -8px;
            }

            .meeting-badge {
                padding: 0.3rem 0.6rem;
            }
        }

/* Event Cards END*/

footer.footer {
	padding-top: 2rem;
	padding-bottom: 2rem;
	background-color: #ffffff;
}

footer.footer .footer-inner {
	max-width: 42rem;
	margin-left: auto;
	margin-right: auto;
}

.meeting-bg {
	height: 100%;
	width: 100%;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	min-height: 15rem;
}

/* Form labels */
.mylabel {
	font-size: 15px; 
	font-weight:500;
}

.mymb{
	margin-bottom:1.7rem!important
}

.meeting-card {
    /* Убрали transition и hover — статичная карточка */
}

.meeting-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    min-height: 200px;
}

/* Стили для кликабельной карточки (без hover-эффектов) */
.card-link {
    display: block;
    text-decoration: none;
    color: inherit; /* Сохраняем цвета внутри */
}

.card-link:hover {
    color: inherit;
    text-decoration: none;
}

/* Если нужно исключить клики на аватарах (опционально) */
.user-avatar {
    pointer-events: none;
}







.user-avatar {
	width: 28px;
	height: 28px;
	object-fit: cover;
	border: 2px solid #fff;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.15);
}

/* Main page hero (OBYAVA.BY layout) */
.talkhub-header-wrap {
    margin-bottom: 0;
}

.index-intro-row {
    margin-top: 4.5rem;
    margin-bottom: 4.5rem;
}

.index-breakout {
    padding: 4.5rem 0;
}

.index-breakout-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 240px;
    background: #ffffff;
    border-radius: 20px;
    padding: 1.6rem 1.45rem 1.4rem;
    text-decoration: none;
    color: inherit;
}

a.index-breakout-card:hover,
a.index-breakout-card:focus,
a.index-breakout-card:visited {
    color: inherit;
    text-decoration: none;
}

.index-breakout-num {
    position: absolute;
    top: 1.35rem;
    right: 1.35rem;
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    color: #94a3b8;
}

.index-breakout-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.1rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #f6f8fa;
    color: #3b62d8;
    font-size: 1.15rem;
}

.index-breakout-title {
    margin: 0 0 0.55rem;
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #0f172a;
}

.index-breakout-text {
    margin: 0 0 1.25rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: #64748b;
}

.index-breakout-cta {
    margin-top: auto;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #3b62d8;
}

.index-breakout-cta i {
    font-size: 1.05rem;
    vertical-align: -2px;
}

.index-list-row > [class*="col-"] {
    min-width: 0;
}

.index-meeting-link {
    display: block;
    max-width: 100%;
}

.index-all-meetings {
    margin-top: 2.75rem;
    margin-bottom: 2.25rem;
    text-align: center;
}

.index-all-meetings-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    color: #3b62d8;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.index-all-meetings-btn:hover,
.index-all-meetings-btn:focus {
    background: #fff;
    color: #2f4fb5;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
    text-decoration: none;
}

.index-all-meetings-btn:visited {
    color: #3b62d8;
    text-decoration: none;
}

.index-all-meetings-btn i {
    font-size: 1rem;
    line-height: 1;
}

.index-hero {
    display: block;
    margin: 30px 0 3rem;
}

.index-hero-slider {
    position: relative;
    overflow: hidden;
    color: #ffffff;
    border-radius: 20px;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px 24px;
}

.index-hero-slider .index-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.index-hero-slider .index-hero-bg.is-active {
    opacity: 1;
}

.index-hero-slider .index-hero-overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(30, 30, 60, 0.7);
    z-index: 1;
    pointer-events: none;
}

.index-hero-slider .index-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
    max-width: none;
    padding: 8px 28px;
}

.index-hero-slider .index-hero-content h1 {
    width: 100%;
    margin: 0 0 16px;
    font-family: inherit;
    font-size: clamp(1.2rem, 2.2vw, 1.55rem);
    font-weight: 400;
    line-height: 1.35;
    letter-spacing: 0.015em;
}

.index-hero-slider .index-hero-content h1 strong {
    font-weight: 400;
}

.index-hero-lead {
    max-width: 36rem;
    margin: 0 auto;
    font-size: clamp(0.92rem, 1.15vw, 1.05rem);
    font-weight: 300;
    line-height: 1.75;
    letter-spacing: 0.015em;
    color: rgba(255, 255, 255, 0.86);
}

.index-hero-lead::before {
    content: "";
    display: block;
    width: 36px;
    height: 1px;
    margin: 0 auto 16px;
    background: rgba(255, 255, 255, 0.4);
}

.index-tg-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-radius: 20px;
    padding: 1.75rem 1.55rem 1.7rem;
    color: #fff;
    background:
        radial-gradient(120% 100% at 100% 0%, rgba(255, 255, 255, 0.20), transparent 55%),
        linear-gradient(160deg, #2aabee 0%, #1b88c7 55%, #0f6fab 100%);
    box-shadow: 0 12px 32px rgba(15, 111, 171, 0.22);
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.index-tg-card:hover,
.index-tg-card:focus,
.index-tg-card:active,
.index-tg-card:visited {
    color: #fff;
    text-decoration: none;
}

.index-tg-card *,
.index-tg-card *:visited {
    color: #fff;
}

.index-tg-card .index-tg-cta,
.index-tg-card .index-tg-cta:visited {
    color: #0f6fab;
}

.index-tg-deco {
    position: absolute;
    top: -28px;
    right: -24px;
    font-size: 170px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.10);
    transform: rotate(-12deg);
    pointer-events: none;
    user-select: none;
}

.index-tg-title {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 14px;
    letter-spacing: -0.3px;
    position: relative;
}

.index-tg-sub {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin: 0 0 12px;
    line-height: 1.4;
    position: relative;
}

.index-tg-features {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
    position: relative;
}

.index-tg-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 12.5px;
    line-height: 1.35;
    padding: 0;
    margin: 0;
}

.index-tg-feat-ico {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    margin-top: 1px;
}

.index-tg-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #fff;
    color: #0f6fab;
    padding: 11px 18px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13.5px;
    text-decoration: none;
    width: 100%;
    max-width: 100%;
    position: relative;
    white-space: normal;
    text-align: center;
}

.talkhub-intro-card-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4d7bff;
    color: #fff;
    font-size: 18px;
}

.talkhub-words-card-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #4d7bff;
    color: #fff;
    font-size: 18px;
}

.talkhub-words-card-cta {
    margin-top: 0.5rem;
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    font-weight: 600;
    color: #3b62d8;
}

.talkhub-words-card-cta i {
    font-size: 1.1rem;
    line-height: 1;
    margin-left: 2px;
}

@media (max-width: 980px) {
    .index-tg-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 780px) {
    .index-hero-slider {
        min-height: 210px;
        padding: 24px 18px;
    }

    .index-tg-deco {
        font-size: 140px;
        top: -22px;
        right: -18px;
    }
}

/* Profile pages: unified style */
.profile-page .navbar {
    border: none;
    background: #ffffff;
    box-shadow: none;
}

.profile-main {
    min-height: 50vh;
    line-height: 1.35;
}

.profile-sidebar-card {
    background: #ffffff;
    border: none;
    box-shadow: none;
    border-radius: 12px;
    padding: 1rem;
}

.profile-avatar {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 0.75rem;
}

.profile-name {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: #0f172a;
    margin: 0 0 0.75rem;
}

.profile-meta-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid #e2e8f0;
}

.profile-meta-list li {
    padding: 0.6rem 0;
    border-bottom: 1px solid #eef2f7;
    font-size: 0.9rem;
    color: #475569;
}

.profile-meta-list li:last-child {
    border-bottom: 0;
}

.profile-meta-list a {
    color: #4d7bff;
    text-decoration: none;
}

.profile-meta-list a:hover {
    text-decoration: underline;
}

.profile-content-card {
    background: #ffffff;
    border: none;
    box-shadow: none;
    border-radius: 12px;
    padding: 1.1rem 1rem;
}

.profile-page .card {
    border: none !important;
    box-shadow: none !important;
}

.profile-page-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #0f172a;
    margin-bottom: 0.75rem;
}

/* Meeting page */
.meeting-page-content {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem 2.5rem;
}

@media (max-width: 768px) {
    .meeting-page-content {
        padding: 1.15rem 1.35rem;
    }
}

/* Login page */
.login-card {
    max-width: 420px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 1.5rem;
}

.login-buttons {
    display: grid;
    gap: 0.75rem;
}

.login-outline-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border: 1px solid #c8d5f7;
    background: #f8fbff;
    color: #334155;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
    text-decoration: none;
    font-weight: 500;
}

.login-outline-button:hover {
    text-decoration: none;
    color: #1e293b;
    border-color: #b6c7f0;
}

/* Meetings page filters */
.meetings-layout {
    margin-bottom: 3rem;
}

.meetings-filters {
    background: #ffffff;
    border-radius: 18px;
    padding: 1.75rem 1.55rem 1.7rem;
    position: sticky;
    top: 1.25rem;
}

.meetings-filter-group {
    margin-bottom: 1.05rem;
}

.meetings-filter-label {
    display: block;
    margin-bottom: 0.4rem;
    font-size: 0.78rem;
    font-weight: 500;
    color: #475569;
}

.meetings-filter-control {
    border: 1px solid #e2e8f0;
    border-radius: 11px;
    font-size: 0.875rem;
    color: #0f172a;
    background-color: #fff;
    box-shadow: none;
    min-height: 42px;
}

.meetings-filter-control:focus {
    border-color: #b6c7f0;
    box-shadow: 0 0 0 3px rgba(59, 98, 216, 0.12);
}

.meetings-filter-control:disabled {
    background-color: #f8fafc;
    color: #64748b;
    border-color: #e2e8f0;
    cursor: not-allowed;
    opacity: 1;
}

.meetings-filter-check {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    cursor: pointer;
    user-select: none;
}

.meetings-filter-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.meetings-filter-check-ui {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    border: 1.5px solid #cbd5e1;
    border-radius: 5px;
    background: #fff;
    position: relative;
    transition: border-color 0.15s ease, background-color 0.15s ease;
}

.meetings-filter-check-ui::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 9px;
    border: solid #fff;
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}

.meetings-filter-check input:checked + .meetings-filter-check-ui {
    background: #3b62d8;
    border-color: #3b62d8;
}

.meetings-filter-check input:checked + .meetings-filter-check-ui::after {
    transform: rotate(45deg) scale(1);
}

.meetings-filter-check input:focus-visible + .meetings-filter-check-ui {
    box-shadow: 0 0 0 3px rgba(59, 98, 216, 0.16);
}

.meetings-filter-check-text {
    font-size: 0.84rem;
    line-height: 1.4;
    color: #334155;
}

.meetings-filter-apply {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.78rem 1rem;
    border: 0;
    border-radius: 12px;
    background: #3b62d8;
    color: #fff;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.meetings-filter-apply:hover,
.meetings-filter-apply:focus {
    background: #2f4fb5;
    box-shadow: 0 8px 20px rgba(59, 98, 216, 0.22);
}

.meetings-filter-reset {
    display: block;
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
    text-decoration: none;
}

.meetings-filter-reset:hover,
.meetings-filter-reset:focus {
    color: #3b62d8;
    text-decoration: none;
}

.meetings-empty {
    background: #ffffff;
    border-radius: 18px;
    padding: 2.4rem 1.6rem;
    text-align: center;
}

.meetings-empty-title {
    margin: 0 0 0.4rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0f172a;
}

.meetings-empty-text {
    margin: 0;
    font-size: 0.9rem;
    color: #64748b;
}

.meetings-empty-reset {
    display: inline-block;
    margin-top: 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: #3b62d8;
    text-decoration: none;
}

.meetings-empty-reset:hover {
    color: #2f4fb5;
    text-decoration: none;
}

@media (max-width: 767.98px) {
    .meetings-filters {
        position: static;
        margin-top: 1.5rem;
        margin-bottom: 1rem;
    }
}