.feedback-launcher {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    min-height: 48px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    color: #ffffff;
    background: #09395f;
    box-shadow: 0 10px 28px rgba(8, 28, 48, 0.26);
    font: 700 15px/1 "Fredoka", "Segoe UI", sans-serif;
    cursor: pointer;
    gap: 8px;
}

.feedback-icon {
    font-size: 18px;
    line-height: 1;
}

.feedback-launcher:hover,
.feedback-launcher:focus-visible {
    outline: 3px solid rgba(242, 140, 24, 0.42);
    outline-offset: 3px;
    background: #0b5f95;
}

.feedback-dialog {
    position: fixed;
    inset: 0;
    z-index: 1001;
    display: none;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 18px;
    background: rgba(4, 18, 32, 0.38);
}

.feedback-dialog.is-open {
    display: flex;
}

.feedback-panel {
    width: min(420px, 100%);
    padding: 18px;
    border-radius: 18px;
    background: #fffaf0;
    box-shadow: 0 18px 48px rgba(8, 28, 48, 0.28);
    color: #102338;
}

.feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.feedback-title {
    font: 700 20px/1.2 "Fredoka", "Segoe UI", sans-serif;
}

.feedback-close {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    color: #102338;
    background: #ffffff;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.feedback-field {
    display: grid;
    gap: 6px;
    margin: 12px 0;
    color: #42576b;
    font: 700 13px/1.25 "Segoe UI", sans-serif;
}

.feedback-field input,
.feedback-field textarea,
.feedback-field select {
    width: 100%;
    border: 2px solid rgba(9, 57, 95, 0.14);
    border-radius: 12px;
    padding: 11px 12px;
    color: #102338;
    background: #ffffff;
    font: 500 15px/1.35 "Segoe UI", sans-serif;
}

.feedback-field textarea {
    min-height: 112px;
    resize: vertical;
}

.feedback-hidden {
    display: none;
}

.feedback-submit {
    width: 100%;
    min-height: 44px;
    margin-top: 8px;
    border: 0;
    border-radius: 12px;
    color: #ffffff;
    background: #f28c18;
    font: 700 16px/1 "Fredoka", "Segoe UI", sans-serif;
    cursor: pointer;
}

.feedback-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

.feedback-status {
    min-height: 20px;
    margin-top: 10px;
    color: #42576b;
    font: 600 13px/1.35 "Segoe UI", sans-serif;
}

@media (max-width: 520px) {
    .feedback-dialog {
        align-items: flex-end;
        padding: 10px;
    }

    .feedback-launcher {
        right: 12px;
        bottom: 12px;
        padding: 0;
        width: 48px;
        border-radius: 50%;
        gap: 0;
    }

    .feedback-text {
        display: none;
    }
}
