/* Lobby “Report a bug” — matches High Seas overlay panels */

.lobby-bg,
.lobby-bg-dim {
    pointer-events: none;
}

.lobby-footer {
    position: relative;
    z-index: 8;
    pointer-events: auto;
}

.lobby-bug-link {
    flex: 1 0 100%;
    width: auto !important;
    min-width: 0 !important;
    margin: 4px 0 0 !important;
    padding: 8px 12px !important;
    font-size: 0.82rem !important;
    font-weight: 500;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #8aa8c8 !important;
    text-decoration: underline;
    text-underline-offset: 3px;
    opacity: 0.95;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    z-index: 9;
}

.lobby-bug-link:hover,
.lobby-bug-link:focus {
    background: transparent !important;
    border: none !important;
    color: #ffe8a0 !important;
}

.page-lobby .lobby-overlay {
    overflow-x: hidden;
    overflow-y: auto;
}

.bug-report-overlay {
    position: fixed !important;
    inset: 0;
    z-index: 2000;
    display: flex;
    pointer-events: auto;
}

.bug-report-overlay.hidden {
    display: none !important;
}

.bug-report-modal {
    max-width: 440px;
    width: min(440px, 94vw);
    max-height: min(88vh, 720px);
    text-align: left;
    padding: 24px 22px 20px;
    overflow-y: auto;
}

.bug-report-eyebrow {
    margin: 0 0 4px;
    font-size: 0.78rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #8aa8c8;
}

.bug-report-modal h2 {
    margin: 0 0 8px;
    color: #ffe8a0;
    font-size: 1.3rem;
}

.bug-report-sub {
    margin: 0 0 12px;
    font-size: 0.88rem;
    line-height: 1.45;
    color: #8aa8c8;
}

.bug-report-form .field-label {
    margin-top: 8px;
}

.bug-report-modal textarea,
.bug-report-modal input[type="text"],
.bug-report-modal input[type="email"] {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #2a4a68;
    background: rgba(6, 16, 28, 0.9);
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
    margin-bottom: 2px;
}

.bug-report-modal textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.45;
}

.bug-report-status {
    min-height: 1.3em;
    margin: 8px 0 0;
    font-size: 0.9rem;
    color: #9ec5e8;
}

.bug-report-status.is-ok {
    color: #7ec8a0;
}

.bug-report-status.is-error {
    color: #ff8080;
}

.bug-report-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}

.bug-report-actions button {
    width: auto;
    flex: 1 1 140px;
    margin: 0 !important;
}

@media (max-width: 768px) {
    .lobby-bug-link {
        flex-basis: 100%;
        width: auto !important;
        min-height: 40px;
        margin-top: 2px !important;
    }

    .bug-report-modal {
        max-width: min(480px, 94vw);
    }
}
