

/* Start:/local/templates/.default/components/bitrix/news/online/bitrix/news.detail/online/style.css?17912078507253*/

/* ========================================
   СТРАНИЦА ВЕБИНАРА
   ======================================== */
.webinar-detail {
    padding: 35px 0;
}

.webinar-detail .page-title {
    font-size: 34px;
    color: #1f2937;
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 20px;
}

.date-badge {
    background: linear-gradient(135deg, #011b58 0%, #022a7a 100%);
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    display: inline-block;
}

/* Видео секция */
.video-section {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    overflow: hidden;
}

.video-container {
    position: relative;
    width: 100%;
    background: #e5e7eb;
}

.video-actions {
    padding: 20px 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tag-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tag-button.nmo {
    background: linear-gradient(135deg, #ea0b0d 0%, #b4080b 100%);
}

.tag-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.bell-button {
    color: #ff0202;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: auto;
}

.bell-button:hover {
    transform: scale(1.05);
}

/* Чат */
.chat-sidebar {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    height: 504px;
    overflow: hidden;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.chat-messages::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #f3f4f6;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #d1d5db;
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: #9ca3af;
}

.chat-message {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.message-content {
    flex: 1;
    background: #f9fafb;
    padding: 12px 15px;
    border-radius: 8px;
    position: relative;
}

.message-content p {
    color: #1f2937;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.message-options {
    position: absolute;
    top: 8px;
    right: 8px;
}

.admin_panel_menu {
    position: absolute;
    background: #fff;
    padding: 5px;
    border: 1px solid #ebebeb;
    border-radius: 5px;
    right: 27px;
    top: 8px;
    z-index: 2;
    display: none;
}

.admin_panel_menu a {
    color: #e60b0d;
    text-decoration: underline;
}

.more-btn {
    background: none;
    border: none;
    color: #9ca3af;
    font-size: 18px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s;
}

.more-btn:hover {
    background: #e5e7eb;
    color: #6b7280;
}

.comment-section {
    padding: 20px;
    border-top: 1px solid #e5e7eb;
}

.comment-section form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-box {
    min-height: 70px;
    padding: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    font-size: 14px;
    resize: none;
}

.comment-box:focus {
    outline: none;
    border-color: #667eea;
}

.btn--chat {
    background: #1f2937;
    color: white;
    padding: 10px 24px;
    border-radius: 8px;
    border: none;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn--chat:hover {
    background: #374151;
}

/* Информация о вебинаре */
.webinar-info {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

/* Кнопка "Я здесь" */
.confirm-presence-btn {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: 50px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
    transition: all 0.3s ease;
    height: max-content;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7); }
    50% { transform: translate(-50%, -50%) scale(1.05); box-shadow: 0 0 20px 0px rgba(255, 0, 0, 0.7); }
}






/* ========================================
   АДАПТИВНОСТЬ
   ======================================== */

/* Tablet */
@media (max-width: 768px) {


    /* Вебинар */
    .webinar-detail .page-title {
        font-size: 28px;
    }

    .date-badge {
        font-size: 14px;
        padding: 8px 16px;
    }

    .video-actions {
        padding: 15px 20px;
        flex-wrap: wrap;
    }

    .video-preview {
        width: 120px;
    }

    .lecturer-info {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .chat-sidebar {
        height: 500px;
    }

    /* Модальное окно */
    .modal-content {
        width: 95%;
    }

    .modal-header {
        padding: 20px;
    }

    .modal-body {
        padding: 20px;
    }

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

    .modal-info-item {
        font-size: 14px;
    }
}

/* Mobile */
@media (max-width: 576px) {




    .webinar-detail .page-title {
        font-size: 22px;
    }

    .video-actions {
        padding: 15px;
        gap: 10px;
    }

    .tag-button {
        width: 100%;
    }

    .bell-button {
        margin-left: initial;
    }

    .chat-messages {
        padding: 15px;
    }

    .webinar-info {
        padding: 15px;
    }

    .modal-title {
        font-size: 20px;
    }
}



.not-started-placeholder { background:#f8f9fa; border:1px dashed #cbd5e1; border-radius:12px; padding:60px 30px; text-align:center; color:#374151; margin-bottom:24px; }
.not-started-placeholder h3 { font-size:20px; font-weight:700; margin-bottom:10px; }
.nmo-info-card { background:#eef2ff; border:1px solid #c7d2fe; border-radius:12px; padding:20px 24px; }
.nmo-info-card h3 { font-size:16px; font-weight:700; color:#011b58; margin-bottom:10px; }
.nmo-info-card ul { margin:0; padding-left:18px; }
.nmo-info-card li { margin-bottom:6px; font-size:14px; }
.video-locked-note { background:#f8f9fa; border:1px solid #dee2e6; padding:20px; text-align:center; color:#6c757d; border-radius:4px; margin:15px 0; }
.video-locked-note a { color:#e74c3c; font-weight:bold; }
.views-counter { font-size:12px; color:#9ca3af; margin-top:6px; }
.survey-float-btn { position:fixed; bottom:30px; right:30px; background:#011b58; color:#fff; padding:12px 22px; border-radius:50px; font-weight:600; text-decoration:none; z-index:9998; box-shadow:0 4px 15px rgba(0,0,0,.3); }

/* End */
/* /local/templates/.default/components/bitrix/news/online/bitrix/news.detail/online/style.css?17912078507253 */
