.widget-container {
    position: fixed;
    left: 0;
    top: 30%;
    transform: translateX(-100%);
    width: 300px;
    transition: transform 0.3s ease;
    z-index: 1000;
    background-color: #191C26;
    border: 2px solid #dd4242;
    border-left: none;
    border-radius: 0 5px 5px 0;
}

.widget-container:hover {
    transform: translateX(0);
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.widget-tab {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    min-height: 250px;
    left: 100%;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    background-color: #dd4242;
    color: white;
    font-weight: bold;
    padding: 15px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
}

.widget-content {
    padding: 15px;
    color: #fff;
    min-height: 300px;
}

.widget-content p {
    margin: 10px 0;
}

.widget-content p i {
    color: #dd4242;
    margin-right: 10px;
}

.widget-content a {
    color: #dd4242;
    text-decoration: none;
}

.widget-content button {
    background-color: #dd4242;
    border: none;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
    font-size: 18px;
    text-transform: uppercase;
}

.widget-content button:hover {
    background-color: #ff5c5c;
}

/* Přesun widgetu napravo při šířce okna pod 1400px */
@media (max-width: 1400px) {
    .widget-container {
        left: auto;
        right: 0;
        transform: translateX(100%);
        border-left: none;
        border-right: 2px solid #dd4242;

        border-radius: 5px 0 0 5px;
    }

    .widget-container:hover {
        transform: translateX(0);
    }

    .widget-tab {
        left: auto;
        right: 100%;
                border-radius: 0;
        border-top-left-radius: 5px;
        border-bottom-left-radius: 5px;
    }
}

/* Skrytí widgetu na malých obrazovkách */
@media (max-width: 768px) {
    .widget-container {
        display: none;
    }
}
