* {
    box-sizing: border-box;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
:root {
    color-scheme: only light;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "SF Pro", sans-serif;
    display: flex;
    justify-content: center;
}
html {
    background-color: #f2f4f8 !important;
}

html, body {
    overflow-x: hidden;
    height: 100%;
}

.app-shell {
    position: relative;
    width: 100vw;
    height: 100dvh;     /* фиксируем */
    background: #f2f4f8;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* ================= STAGES ================= */

.stage {
    display: none;
    min-height: 100vh;
    padding: 24px;
    background: linear-gradient(
            150deg, rgba(242, 244, 248, 1) 0%, rgba(207, 223, 255, 1) 50%, rgba(242, 244, 248, 1) 100%);
    width: 100vw;
}

.auth-screen-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-bottom: 10px;
}
.stage.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.stage-app {
    display: none;
    flex-direction: column;
    padding: 0;
}

.stage-app.active {
    display: flex;
}
/* =========================
   PRELOADER
   ========================= */

#loader {
    position: fixed;
    inset: 0;
    background: #fbfbfb;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.scene {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.cat, .mouse {
    position: absolute;
    pointer-events: none;
}
.cat { height: 80px;
    left: 60%;
    z-index: 1;
    top: 125px !important;
}
.mouse { height: 90px;
    z-index: 2;
    left: 10%;
    top: 110px !important;
}

@keyframes runLeft {
    from { transform: translateX(0); }
    to { transform: translateX(20px); }
}

.cat {
    animation: runLeft 1.5s infinite alternate ease-in-out;
}

.mouse {
    animation: runLeft 1.5s infinite alternate-reverse ease-in-out;
}
/* Точки */

.loading-text {
    margin-top: 20px;
    font-size: 18px;
    font-weight: 600;
    color: #555;
}

.dots span {
    display: inline-block;
    animation: jump 1.2s infinite;
}

.dots span:nth-child(2) { animation-delay: 0.2s; }
.dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes jump {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-6px);
        opacity: 1;
    }
}
/* ================= CARD ================= */

