.ju-survey-wrapper {
    background: transparent;
}

.ju-survey-title {
}

.ju-survey-description {
    margin-bottom: 1em;
}

.ju-survey-success {
    padding: 15px 15px;
    border-radius: 4px;
    border: 1px solid #8bc34a;
    background: #e0ffe0;
    color: #2e7d32;
    margin-bottom: 1em;

}

.ju-survey-questions {
    margin-bottom: 20px;
}

.ju-survey-question {
    display: none;
    padding: 1em;
    border-radius: 4px;
    background: transparent;
    border: 1px solid #eee;
}

.ju-survey-question-active {
    display: block;
}

.ju-survey-question-text h4 {
    font-size: 22px;
}

.ju-survey-step {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #999;
}

.ju-survey-stars {
    margin: 10px 0;
}

.ju-survey-star {
    font-size: 40px;
    line-height: 1;
    border: none;
    background: none;
    padding: 0 4px;
    cursor: pointer;
    color: #d0d0d0;
    transition: transform 0.1s ease, color 0.1s ease;
}

.ju-survey-star:hover {
    transform: scale(1.1);
}

/* Standard aktive Sterne (falls keine Note-Klasse gesetzt) */
.ju-survey-star-active {
    color: var(--ju-primary, #0073aa);
}

/* Farbcode je Note: 1 = grün ... 5 = rot */
.ju-survey-stars.ju-survey-note-1 .ju-survey-star-active {
    color: #e53935; /* nicht genügend – Rot */
}

.ju-survey-stars.ju-survey-note-2 .ju-survey-star-active {
    color: #fb8c00; /* genügend – dunkleres Orange */
}

.ju-survey-stars.ju-survey-note-3 .ju-survey-star-active {
    color: #ffa000; /* befriedigend – Orange */
}

.ju-survey-stars.ju-survey-note-4 .ju-survey-star-active {
    color: #66bb6a; /* gut – helleres Grün */
}

.ju-survey-stars.ju-survey-note-5 .ju-survey-star-active {
    color: #2e7d32; /* sehr gut – kräftiges Grün */

}

.ju-survey-error {
    margin-top: 8px;
    color: #d32f2f;
}

.ju-survey-question-error {
    border-color: #d32f2f;
    background: #ffebee;
}

.ju-survey-message-wrapper {
    margin-bottom: 15px;
    display: none;
}

.ju-survey-message-wrapper textarea {
    width: 100%;
    min-height: 80px;
    border-radius: 4px;
    border: 1px solid #ddd;
    padding: 8px;
}

.ju-survey-message-wrapper textarea:focus {
    outline: none;
    border-color: var(--ju-primary, #0073aa);
    box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.18);
}

.ju-survey-navigation {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 10px;
}

.ju-survey-btn {
    border-radius: 4px;
    border: none;
    padding: 15px 15px;
    cursor: pointer;
    background: var(--ju-primary, #0073aa);
    color: #fff;    
    transition: background 0.15s ease, transform 0.05s ease, box-shadow 0.1s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.ju-survey-btn:hover {
    background: #005f8a;
}

.ju-survey-btn:active {
    transform: translateY(1px);
    box-shadow: 0 0 0 rgba(0,0,0,0.15);
}

.ju-survey-prev {
    background: #e0e0e0;
    color: #333;
}

.ju-survey-prev:hover {
    background: #d5d5d5;
}

.ju-survey-submit {
    background: #46b450;
}

.ju-survey-submit:hover {
    background: #37963f;
}

@media (max-width: 480px) {
    .ju-survey-wrapper {
        padding: 18px;
        margin: 20px auto;
    }
    .ju-survey-star {
        font-size: 26px;
    }
    .ju-survey-navigation {
        flex-direction: column;
    }
    .ju-survey-btn {
        width: 100%;
        text-align: center;
    }
}
