/* Floating feedback button. Everything lives under .da-fb-* so it can
   sit on any page without picking up the page's button styles. */

.da-fb-root {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 1100;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, "Helvetica Neue", sans-serif;
}

.da-fb-launcher {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 12px 18px 12px 14px;
    background: var(--blue, #1d3fbf);
    color: #fff;
    font: 700 15px/1 inherit;
    box-shadow: 0 6px 20px rgba(22, 28, 60, .22), 0 1px 2px rgba(0, 0, 0, .12);
}
.da-fb-launcher:hover { background: var(--blue-dark, #16309a); }
.da-fb-launcher:focus-visible { outline: 3px solid var(--star, #e8a11c); outline-offset: 2px; }

.da-fb-launcher-icon { width: 22px; height: 22px; flex: 0 0 22px; }
.da-fb-launcher-label { white-space: nowrap; }

@media (max-width: 759px) {
    .da-fb-root {
        right: 12px;
        bottom: calc(var(--tabs, 68px) + 12px + env(safe-area-inset-bottom));
    }
    .da-fb-launcher { padding: 12px; }
    .da-fb-launcher-label { display: none; }
    body.quest-player .da-fb-root,
    body.guide-player .da-fb-root,
    body.park-player .da-fb-root {
        bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

.da-fb-modal[hidden] { display: none; }
.da-fb-modal {
    position: fixed;
    inset: 0;
    z-index: 1200;
    background: rgba(15, 20, 30, .55);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 16px;
}
@media (min-width: 540px) {
    .da-fb-modal { align-items: center; }
}

body.da-fb-open { overflow: hidden; }
body.da-fb-open .da-fb-launcher { visibility: hidden; }

.da-fb-card {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 16px;
    padding: 22px 22px 18px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
    color: #16181d;
}

.da-fb-close {
    position: absolute;
    top: 6px;
    right: 8px;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #6b6f76;
    font: 600 26px/1 inherit;
    cursor: pointer;
    border-radius: 50%;
}
.da-fb-close:hover { background: #f3f4f6; color: #16181d; }
.da-fb-close:focus-visible { outline: 3px solid var(--star, #e8a11c); outline-offset: 2px; }

.da-fb-title {
    margin: 0 24px 6px 0;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}
.da-fb-lead {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 1.45;
    color: #6b6f76;
}

.da-fb-form { display: flex; flex-direction: column; gap: 12px; }
.da-fb-field { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: #374151; }
.da-fb-field > span { font-weight: 600; }
.da-fb-field input,
.da-fb-field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    padding: 10px 12px;
    font: 400 15px/1.4 inherit;
    background: #fff;
    color: #16181d;
}
.da-fb-field input:focus,
.da-fb-field textarea:focus {
    outline: 0;
    border-color: var(--blue, #1d3fbf);
    box-shadow: 0 0 0 3px rgba(29, 63, 191, .18);
}
.da-fb-field textarea { resize: vertical; min-height: 96px; }

.da-fb-hp {
    position: absolute !important;
    left: -10000px !important;
    top: auto !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.da-fb-error,
.da-fb-success {
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1.4;
}
.da-fb-error { background: #fee2e2; color: #991b1b; }
.da-fb-success { background: #d1fae5; color: #065f46; }

.da-fb-submit {
    align-self: flex-end;
    border: 0;
    cursor: pointer;
    border-radius: 999px;
    padding: 11px 22px;
    font: 700 15px/1 inherit;
    background: var(--blue, #1d3fbf);
    color: #fff;
}
.da-fb-submit:hover { background: var(--blue-dark, #16309a); }
.da-fb-submit:focus-visible { outline: 3px solid var(--star, #e8a11c); outline-offset: 2px; }
.da-fb-submit:disabled { opacity: .6; cursor: not-allowed; }