.card {
    position: relative;
    height: 100vh;
    width: 100vw;
    background: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.introStartDiv {
    position: relative;
    z-index: 1;
    height: 40vh;
}

.prev {
    height: 60vh;
    width: 100vw;
}

.footedPrevDiv {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
    height: 50vh;
    background: #ffff;
    border-radius: 36px;
}

.frame {
    position: relative;
    width: 100px;
    height: 50px;
    bottom: 30px;
}
.prevText {
    width: 95vw;
    position: relative;
    bottom: 30px;
    font-family: system-ui;
    font-size: 20px;
    leading-trim: NONE;
    line-height: 100%;
    text-align: center;

}

.primary-btn-register {
    position: relative;
    width: 80vw;
    height: 50px;
    margin-top: 20px;
    padding: 14px 24px;
    border: none;
    border-radius: 24px;
    background: linear-gradient(72.25deg, #0066FF -207.51%, #7000FF 166.42%);
    color: white;
    font-size: 20px;
    cursor: pointer;

}
/* ================= AUTH ================= */

#auth {
    display: none;
    min-height: 100vh;
    background: radial-gradient(circle at 30% 20%, #ffe4f7, #d7f0ff 60%, #fdf6e3);
    padding: 20px;
    align-items: center;
    justify-content: center;
}


.auth-card {
    width: 90vw;
    padding: 20px 20px 40px 20px;
    box-shadow: 0px 0px 15px 4px #cfaaff;
    border-radius: 16px;
}
.form-container {
    width: 100%;
    max-width: 420px;
    padding: 40px 30px;
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff, #f9f3ff);
    box-shadow:
            0 25px 60px rgba(0,0,0,0.12),
            inset 0 0 0 2px #f3d6ff;
    border: 2px dashed #d9a7ff;
}

.form-container h2 {
    margin-bottom: 30px;
    font-size: 22px;
    text-align: center;
    color: #7a3eb1;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.input-group input {
    width: 100%;
    padding: 16px 12px;
    font-size: 16px;
    border: none;
    border-bottom: 2px solid #cfaaff;
    background: transparent;
    outline: none;
}

.input-group input:focus {
    border-bottom: 2px solid #7a3eb1;
}

.input-group label {
    position: absolute;
    left: 0;
    top: -5px;
    color: #999;
    font-size: 14px;
    pointer-events: none;
    transition: 0.3s;
}

.input-group input:focus + label,
.input-group input:valid + label {
    top: -8px;
    font-size: 12px;
    color: #7a3eb1;
}

.submit-btn {
    width: 100%;
    padding: 16px;
    border-radius: 30px;
    border: none;
    background: linear-gradient(135deg, #c471ed, #f64f59);
    color: white;
    font-weight: 600;
    cursor: pointer;
}

/* ================= APP ================= */

.stage-app {
    display: none;
    flex-direction: column;
    height: 100vh;
    overflow: hidden;
}

.stage-app.active {
    display: flex;
}
.app-background {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(
            150deg, rgba(242, 244, 248, 1) 0%, rgba(207, 223, 255, 1) 50%, rgba(242, 244, 248, 1) 100%);
}
.app-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.screens {
    display: flex;
    flex: 1;
    overflow: hidden;
    padding: 10px 10px 100px; /* место под bottom-nav */
}

.screen {
    position: relative;
    display: none;
}

.screens:has(#screen-interactive.active) {
    padding: 0 10px 100px;
}

.screen.active {

    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.news-list {
    flex: 1;
    overflow-y: auto;
    padding: 0 20px 100px;
}

.app-content {
    position: relative;
    top: 0;
}
.bottom-nav {
    position: fixed;
    bottom: 0;
    border-radius: 36px 36px 0 0;
    height: 100px;
    width: 100vw;
    display: flex;
    justify-content: space-around;
    padding: 16px 0;
    background: white;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
}
.bottomNavPlusDiv {
    display: flex;
    flex-flow: nowrap;
    height: 50px;
}
.bottomNavPlus {
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bottomNavLine {
    width: 310px;
    height: 1px;
    top: 21px;
    left: 2px;
    opacity: 1;
    border-radius: 16px;
    border: 1px solid #00000066
}

.bottomNavButton {
    position: absolute;
    display: flex;
    width: 44px;
    height: 44px;
    opacity: 1;
    border-radius: 16px;
    background: linear-gradient(72.25deg, #0066FF -207.51%, #7000FF 166.42%);
    justify-content: center;
    align-items: center;
}
.bottomNavButtonBorder {
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 10px;
    position: relative;
    box-sizing: border-box;
}
.bottomNavButtonPlus {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 2px;
    background: white;
    transform: translate(-50%, -50%);
    border-radius: 4px;
}

.bottomNavButtonPlus::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 13px;
    background: white;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 4px;
}

.bottomNavDiv {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.homeImg, .docImg, .chartImg, .profileImg {
    padding: 5px;
}

.tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-family: sans-serif;
    color: #888;
    cursor: pointer;
}

.tab.active {
    color: #2979ff;
    font-weight: 600;
}

.material-symbols-rounded {
    font-variation-settings:
            'FILL' 0,
            'wght' 400,
            'GRAD' 0,
            'opsz' 24;
    font-size: 30px;
    padding: 5px;
    color: inherit;
}
.schedule {
    width: 90vw;
    overflow: auto;

}
.toast {
    position: fixed;
    bottom: 160px;
    left: 50%;
    transform: translateX(-50%);
    background: #111;
    color: white;
    padding: 12px 18px;
    border-radius: 20px;
    font-size: 14px;
    opacity: 0;
    animation: fadeIn 0.2s forwards;
    z-index: 9999;
}

.toast.hide {
    animation: fadeOut 0.2s forwards;
}

@keyframes fadeIn {
    to { opacity: 1; }
}

@keyframes fadeOut {
    to { opacity: 0; }
}

.calendar-grid {
    position: relative;
    height: 1200px; /* 15 часов × 80px */
}

.hour-line {
    position: relative;
    height: 80px;
    border-bottom: 1px dashed #d6d6d6;
    font-size: 12px;
    color: #888;
    padding-left: 10px;
}

.calendar-event {
    position: absolute;
    left: 60px;
    right: 10px;
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    border-left: 5px solid #2979ff;
}
.calendar-grid {
    position: relative;
    flex: 1;
}

.calendar-event {
    position: absolute;
    padding: 8px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
    overflow: hidden;
}

.calendar-event.blue {
    border-left: 4px solid #2979ff;
}

.calendar-event.purple {
    border-left: 4px solid #9c27b0;
}
.calendar-scroll-wrapper {
    flex: 1;
    overflow: auto;
}

.calendar-scroll-wrapper {
    height: calc(100vh - 140px);
}

.calendar-grid {
    position: relative;
    min-height: 100%;
}

.hour-row {
    position: relative;
    border-bottom: 1px dashed #312e2e;
}

.hour-label {
    position: absolute;
    left: 0;
    width: 30px;
    font-size: 12px;
    color: #888;
    text-align: right;
    padding-right: 6px;
}

.calendar-event {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.event-title {
    font-weight: 600;
    font-size: 14px;
}

.event-location {
    font-size: 12px;
    color: #666;
}
.event-checkbox {
    transform: scale(1.2);
    margin-left: 8px;
}
.news-list::-webkit-scrollbar {
    display: none;
}
.schedule::-webkit-scrollbar {
    display: none;
}
.calendar-scroll-wrapper {
    overflow: auto;

    /* Chrome, Safari */
    scrollbar-width: none;         /* Firefox */
    -ms-overflow-style: none;      /* IE / Edge */
}

.calendar-scroll-wrapper::-webkit-scrollbar {
    display: none;                 /* Chrome, Safari */
}

.calendar-event {
    overflow: visible;
    box-sizing: border-box;
    padding: 10px 12px;
}

.calendar-event {
    position: absolute;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    border-left: 4px solid #2f6df5;
    box-sizing: border-box;
    padding: 12px;
}

.event-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    height: 100%;
}

.event-left {
    flex: 1;
    padding-right: 8px;
}

.event-right {
    display: flex;
    align-items: flex-start;
}

.event-time {
    font-size: 12px;
    opacity: 0.6;
    margin-bottom: 4px;
}

.event-title {
    font-weight: 600;
    margin-bottom: 4px;
}

.event-location {
    font-size: 13px;
    opacity: 0.8;
}

.event-speakers {
    font-size: 12px;
    opacity: 0.6;
}
/* ===== TIME ROW ===== */

.time-row {
    display: flex;
    align-items: center;
    margin: 22px 0 10px;
}

.time-label {
    width: 48px;
    font-size: 13px;
    color: #8c8c8c;
}

.time-line {
    flex: 1;
    height: 1px;
    border-bottom: 1px dashed #d6d6d6;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 15px;
}

.nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 16px;
    border: 0;
    background: white;
    font-size: 16px;
    font-weight: bolder;
}

.calendar-date {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    width: 200px;
}

.calendar-date-img {
    padding-right: 5px;
}

.calendar-date-text {
    font-size: 25px;
    font-family: sans-serif;
    font-weight: 300;
}

.days-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.days-tabs::-webkit-scrollbar {
    display: none;
}

.day-tab {
    padding: 10px 16px;
    border-radius: 16px;
    border: 1px solid #6362624D;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: 0.2s ease;
}

.day-tab.active {
    background: #FFFFFF;
    border: none;
    font-weight: 600;
}

.CalendarNavHeader {

}
/* ===== EVENT CARD ===== */

.event-card {
    margin-left: 48px;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.05);
    margin-bottom: 6px;
    position: relative;
}

.event-card.blue {
    border-left: 5px solid #2979ff;
}

.event-card.purple {
    border-left: 5px solid #9c27b0;
}

.event-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.event-location {
    font-size: 13px;
    color: #888;
}

/* ================= NEWS LIST ================= */

.news-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    width: 90vw;
}

.news-header-left {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    font-size: 16px;
}

.news-sort {
    border: none;
    background: #f2f4f8;
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 12px;
}

.news-list {
    padding: 0 10px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}

.news-card {
    display: flex;
    gap: 12px;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    padding: 12px;
    cursor: pointer;
    transition: 0.2s ease;
}

.news-card:active {
    transform: scale(0.97);
}

.news-image {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    object-fit: cover;
}

.news-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.news-category {
    font-size: 12px;
    color: #888;
}

.news-title-text {
    font-size: 14px;
    font-weight: 600;
}

.news-date {
    font-size: 12px;
    color: #999;
}

.news-dot {
    position: absolute;
    justify-content: center;
    top: 29px;
    transform: translateX(10px);
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;

}

.news-card {
    position: relative;
}

.news-unread-dot {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 8px;
    height: 8px;
    background: #ff3b30;
    border-radius: 50%;
}

.hidden {
    display: none;
}

.news-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.news-filters button {
    padding: 6px 10px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: white;
    cursor: pointer;
}

.news-filters button.active {
    background: #000;
    color: white;
}


.news-controls {
    display: flex;
    justify-content: flex-end;
}

#news-filter-select {
    padding: 6px 6px;
    border-radius: 12px;
    border: 1px solid #ddd;
    background: white;
    font-size: 12px;
    width: 170px;
}

.calendar-event {
    background: #fff;
    border-radius: 16px;
    border-left: 4px solid #2f6df5;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    box-sizing: border-box;
    padding: 14px;
    overflow: hidden;
}

.event-card-inner {
    display: flex;
    justify-content: space-between;
    height: 100%;
}

.event-left {
    flex: 1;
    overflow: hidden;
}

.event-title,
.event-location,
.event-speakers {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.auth-container {
    width: 100%;
    max-width: 360px;
}

.auth-screen {
    display: none;
    flex-direction: column;
    gap: 16px;
}

.auth-screen.active {
    display: flex;
}

.auth-links {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #2979ff;
    cursor: pointer;
}

.secondary-btn {
    background: transparent;
    border: 1px solid #857f7f;
    padding: 14px;
    border-radius: 24px;
    font-size: 16px;
    font-family: system-ui;
    font-weight: 400;
    width: 82vw;
}

.primary-btn-enter {
    background: transparent;
    border: none;
    color: #0066FF;
}

.auth-screen {
    padding: 24px;
    display: none;
    flex-direction: column;
}

.auth-screen.active {
    display: flex;
}

.auth-back {
    font-size: 22px;
    cursor: pointer;
    width: 42px;
    height: 42px;
    background: white;
    /* position: relative; */
    justify-content: center;
    align-items: center;
    display: flex;
    border-radius: 16px;
}

.auth-title {
    font-size: 29px;
    font-family: system-ui;
    font-weight: 400;
    margin-bottom: 0;
}

.auth-subtitle {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    margin-top: 0;
}

.input-group {
    display: flex;
    align-items: center;
    border: 2px solid #0066FF;
    border-radius: 14px;
    padding: 4px 6px;
    margin-bottom: 5px;
    background: transparent;
}

.input-group input {
    border: none;
    outline: none;
    flex: 1;
    font-size: 14px;
    background: transparent;
}

.input-icon {
    margin-right: 10px;
    font-size: 16px;
    opacity: 0.6;
}

.primary-btn {
    width: 80vw;
    height: 65px;
    font-family: system-ui;
    padding: 14px;
    border: none;
    border-radius: 20px;
    background: linear-gradient(72.25deg, #0066FF -207.51%, #7000FF 166.42%);
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.auth-footer {
    text-align: center;
    font-size: 14px;
    color: #666;
}

.link {
    color: #0066FF;
    cursor: pointer;
}

.auth-forgot {
    text-align: left;
    margin-bottom: 16px;
    font-size: 14px;
}

.confirm-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.35);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.confirm-modal.active {
    display: flex;
}

.confirm-box {
    width: 320px;
    background: white;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
}

.confirm-box h3 {
    margin-bottom: 12px;
}

.confirm-box p {
    font-size: 14px;
    margin-bottom: 20px;
    color: #555;
}

.confirm-actions {
    display: flex;
    gap: 12px;
}

.btn-outline {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: 2px solid #6d28d9;
    background: white;
    color: #6d28d9;
    cursor: pointer;
}

.btn-primary {
    flex: 1;
    padding: 10px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #6d28d9, #4f46e5);
    color: white;
    cursor: pointer;
}

.event-modal {
    position: fixed;
    inset: 0;
    background: #f5f5f7;
    z-index: 9999;
    display: none;
    overflow-y: auto;
}

.event-modal.active {
    display: block;
}

/* ===== HERO IMAGE ===== */

.event-hero {
    position: relative;
    height: 320px;
    overflow: hidden;
}

.event-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ===== TOP BUTTONS ===== */

.event-back-btn,
.event-bookmark-btn {
    position: absolute;
    top: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: white;
    font-size: 18px;
    cursor: pointer;
}

.event-back-btn {
    left: 16px;
}

.event-bookmark-btn {
    right: 16px;
}

/* ===== BODY ===== */

.event-body {
    background: #f5f5f7;
    margin-top: -30px;
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    padding: 10px 10px;
}

.event-badge {
    display: inline-block;
    background: #ede9ff;
    color: #6a4dff;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 500;
}

.event-title-modal {
    display: flex;
    flex-direction: column;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.2;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    margin-top: 30px;
}

/* ===== INFO BOX ===== */

.event-info-box {
    background: linear-gradient(135deg, #4e2dff, #7b4dff);
    color: white;
    border-radius: 22px;
    padding: 18px 10px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 28px;
}

.event-info-item {
    flex: 1;
    text-align: center;
}

.event-info-label {
    font-size: 12px;
    opacity: 0.8;
    margin-bottom: 6px;
}

.event-info-item div:last-child {
    font-size: 15px;
    font-weight: 500;
}



/* ===== SPEAKERS ===== */

.event-speakers-modal {
    display: flex;
    align-items: center;
    font-size: 16px;
}

.divider {
    width: 1px;
    background: rgba(255,255,255,0.3);
    margin: 0 6px;
}

#event-modal-checkbox {
    transform: scale(1.5);
    position: relative;
    z-index: 9999;
    height: 22px;
    width: 22px;
    border: 2px solid blue;
}

.event-modal-header {
    position: absolute;
    top: 16px;
    left: 16px;
    right: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    z-index: 10;
}

.event-modal-nav {
    display: flex;
    background: white;
    border: none;
    border-radius: 16px;
    width: 42px;
    height: 42px;
    justify-content: center;
    align-items: center;
    font-size: 25px;
}


/* ================= NEWS MODAL ================= */

.news-modal {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;   /* как app-shell */
    height: 100vh;
    background: #f2f4f8;
    display: none;
    z-index: 9999;
}
.news-modal.active {
    display: flex;
    flex-direction: column;
}

.news-modal-inner {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-modal-image {
    position: relative;
    width: 100%;
    height: 300px;
    object-fit: cover;
    z-index: 1;
}

.news-back-btn {
    position: absolute;
    top: 20px;
    left: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/*.news-modal-body {*/
/*    background: white;*/
/*    margin-top: -30px;*/
/*    border-radius: 24px 24px 0 0;*/
/*    padding: 24px 20px 100px;*/
/*}*/

.news-modal-meta {
    font-size: 12px;
    color: #888;
    margin-bottom: 10px;
}

/* Hero (картинка) */
.news-modal-image-wrapper {
    position: relative;
    width: 100%;
    height: 260px; /* как у тебя сейчас */
    overflow: hidden;
}
.news-modal.no-image .news-modal-image-wrapper {
    height: 0;
    overflow: hidden;
}
/* Тело */
.news-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 70px 20px 100px; /* 🔥 верхний отступ под кнопку */
    background: white;
}

/* ================= INTERACTIVE ================= */

.interactive-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow: hidden;
}

/* ===== LIST ===== */

.interactive-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    overflow-y: auto;
}

.interactive-card {
    background: white;
    padding: 18px;
    border-radius: 20px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: 0.2s ease;
}

.interactive-card:active {
    transform: scale(0.97);
}

.interactive-title {
    font-weight: 600;
    margin-bottom: 6px;
}

.interactive-time {
    font-size: 13px;
    color: #888;
}

/* ===== FORM ===== */

#screen-interactive {
    display: none;
    flex-direction: column;
    flex: 1;
    overflow: hidden;
}

#screen-interactive.active {
    display: flex;
}

