/* ============================= */
/* KOL Big Numbers - Main Styles */
/* ============================= */

/* --- START: Container --- */
.kol-big-numbers-wrapper {
    width: 100%;
    background: transparent;
}

.kol-big-numbers-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
}
/* --- END: Container --- */

/* --- START: Item --- */
.kol-big-number-item {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    justify-content: center;
}
/* --- END: Item --- */

/* --- START: Icon --- */
.kol-big-number-icon {
    width: 50px;
    height: 50px;
    min-width: 50px;
    border: 2px dashed currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.7;
}

.kol-big-number-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

html.light-mode .kol-big-number-icon img {
    filter: brightness(0) invert(0.3);
}

html.dark-mode .kol-big-number-icon img {
    filter: brightness(0) invert(1);
}
/* --- END: Icon --- */

/* --- START: Content --- */
.kol-big-number-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
/* --- END: Content --- */

/* --- START: Number Value --- */
.kol-big-number-value {
    font-size: var(--kol-bn-font-size, 48px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1px;
    overflow: hidden;
    white-space: nowrap;
}

.kol-big-number-value .digit-wrapper {
    display: inline-block;
    height: 1.1em;
    overflow: hidden;
    vertical-align: bottom;
}

.kol-big-number-value .digit-inner {
    display: flex;
    flex-direction: column;
    transition: transform 0.1s ease-out;
}

.kol-big-number-value .digit-char {
    height: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.kol-big-number-value .comma {
    display: inline-block;
}
/* --- END: Number Value --- */

/* --- START: Label --- */
.kol-big-number-label {
    font-size: 13px;
    opacity: 0.85;
    white-space: nowrap;
}
/* --- END: Label --- */

/* --- START: Light Mode --- */
html.light-mode .kol-big-number-value {
    color: #1f2937;
}

html.light-mode .kol-big-number-label {
    color: #1f2937;
}

html.light-mode .kol-big-number-icon {
    border-color: #1f2937;
}
/* --- END: Light Mode --- */

/* --- START: Dark Mode --- */
html.dark-mode .kol-big-number-value {
    color: #e0e0e0;
}

html.dark-mode .kol-big-number-label {
    color: #e0e0e0;
}

html.dark-mode .kol-big-number-icon {
    border-color: #e0e0e0;
}
/* --- END: Dark Mode --- */

/* --- START: Responsive --- */
@media (max-width: 768px) {
    .kol-big-numbers-container {
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .kol-big-number-item {
        flex: 0 0 auto;
        min-width: 120px;
    }
    
    .kol-big-number-value {
        font-size: calc(var(--kol-bn-font-size, 48px) * 0.7);
    }
    
    .kol-big-number-icon {
        width: 40px;
        height: 40px;
        min-width: 40px;
    }
    
    .kol-big-number-icon img {
        width: 22px;
        height: 22px;
    }
}
/* --- END: Responsive --- */
