﻿.language-size{
    font-size:10px;
}
.chart-wrapper {
    position: relative;
    width: 170px;
    height: 170px;
    margin: auto;
}

.donut-chart {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    animation: rotateChart 2s ease-out forwards;
}

    .donut-chart::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        background: conic-gradient( #4db8ff 0% 25%, #ff66b3 25% 50%, #ffeb3b 50% 65%, #d2a679 65% 100% );
        transform: rotate(-225deg); /* Start rotated */
    }

.donut-inner {
    position: absolute;
    top: 15%;
    left: 15%;
    width: 70%;
    height: 70%;
    background: white;
    border-radius: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5em;
    color: #777;
    transform: rotate(360deg); /* Counter-rotate text */
}

.label {
    margin-top: 20px;
    font-size: 1.2em;
    color: #777;
    position: relative;
}

    .label::before {
        content: '';
        position: absolute;
        top: -20px;
        left: 50%;
        transform: translateX(-50%);
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 15px solid #777;
    }

@keyframes rotateChart {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}
.info-box {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
}

    .info-box::before {
        content: "";
        position: absolute;
        top: -2px;
        left: -2px;
        width: calc(100% + 4px);
        height: calc(100% + 4px);
        z-index: 1;
        pointer-events: none;
        /* No background or animation by default */
    }

    .info-box:hover::before {
        background: linear-gradient( 90deg, transparent, rgba(255, 255, 255, 0.8), transparent );
        animation: border-glow 2s linear infinite;
    }

@keyframes border-glow {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

.info-box-content,
.info-box i {
    position: relative;
    z-index: 2;
}


.cursor {
    cursor: pointer;
}

.btn-play {
    border: 2px solid !important;
}

.img-fluid {
    float: left;
}

.animated {
    transition: transform 0.5s ease; /* Smooth transition for the rotation */
}

    .animated:hover {
        transform: scale(1.1);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    }

.rotate-360 {
    transition: transform 0.5s ease;
}

    .rotate-360:hover {
        transform: rotate(360deg) scale(1.1);
    }

.info-box {
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);
    border-radius: 10px;
    background-color: #fff;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    min-height: 80px;
    padding: .5rem;
    position: relative;
    width: 100%;
}

.info-box-icon {
    width: 70px;
    border-radius: 10px;
    box-shadow: 0 0 1px rgba(0,0,0,.125),0 1px 3px rgba(0,0,0,.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.b-content {
    border-bottom: 1px dotted #547792;
}

.myhover:hover {
    background-color: #D2E0FB;
    cursor: pointer;
    border-radius: 5px;
    margin: 0px;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Popup box */
.popup {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 370px;
    text-align: center;
    position: relative;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #fff;
    color: black;
    border: none;
    padding: 2px 12px;
    cursor: pointer;
}

    .close-btn:hover {
        color: red;
    }


.chat-image {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 1000;
    margin-bottom: 60px;
    margin-right: 20px;
    animation: float 3s ease-in-out infinite;
}
.chat-image:hover {
    animation: rotateChart 1s ease-in-out infinite;
    cursor:pointer;
}
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.popup-chat {
    position: fixed;
    bottom: 120px;
    right: 20px;
    width:200px;
    background-color: white;
    border: 1px solid #ccc;
    padding: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    display: none;
    z-index: 1001;
    text-align: center;
}


