/* Lobby “Report a bug” — matches High Seas overlay panels */

.lobby-bug-link {
    flex-basis: 100%;
    width: auto !important;
    min-width: 0 !important;
    margin: 4px 0 0 !important;
    padding: 4px 8px !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.9;
}

.lobby-bug-link:hover,
.lobby-bug-link:focus {
    background: transparent !important;
    border: none !important;
    color: #ffe8a0 !important;
}

.bug-report-overlay {
    position: fixed;
    z-index: 1220;
}

.bug-report-modal {
    max-width: 440px;
    width: min(440px, 94vw);
    text-align: left;
    padding: 24px 22px 20px;
}

.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: auto;
        width: auto !important;
        min-height: 36px;
        margin-top: 2px !important;
    }

    .bug-report-modal {
        max-width: min(480px, 94vw);
    }
}
