/* Дополнительные стили поверх Tailwind/Flowbite */

html { scroll-behavior: smooth; }

body {
    font-feature-settings: "ss01", "cv11";
}

/* Заголовки — Manrope, чуть плотнее межбуквенный */
.font-serif {
    letter-spacing: -0.02em;
}

/* Плавное появление при скролле */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Тонкая прокрутка — светлая тема */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: #eaf5ff;
}
::-webkit-scrollbar-thumb {
    background: #b6dafe;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #1a6bc7;
}

/* Аккуратное выделение */
::-moz-selection {
    background: #1a6bc7;
    color: #fff;
}
::selection {
    background: #1a6bc7;
    color: #fff;
}

.text-accent2 {
    color: #7B20A2;
}

.bg-purple {
    background-color: #faf1fa;
}

.ring-purple {
    border: 1px solid #ebcceb;
}



.chart {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    position: absolute;
    right: 80px;
    top: 0px;
    /* transform: translateY(-50%); */
}

@media (width < 1080px) {
    .chart {
        /* display: none; */
        position: static;
        padding-bottom: 40px;
    }
}

.chart-title {
    font-size: 14px;
    color: #0F1A35;
    font-style: italic;
}

.chart-container {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 265px;
    /* padding: 40px; */
    /* background: #16213e;
    border-radius: 16px; */
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3); */
}

.bar-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* gap: 16px; */
}

.bar-value {
    font-size: 14px;
    font-weight: 300;
    color: #0F1A35;
    /* min-height: 40px; */
    font-style: italic;
    margin-bottom: 10px;
}

.bar {
    width: 74px;
    /* border-radius: 8px 8px 0 0; */
    transition: height 2s ease-out;
}

.bar-1 {
    height: 10px;
    /* background: #7B20A2; */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='4' height='4' viewBox='0 0 4 4'%3E%3Crect width='2' height='2' fill='%237B20A2'/%3E%3C/svg%3E");

    background-repeat: repeat;
}    

.bar-2 {
    height: 5px;
    background: #7B20A2;
}

.bar-wrapper:nth-child(2) .bar.animated {
    height: 150px;
}

.bar-label {
    font-size: 11px;
    color: #0F1A35;
    margin-top: 35px;
    text-align: center;
    line-height: 1.5;
    
}

.chart-subtitle {
    font-size: 10px;
    font-weight: 300;
    color: #0F1A35;
    max-width: 245px;
}

@media (width < 1080px) {

    .mobile-black {
        color: #0f1a35;
    }
}

