﻿
.info-tooltip-trigger {
    position: relative;
    display: inline-block;
    margin-left: 5px;
}


.info-tooltip-content {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    left: 30px;
    top: -10px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 20px;
    width: 346px;
    background-color: #FFFFFF;
    color: #224497;
    border: 1.8px solid #224497;
    border-radius: 16px;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(34, 68, 151, 0.2);
    font-family: 'Noto Sans', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 19px;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

    .info-tooltip-content::before {
        content: '';
        position: absolute;
        right: 100%;
        top: 20px;
        width: 0;
        height: 0;
        border-top: 12px solid transparent;
        border-bottom: 12px solid transparent;
        border-right: 14px solid #224497;
    }

    .info-tooltip-content::after {
        content: '';
        position: absolute;
        right: 100%;
        top: 22px;
        width: 0;
        height: 0;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-right: 12px solid #FFFFFF;
    }

.info-tooltip-trigger:hover .info-tooltip-content {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .info-tooltip-content {
        left: auto;
        right: -10px;
        width: 280px;
        top: 35px;
    }

        .info-tooltip-content::before {
            right: auto;
            left: 25px;
            top: auto;
            bottom: 100%;
            border-right: 12px solid transparent;
            border-left: 12px solid transparent;
            border-top: none;
            border-bottom: 14px solid #224497;
        }

        .info-tooltip-content::after {
            right: auto;
            left: 27px;
            top: auto;
            bottom: 100%;
            border-right: 10px solid transparent;
            border-left: 10px solid transparent;
            border-top: none;
            border-bottom: 12px solid #FFFFFF;
        }
}
