/* SK Feedback page — uses approved homepage visual tokens. MARKET_SCOPE=SK */

body[data-stavbahub-market="sk"][data-stavbahub-surface="feedback"] {
    --hp-blue: #2563eb;
    --hp-blue-deep: #0f274d;
    --hp-blue-soft: #dbe9ff;
    --hp-text: #0f274d;
    --hp-text-muted: #526784;
    --hp-bg: #f5f8fc;
    --hp-surface: #ffffff;
    --hp-border: #dfe7f1;
    --hp-shadow: 0 16px 40px rgba(15, 39, 77, 0.08);
    --hp-radius: 24px;
    background:
        radial-gradient(circle at top left, rgba(37, 99, 235, 0.08), transparent 32%),
        linear-gradient(180deg, #fbfdff 0%, var(--hp-bg) 18%, #f8fbfe 100%);
    color: var(--hp-text);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.feedback-page {
    padding: 2.5rem 0 4rem;
}

.feedback-shell {
    max-width: 720px;
    margin: 0 auto;
}

.feedback-hero {
    margin-bottom: 1.75rem;
}

.feedback-hero h1 {
    font-size: clamp(1.7rem, 3vw, 2.15rem);
    line-height: 1.2;
    letter-spacing: -0.03em;
    color: var(--hp-blue-deep);
    margin-bottom: 0.75rem;
}

.feedback-hero p {
    color: var(--hp-text-muted);
    font-size: 1.05rem;
    max-width: 38rem;
}

.feedback-card {
    background: var(--hp-surface);
    border: 1px solid var(--hp-border);
    border-radius: var(--hp-radius);
    box-shadow: var(--hp-shadow);
    padding: 1.5rem 1.35rem 1.75rem;
}

.feedback-types {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
    margin: 0 0 1.5rem;
    border: 0;
    padding: 0;
}

.feedback-types legend {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.feedback-type {
    display: block;
    cursor: pointer;
}

.feedback-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.feedback-type-card {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 5.25rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--hp-border);
    border-radius: 16px;
    background: #fbfdff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.feedback-type-card strong {
    font-size: 0.98rem;
    color: var(--hp-blue-deep);
}

.feedback-type-card span {
    color: var(--hp-text-muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

.feedback-type input:checked + .feedback-type-card {
    border-color: var(--hp-blue);
    background: var(--hp-blue-soft);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.feedback-type input:focus-visible + .feedback-type-card {
    outline: 2px solid var(--hp-blue);
    outline-offset: 2px;
}

.feedback-field {
    margin-bottom: 1.15rem;
}

.feedback-field label {
    display: block;
    font-weight: 700;
    color: var(--hp-blue-deep);
    margin-bottom: 0.45rem;
}

.feedback-field--primary label {
    font-size: 1.05rem;
}

.feedback-help {
    display: block;
    color: var(--hp-text-muted);
    font-size: 0.86rem;
    font-weight: 500;
    margin-top: 0.35rem;
}

.feedback-card textarea,
.feedback-card input[type="email"] {
    width: 100%;
    border: 1px solid var(--hp-border);
    border-radius: 14px;
    background: #fff;
    color: var(--hp-text);
    font: inherit;
    padding: 0.85rem 0.95rem;
}

.feedback-card textarea {
    min-height: 10.5rem;
    resize: vertical;
}

.feedback-card textarea:focus,
.feedback-card input[type="email"]:focus {
    outline: none;
    border-color: var(--hp-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.feedback-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.feedback-actions {
    display: flex;
    justify-content: flex-end;
}

.feedback-submit {
    background: var(--hp-blue);
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.35rem;
    font-weight: 700;
    cursor: pointer;
}

.feedback-submit:hover:not(:disabled) {
    background: #1d4ed8;
}

.feedback-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
}

.feedback-error {
    color: #b42318;
    font-size: 0.92rem;
    margin: 0 0 0.9rem;
}

.feedback-success {
    text-align: center;
    padding: 2rem 0.5rem 1.25rem;
}

.feedback-success h2 {
    font-size: 1.8rem;
    color: var(--hp-blue-deep);
    margin-bottom: 0.6rem;
}

.feedback-success p {
    color: var(--hp-text-muted);
    margin-bottom: 1.4rem;
}

.feedback-continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.7rem;
    padding: 0.7rem 1.15rem;
    border-radius: 999px;
    background: var(--hp-blue);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

.footer-feedback-cta {
    font-weight: 600;
}

[hidden] {
    display: none !important;
}

@media (max-width: 640px) {
    .feedback-page {
        padding: 1.5rem 0 3rem;
    }

    .feedback-card {
        padding: 1.15rem 1rem 1.35rem;
        border-radius: 20px;
    }

    .feedback-types {
        grid-template-columns: 1fr;
    }

    .feedback-actions {
        justify-content: stretch;
    }

    .feedback-submit {
        width: 100%;
    }
}
