﻿

.BlText {
    color: #1A3A6A !important;
}

.NextBtn {
    margin-left: 2px !important;
    background: #1A3A6A !important;
    color: #fff !important;
}

.PrevBtn {
    margin-right: 2px !important;
    background: #1A3A6A !important;
    color: #fff !important;
}
.WatchDemoBtn {
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 6px !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    padding: 8px 16px !important;
    display: flex !important;
    align-items: center !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}
.DemoDiv {
    height: 82px !important;
    width: 100% !important;
    background-color: #1A3A6A !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-end !important;
    padding-right: 20px !important;
}

.demo-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.65);
}

.demo-video-overlay[hidden] {
    display: none !important;
}

.demo-video-panel {
    position: relative;
    width: 100%;
    max-width: 640px;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.demo-video-close {
    position: absolute;
    top: 8px;
    right: 10px;
    z-index: 2;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.demo-video-close:hover {
    background: rgba(0, 0, 0, 0.8);
}

.demo-video-wrapper {
    position: relative;
    padding-top: 56.25%;
}

.demo-video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

body.demo-video-open {
    overflow: hidden;
}

/* ── Core badge ── */
.info-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: default;
}

.info-badge__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #2563eb;
    color: #fff;
    font-size: 11px;
    font-style: italic;
    font-weight: 700;
    line-height: 1;
    flex-shrink: 0;
    transition: background 0.18s ease, transform 0.18s ease;
    user-select: none;
}

.info-badge__label {
    font-size: 14px;
    color: #374151;
    font-weight: 500;
}

/* ── Tooltip ── */
.info-badge__tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%) translateY(4px);
    background: #1e293b;
    color: #f1f5f9;
    font-size: 12.5px;
    font-style: normal;
    line-height: 1.55;
    padding: 9px 13px;
    border-radius: 8px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    z-index: 100;
}

    /* Arrow */
    .info-badge__tooltip::after {
        content: '';
        position: absolute;
        top: 100%;
        left: 50%;
        transform: translateX(-50%);
        border: 6px solid transparent;
        border-top-color: #1e293b;
    }

/* Hover state */
.info-badge:hover .info-badge__tooltip,
.info-badge:focus-within .info-badge__tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.info-badge:hover .info-badge__icon {
    background: #1d4ed8;
    transform: scale(1.12);
}

.info-circle {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: none;
    background: #0d6efd;
    color: #fff;
    font-size: 13px;
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}