.interactive-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 20px;
}
.interactive-list {
    flex: 1;
    overflow-y: auto;
}

.interactive-form {
    flex: 1;
    overflow-y: auto;
    display: none;
    flex-direction: column;
    gap: 20px;
}

.interactive-form.active {
    display: flex;
}

.interactive-back-btn {
    width: 42px;
    height: 42px;
    border-radius: 16px;
    border: none;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interactive-title-main {
    font-size: 20px;
    font-weight: 600;
}

/* ===== RATING CARD ===== */

.rating-card {
    background: #e9edf3;
    padding: 20px;
    border-radius: 20px;
    text-align: center;
}

.rating-question {
    margin-bottom: 14px;
    font-weight: 500;
}

.rating-stars {
    font-size: 28px;
    display: flex;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.rating-stars span {
    opacity: 0.3;
    transition: 0.2s;
}

.rating-stars span.active {
    opacity: 1;
    color: #f5b400;
}

/* ===== COMMENT ===== */

.rating-textarea {
    resize: none;
    border-radius: 16px;
    border: 1px solid #ddd;
    padding: 14px;
    min-height: 100px;
    font-family: inherit;
}

/* ===== FOOTER ===== */

.rating-footer {
    display: flex;
    gap: 10px;
}

.rating-input {
    flex: 1;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #ddd;
}

.rating-submit {
    padding: 12px 20px;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #6d28d9, #4f46e5);
    color: white;
    cursor: pointer;
}

.interactive-form {
    display: none;
}

.interactive-form.active {
    display: flex;
}

.interactive-list {
    min-height: 200px;
}

/* ===== INTERACTIVE HEADER ===== */

.interactive-header {
    margin-bottom: 20px;
}

.interactive-page-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.interactive-page-subtitle {
    font-size: 14px;
    color: #777;
    margin: 0;
}

.interactive-list {
    overflow-y: auto;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE */
}

.empty-state {
    padding: 40px;
    text-align: center;
    color: #888;
}

.interactive-list::-webkit-scrollbar {
    display: none;              /* Chrome */
}

/* ===== INLINE CONFIRM INSIDE EVENT ===== */

.inline-confirm-card {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    margin-bottom: 16px;
}

.inline-confirm-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.inline-confirm-text {
    font-size: 14px;
    color: #555;
    margin-bottom: 16px;
}

.inline-confirm-actions {
    display: flex;
    gap: 12px;
}

.inline-confirm-actions button {
    flex: 1;
    height: 44px;
    border-radius: 22px;
    font-size: 14px;
    cursor: pointer;
}

/* локальные кнопки */
.inline-confirm-actions .btn-primary {
    background: linear-gradient(135deg, #6d28d9, #4f46e5);
    border: none;
    color: white;
}

.inline-confirm-actions .btn-outline {
    background: white;
    border: 2px solid #6d28d9;
    color: #6d28d9;
}

/*.hidden {*/
/*    display: none;*/
/*}*/

/* ===== DOCS SCREEN ===== */

#screen-docs {
    display: none;
    flex-direction: column;
    flex: 1;
}

#screen-docs.active {
    display: flex;
}

.docs-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 20px 110px;
}

