.gesa-canvas-wrapper {
    background: url('/wp-content/plugins/gesa/assets/gesa-fragen.jpg');
    background-size: contain!important;
    background-repeat: no-repeat!important;
    font-family: "Roboto", Sans-serif;
}

.gesa-mythen-quiz {
    background: url('/wp-content/plugins/gesa/assets/gesa-fragen.jpg');
    background-size: contain!important;
    background-repeat: no-repeat!important;
    font-family: "Roboto", Sans-serif;
    max-width: 800px;
    min-height: 450px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    place-content: space-between;
}

.gesa-mythen-result {
    background-color: #fff;
    height: 100%;
    min-height: 390px;
    padding: 20px;
}

.gesa-mythen-intro {
    display: none;
    margin: 0px 10px;
    width: calc(100% - 20px);
    background-color: #fff;
    top: 30px;
    border: 4px solid #00A8E7;
    padding: 10px 25px;
    border-radius: 50px;
    position: relative;
}

.gesa-mythen-progress {
    margin: 0px 10px;
    width: calc(100% - 20px);
    background-color: #fff;
    position: relative;
    top: 30px;
    border: 4px solid #00A8E7;
    padding: 10px 25px;
    border-radius: 50px;
}

.gesa-canvas-wrapper.clicked canvas {
    display: none!important;
}

.gesa-canvas-wrapper .gesa-question {
    margin: 0px 10px;
    width: calc(100% - 20px);
    background-color: #fff;
    position: absolute;
    top: 30px;
    border: 4px solid #00A8E7;
    padding: 10px 25px;
    border-radius: 50px;
}

.gesa-canvas-wrapper .gesa-weiter {
    margin: 0px 10px;
    background-color: #fff;
    position: absolute;
    border: 4px solid #00A8E7;
    padding: 10px 25px;
    border-radius: 50px;
    bottom: 50px;
    right: 40px;
    cursor: pointer;
}

.gesa-answer, .gesa-ja, .gesa-nein {
    margin: 0px 10px;
    background-color: #fff;
    position: relative;
    border: 4px solid #00A8E7;
    padding: 10px 25px;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 10px;
    width: fit-content;

    /* neue smooth transitions */
    transition:
            background-color 0.25s ease,
            color 0.25s ease,
            border-color 0.25s ease,
            transform 0.2s cubic-bezier(.25,.46,.45,1);

    /* Startanimation */
    animation: gesaBounceIn 0.35s ease-out;
}

/* Hover-Effekt */
.gesa-answer:hover, .gesa-ja:hover, .gesa-nein:hover {
    background-color: #00A8E7;
    color: #fff;
    border-color: #00A8E7;
    transform: translateY(-2px) scale(1.03);
}

/* Klick-Effekt */
.gesa-answer:active, .gesa-ja:active, .gesa-nein:avtive {
    transform: scale(0.95);
    transition-duration: 0.1s;
}

/* Bounce-In Animation on Render */
@keyframes gesaBounceIn {
    0% {
        opacity: 0;
        transform: scale(0.85);
    }
    60% {
        opacity: 1;
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}


.gesa-canvas-wrapper .gesa-weiter:hover {
    color: #fff;
    background-color: #00A8E7;
}

.gesa-canvas-wrapper .gesa-ja, .gesa-canvas-wrapper .gesa-nein, .gesa-auswertung {
margin: 0px 10px;
background-color: #fff;
position: absolute;
border: 4px solid #00A8E7;
padding: 5px 25px;
border-radius: 50px;
bottom: 50px;
right: 150px;
cursor: pointer;
}

.gesa-canvas-wrapper .gesa-nein {
right: 40px;
}


.gesa-canvas-wrapper .gesa-ja:hover, .gesa-canvas-wrapper .gesa-nein:hover {
color: #fff;
background-color: #00A8E7;
}

.gesa-ja.hide-me,
.gesa-nein.hide-me,
.gesa-auswertung.hide-me,
.gesa-weiter.hide-me {
display: none!important;
}

.gesa-chart-container {
border-bottom-right-radius: 80px;
padding-bottom: 20px;
padding-left: 20px;
background-color: #fff;
border-bottom: 4px solid #00A8E7;
border-right: 4px solid #00A8E7;
}

.gesa-auswertung-container.hide-me, .gesa-chart-container.hide-me {
display: none;
}

.gesa-auswertung-container {
z-index: 5;
position: absolute;
width: 350px;
background-color: #fff;
right: 0;
top: 0;
min-height: 350px;
border-bottom-left-radius: 80px;
padding: 20px;
border-bottom: 4px solid #00A8E7;
border-left: 4px solid #00A8E7;
}

.gesa-auswertung-container * {
text-align: center;
}

.gesa-auswertung-container h3 {
color: #00A8E7;
}

.gesa-canvas-wrapper.clicked .gesa-chart-container.show-me canvas, .gesa-canvas-wrapper.clicked .gesa-auswertung-container.show-me {
display: block!important
}

.gesa-answer, .gesa-ja, .gesa-nein {
    position: relative;
    overflow: hidden; /* wichtig für ripple */
}

.gesa-answer .ripple, .gesa-ja .ripple, .gesa-nein .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.6);
    transform: scale(0);
    animation: rippleEffect 0.5s linear;
}

@keyframes rippleEffect {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.gesa-share-wrapper {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.08);
}

.gesa-share-headline {
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.gesa-share-hint {
    font-size: 0.8rem;
    color: #666;
    margin-top: 8px;
}

.gesa-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* Basis-Button */
.gesa-share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: none;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    transition:
            transform 0.15s ease-out,
            box-shadow 0.15s ease-out,
            opacity 0.2s ease;
    position: relative;
    overflow: hidden;
}

/* Hover / Active */
.gesa-share-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.2);
    opacity: 0.96;
}

.gesa-share-btn:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 3px 8px rgba(0,0,0,0.18);
}

/* Icon-Kreis (kleines Pseudo-Icon, kann man später noch durch echte SVGs ersetzen) */
.gesa-share-icon {
    display: none!important;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255,255,255,0.25);
    position: relative;
}

/* Kleine Buchstaben in die Icons hacken (FB / WA / IG) */
.gesa-share-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -54%);
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
}

/* Buchstaben je Netzwerk */
.gesa-share-icon--fb::after { content: 'f'; }
.gesa-share-icon--wa::after { content: 'wa'; font-size: 0.6rem; }
.gesa-share-icon--ig::after { content: 'ig'; font-size: 0.6rem; }

/* Label */
.gesa-share-label {
    white-space: nowrap;
}

/* Brand Colors */
.gesa-share-btn--facebook {
    background: #1877F2;
}

.gesa-share-btn--whatsapp {
    background: #25D366;
}

.gesa-share-btn--instagram {
    background: radial-gradient(circle at 30% 30%,
    #fff 0,
    #fff 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285AEB 90%);
}

/* kleiner „Erfolg“-Effekt beim Kopieren */
.gesa-share-btn--instagram.gesa-share-btn--success {
    box-shadow: 0 0 0 2px rgba(255,255,255,0.7), 0 0 0 6px rgba(40,90,235,0.4);
    transform: translateY(-1px) scale(1.02);
}

.gesa-hauttyp-quiz {
    width: 1000px!important;
    min-width: 1000px!important;
    height: 550px;
}

.gesa-stresstyp-wrapper .gesa-answer {
    bottom: -400px;
}