/**
 * Thermico | Go to Top - Hauptstil
 */

/* Button-Grundstil */
.thermico-go-to-top {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: #fff;
    background-color: #007bff; /* Wird durch Inline-Styles überschrieben */
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
    outline: none;
}

/* Button sichtbar machen */
.thermico-go-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Hover-Effekt */
.thermico-go-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* Aktiver Zustand beim Klicken */
.thermico-go-to-top:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* SVG-Icons im Button */
.thermico-go-to-top svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

/* Text-Stil */
.thermico-style-text {
    width: auto;
    min-width: 50px;
    padding: 0 15px;
    border-radius: 25px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    font-size: 14px;
    font-weight: 500;
}

/* Admin-Bereich Stile */
.thermico-preview-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
}

.thermico-button-preview {
    position: relative;
    height: 200px;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
}

/* Responsives Design */
@media screen and (max-width: 782px) {
    .thermico-go-to-top {
        width: 45px;
        height: 45px;
    }
    
    .thermico-style-text {
        font-size: 13px;
    }
}

@media screen and (max-width: 480px) {
    .thermico-go-to-top {
        width: 40px;
        height: 40px;
    }
    
    .thermico-go-to-top svg {
        width: 20px;
        height: 20px;
    }
    
    .thermico-style-text {
        font-size: 12px;
    }
}