/* HEADER */

.docs-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.docs-back {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: none;
    background: white;
    font-size: 18px;
}

.docs-title {
    font-size: 20px;
    font-weight: 600;
}

/* LIST */

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

/* CARD */

.doc-card {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* CARD CONTENT */

.doc-left {
    display: flex;
    gap: 12px;
    align-items: center;
}

.doc-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    flex-shrink: 0;
    background-size: 40px 40px;
}

.doc-icon.pdf {
    background-image: url("pdf.png");
}

.doc-icon.excel {
    background-image: url("excel.png");
}

.doc-icon.word {

}

.doc-icon.img {
    background-image: url("img.png");
}

.doc-icon.default {

}


.doc-name {
    font-weight: 600;
    font-size: 14px;
}

.doc-desc {
    font-size: 12px;
    color: #777;
    margin-top: 4px;
}

/* BUTTON */

.doc-btn {
    justify-content: center;
    align-items: center;
    display: flex;
    width: 100%;
    height: 36px;
    border-radius: 18px;
    border: 2px solid #6d28d9;
    background: transparent;
    color: #6d28d9;
    font-weight: 500;
    cursor: pointer;
    font-size: 16px;
}

.event-hero-badge {
    position: absolute;
    top: 70px;
    left: 16px;
    z-index: 20;
}

