/* ── Survey Wrap ──────────────────────────────────────── */
#ppm-survey-wrap {
    margin: 0 auto;
    max-width: 600px;
    font-family: inherit;
}

.ppm-hidden {
    display: none !important;
}

/* ── Steps ────────────────────────────────────────────── */
.ppm-survey-step {
    animation: ppmFadeIn .25s ease;
}

@keyframes ppmFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ── Headings ─────────────────────────────────────────── */
.ppm-survey-label {
    font-size: .8em;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: #888;
    margin: 0 0 6px;
}

.ppm-survey-heading {
    font-size: 1.5em;
    margin-top: 0;
    margin-bottom: 8px;
    color: inherit;
}

.ppm-survey-subheading {
    margin-top: 0;
    margin-bottom: 20px;
    line-height: 1.6;
}

.ppm-discount-highlight {
    color: #16a34a;
}

/* ── Star rating ──────────────────────────────────────── */
.ppm-stars-wrap {
    display: flex;
    gap: 6px;
    margin-bottom: 10px;
}

.ppm-star {
    background: none;
    border: none;
    font-size: 3em;
    cursor: pointer;
    color: #d1d5db;
    transition: color .15s, transform .1s;
    padding: 0;
    line-height: 1;
}

.ppm-star:hover {
    background-color: transparent;
}

.ppm-star:hover,
.ppm-star.ppm-star-hover,
.ppm-star.ppm-star-selected {
    color: #f59e0b;
    transform: scale(1.12);
}

.ppm-stars-hint {
    font-size: .85em;
    color: #999;
    margin: 0 0 4px;
}

/* ── Form layout ─────────────────────────────────────── */
.ppm-field-row {
    display: flex;
    gap: 16px;
}

.ppm-field-row .ppm-field-group {
    flex: 1;
}

.ppm-field-group {
    margin-bottom: 14px;
    display: flex;
    flex-direction: column;
}

.ppm-field-group label {
    font-weight: 600;
    margin-bottom: 4px;
}

.ppm-required {
    color: #e80000;
}

/* ── Submit button ───────────────────────────────────── */
.ppm-submit-btn {
    display: inline-block;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 12px 28px;
    font-size: 1em;
    font-weight: 600;
    cursor: pointer;
    margin-top: 6px;
    transition: background .15s, opacity .15s;
    width: 100%;
}

.ppm-submit-btn:disabled {
    opacity: .65;
    cursor: not-allowed;
}

/* ── Error – zwykły tekst ────────────────────────────── */
.ppm-form-error {
    color: #e80000;
    margin-bottom: 10px;
    margin-top: 0;
}

/* ── Zgoda RODO ──────────────────────────────────────── */
.ppm-consent-group {
    margin-top: 52px;
}

.ppm-consent-label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-weight: 400 !important;
    font-size: .93em;
    line-height: 1.5;
    cursor: pointer;
}

.ppm-consent-label input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
}

.ppm-rodo-info {
    font-size: .82em;
    color: #888;
    line-height: 1.5;
    margin: 0 0 16px;
    border-left: 3px solid #e5e7eb;
    padding-left: 10px;
}

/* ── Responsive ──────────────────────────────────────── */
@media (max-width: 480px) {
    .ppm-field-row {
        flex-direction: column;
        gap: 0;
    }

    .ppm-star {
        font-size: 2.4em;
    }
}
