.stumed-wrap {
    max-width: 640px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.stumed-intro {
    color: #555;
    margin-bottom: 24px;
}

.stumed-alert {
    padding: 12px 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.stumed-alert-danger {
    background: #fdecea;
    border: 1px solid #f5c2c0;
    color: #8a1f11;
}
.stumed-alert ul {
    margin: 0;
    padding-left: 20px;
}

.stumed-qcard {
    display: flex;
    gap: 16px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,.04);
}

.stumed-qnum {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #1a4a6e;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}
.stumed-qnum-icon {
    font-size: 15px;
}

.stumed-qbody {
    flex: 1;
}

.stumed-qtitle {
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;
}

.stumed-stars {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 6px;
}
.stumed-stars input {
    display: none;
}
.stumed-stars label {
    font-size: 2.2rem;
    color: #d0d0d0;
    cursor: pointer;
    transition: color .15s, transform .15s;
    line-height: 1;
}
.stumed-stars label:hover,
.stumed-stars label:hover ~ label,
.stumed-stars input:checked ~ label {
    color: #f0a500;
    transform: scale(1.15);
}

.stumed-yn {
    display: flex;
    gap: 10px;
}
.stumed-yn input {
    display: none;
}
.stumed-yn label {
    padding: 10px 28px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    color: #555;
    transition: background .15s, color .15s, border-color .15s;
}
.stumed-yn input:checked + label {
    background: #1a4a6e;
    border-color: #1a4a6e;
    color: #fff !important;
}

.stumed-select,
.stumed-input,
.stumed-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d5d5d5;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    font-family: inherit;
}
.stumed-textarea {
    resize: vertical;
}

.stumed-review-banner {
    display: none;
}

.stumed-actions {
    margin: 24px 0 40px;
}

/* --- Modale recensione Google --- */
.stumed-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(20, 30, 40, .55);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
}
.stumed-modal-overlay.stumed-modal-visible {
    display: flex;
}
.stumed-modal-box {
    background: #fff;
    border-radius: 14px;
    max-width: 380px;
    width: 100%;
    padding: 32px 28px 28px;
    text-align: center;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,.2);
}
.stumed-modal-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 26px;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 4px;
}
.stumed-modal-close:hover {
    color: #333;
}
.stumed-modal-icon {
    font-size: 2.2rem;
    color: #f0a500;
    margin-bottom: 6px;
}
.stumed-modal-box h3 {
    margin: 0 0 10px;
}
.stumed-modal-box p {
    color: #666;
    font-size: 14px;
    margin-bottom: 20px;
}

.stumed-btn-submit,
.stumed-btn-secondary {
    display: inline-block;
    background: #1a4a6e;
    color: #fff !important;
    border: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
}
.stumed-btn-submit:hover,
.stumed-btn-secondary:hover {
    background: #143a56;
}

.stumed-grazie {
    text-align: center;
    padding: 40px 20px;
}
.stumed-grazie-icon {
    font-size: 3rem;
    color: #1e8449;
    margin-bottom: 12px;
}