.hero-rating-badge {
    background: rgba(255,255,255,0.9);
    color: #6d28d9;
    padding: 6px 12px;
    border-radius: 14px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.rating-label {
    display: flex;
    justify-content: center;
    align-items: center;
    background: #F4E5FA;
    color: #123138;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 300;
    margin-bottom: 10px;
    width: 100px;
    height: 25px;
}

/*сброс пароля*/

.reset-wrapper {
    padding: 24px;
    margin-top: 100px;
}

.reset-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 32px;
}

.input-field {
    width: 100%;
    padding: 14px;
    margin-bottom: 16px;
    border-radius: 10px;
    border: 1px solid #ccc;
    font-size: 16px;
}

.primary-button {
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 18px;
    font-size: 16px;
    color: white;
    background: linear-gradient(135deg,#4f46e5,#6d28d9);
    cursor: pointer;
}

.reset-message {
    margin-top: 14px;
    font-size: 14px;
}



/* Stage */
#stage-coming-soon {
    padding: 0;
}

/* Background */
.coming-bg {
    position: relative;
    width: 100%;
    height: 100dvh;
    overflow: hidden;

    display: flex;
    justify-content: center;
}
/* Фоновая картинка */
.coming-image {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Карточка */
.coming-card {
    position: absolute;
    /*bottom: 140px;*/
    /*left: 50%;*/
    /*transform: translateX(-50%);*/
    width: 100%;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(6px);
    border-radius: 20px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}


.coming-bg {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;

    display: flex;
    align-items: center;   /* вертикальный центр */
    justify-content: center; /* горизонтальный центр */
}
/* Лого */
/*.coming-logo {*/
/*    display: inline-block;*/
/*    border: 2px solid #3b82f6;*/
/*    border-radius: 12px;*/
/*    padding: 4px 12px;*/
/*    font-size: 14px;*/
/*    margin-bottom: 16px;*/
/*}*/

/* Заголовок */
.coming-card h2 {
    font-family: system-ui;
    font-weight: 500;
    font-size: 24px;
    line-height: 1;
    margin-bottom: 14px;

}

/* Текст */
.coming-card p {
    font-size: 14px;
    color: #555;
    margin-bottom: 12px;
    line-height: 1.5;
}

/* Фиолетовая плашка */
.highlight {
    background: linear-gradient(135deg,#6d28d9,#4f46e5);
    color: white;
    padding: 3px 10px;
    border-radius: 12px;
    font-weight: 600;
}

/* Благодарность */
.thanks {
    font-size: 14px;
    font-weight: 600;
}

.coming-logo {
    margin-bottom: 16px;
}

.coming-logo img {
    height: 32px;      /* регулируй если нужно */
    width: auto;
    display: block;
    margin: 0 auto;
}

/* ===== FORGOT PASSWORD FLOW ===== */

.forgot-container {
    width: 90%;
    max-width: 360px;
    margin: 60px auto;
    display: flex;
    flex-direction: column;
}

.forgot-step {
    display: none;
    flex-direction: column;
    gap: 18px;
}

.forgot-step.active {
    display: flex;
}

.forgot-back {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.forgot-title {
    font-size: 26px;
    font-weight: 600;
    margin: 0;
}

.forgot-subtitle {
    font-size: 14px;
    color: #555;
    margin-bottom: 10px;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 2px solid #0066FF;
    border-radius: 16px;
    padding: 12px;
    background: rgba(255,255,255,0.7);
}

.input-wrapper input {
    border: none;
    outline: none;
    flex: 1;
    background: transparent;
    font-size: 14px;
}

.input-icon {
    margin-right: 8px;
    opacity: 0.6;
}

.forgot-btn {
    height: 60px;
    border-radius: 24px;
    border: none;
    background: linear-gradient(72.25deg,#0066FF,#7000FF);
    color: white;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
}

/* ===== FULLSCREEN INTERACTIVE FRAME ===== */

.interactive-frame-wrapper {
    position: absolute;
    inset: 0;
    background: white;
    z-index: 1000;
}

.interactive-frame-wrapper.hidden {
    display: none;
}

.interactive-frame-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.frame-close-btn {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 1001;
    width: 42px;
    height: 42px;
    border-radius: 16px;
    border: none;
    background: rgba(255,255,255,0.9);
    font-size: 20px;
    cursor: pointer;
}


/* ===== DESKTOP BLOCK ===== */

.desktop-block {
    display: none;
}

@media (min-width: 768px) {
    .desktop-block {
        position: fixed;
        inset: 0;
        background: linear-gradient(135deg, #5c2dff, #7b3dff);
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 9999;
        color: white;
        text-align: center;
        padding: 40px;
    }

    .desktop-card {
        background: rgba(255,255,255,0.1);
        backdrop-filter: blur(20px);
        border-radius: 24px;
        padding: 40px;
        max-width: 550px;
    }

    .desktop-emoji {
        font-size: 48px;
        margin-bottom: 20px;
    }

    body > *:not(#desktop-block) {
        display: none !important;
    }
}

.interactive-scroll {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0 0;
    width: 85vw;
}

.form-image {
    width: 100%;
    height: 110px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
}

.form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.doc-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    flex-shrink: 0;
    background-size: 40px 40px;
    background-repeat: no-repeat;
    background-position: center;
}

/* Новые */

.doc-icon.business {
    background-image: url("briefcase.png");
}

.doc-icon.team {
    background-image: url("teamBuilding.png");
}

.doc-icon.feedback {
    background-image: url("anketa.png");
}

.event-description {
    margin-top: 6px;
    font-size: 13px;
    color: #4b5563;
    line-height: 1.4;
}

.event-description-full {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}