*, *::before, *::after { box-sizing: border-box; }

html {
    scroll-behavior: smooth;
    -webkit-tap-highlight-color: transparent;
}

body.report-bug-page {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #1c1c1c;
    color: #d1d5db;
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.report-bug-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid #2a2a2a;
    position: sticky;
    top: 0;
    z-index: 10;
    background: #1c1c1c;
}

.report-bug-header h1 {
    margin: 0;
    font-size: 0.95rem;
    color: #ececec;
}

.report-bug-header a {
    color: #4ade80;
    text-decoration: none;
    font-size: 0.85rem;
}

.report-bug-header a:hover { color: #6ee8a0; }

.report-bug-main {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 32px 20px 64px;
}

.report-bug-main h2 {
    margin: 0 0 8px 0;
    font-size: 1.35rem;
    color: #f0f0f0;
}

.report-bug-intro {
    margin: 0 0 24px 0;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #94a3b8;
}

.report-bug-form label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.82rem;
    color: #cbd5e1;
}

.report-bug-form input,
.report-bug-form textarea {
    width: 100%;
    background: #252525;
    border: 1px solid #3a3a3a;
    border-radius: 10px;
    color: #ececec;
    font-family: inherit;
    font-size: 0.9rem;
    padding: 11px 14px;
    margin-bottom: 18px;
    transition: border-color 0.2s;
}

.report-bug-form input:focus,
.report-bug-form textarea:focus {
    outline: none;
    border-color: #4ade80;
}

.report-bug-form textarea {
    min-height: 160px;
    resize: vertical;
    line-height: 1.5;
}

.report-bug-form button[type="submit"] {
    width: 100%;
    background: #4ade80;
    color: #1a1a1a;
    border: none;
    border-radius: 999px;
    padding: 12px 18px;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, opacity 0.2s;
}

.report-bug-form button[type="submit"]:hover:not(:disabled) {
    background: #6ee8a0;
}

.report-bug-form button[type="submit"]:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.report-bug-hint {
    margin: -10px 0 18px 0;
    font-size: 0.75rem;
    color: #64748b;
}

.report-bug-status {
    margin-top: 16px;
    padding: 12px 14px;
    border-radius: 10px;
    font-size: 0.85rem;
    line-height: 1.45;
}

.report-bug-status[hidden] { display: none !important; }

.report-bug-status--error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

.report-bug-status--success {
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.35);
    color: #86efac;
}

.report-bug-login {
    padding: 20px;
    border: 1px solid #333;
    border-radius: 12px;
    background: #222;
    text-align: center;
}

.report-bug-login p {
    margin: 0 0 14px 0;
    font-size: 0.88rem;
    color: #94a3b8;
    line-height: 1.5;
}

.report-bug-login a {
    display: inline-block;
    color: #4ade80;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.report-bug-login a:hover { color: #6ee8a0; }

.report-bug-form[hidden],
.report-bug-login[hidden] { display: none !important; }
