.timer-container {
    background-color: #ffffff;
    color: #333333;
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 250px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    transition: transform 0.5s ease-in-out, opacity 0.5s ease, bottom 0.5s ease, right 0.5s ease;
    z-index: 1000;
}

#timerTitle {
    font-size: 18px;
    margin-bottom: 10px;
}

#timer {
    display: flex;
    justify-content: center; /* Középre igazítás */
    gap: 10px;
}

.time-box {
    display: flex; /* Flexbox elrendezés */
    flex-direction: column; /* Függőleges elrendezés */
    justify-content: center; /* Középre igazítás függőlegesen */
    align-items: center; /* Középre igazítás vízszintesen */
    background-color: #2B2B2B;
    padding: 10px 8px;
    border-radius: 8px;
    width: 55px;
    height: 70px; /* Magasság beállítása a középre igazításhoz */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.3s;
}

.time-box:hover {
    background-color: #4B4B4B;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
    transform: scale(1.05);
}

.time-box span {
    font-size: 24px;
    font-weight: bold;
    display: block; /* Blokk szintű megjelenítés */
    color: #ffffff;
    text-align: center; /* Szöveg középre igazítása */
}

.time-box small {
    font-size: 12px;
    color: #d1e8ff;
    text-align: center; /* Szöveg középre igazítása */
}

.minimize-btn {
    background-color: #e1e1e1;
    color: #333;
    border: none;
    border-radius: 2px;
    padding: 2px 5px;
    cursor: pointer;
    font-size: 18px;
    position: absolute;
    top: 10px;
    right: 10px;
    transition: background-color 0.3s ease, transform 0.3s ease-in-out;
}

.minimize-btn:hover {
    background-color: #c7c7c7;
    transform: scale(1.1);
}

.chat-head {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #2B2B2B;
    border-radius: 50%;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out, visibility 0.5s;
    z-index: 1001;
}

.chat-head.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.chat-head.closing {
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
}

.percentage-loader {
    font-size: 32px;
    color: #ffffff;
    font-weight: bold;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none;
}

.message {
    font-size: 14px;
    color: #333;
    margin-top: 10px;
}

.minimized {
    transform: translate(120px, 120px) scale(0.1);
    opacity: 0;
}
