.issue-report-page {
    background: linear-gradient(180deg, #f8fbff 0%, #eef4ff 100%);
    color: #0f172a;
    min-height: 100vh;
}

.issue-report-main {
    padding: 56px 20px 80px;
}

.issue-report-shell {
    margin: 0 auto;
    max-width: 720px;
}

.issue-report-card {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.18);
    border-radius: 24px;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
    padding: 28px;
}

.issue-report-card h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin: 0 0 12px;
}

.issue-report-card p {
    color: #475569;
    line-height: 1.6;
    margin: 0 0 22px;
}

.issue-report-form {
    display: grid;
    gap: 18px;
}

.issue-report-field {
    display: grid;
    gap: 8px;
}

.issue-report-field label {
    color: #0f172a;
    font-weight: 700;
}

.issue-report-field textarea {
    background: #fff;
    border: 1px solid rgba(148, 163, 184, 0.4);
    border-radius: 18px;
    color: #0f172a;
    font: inherit;
    min-height: 220px;
    padding: 16px 18px;
    resize: vertical;
    width: 100%;
}

.issue-report-field textarea:focus,
.issue-report-file-button:focus-visible,
.issue-report-submit:focus-visible {
    outline: 3px solid rgba(59, 130, 246, 0.24);
    outline-offset: 2px;
}

.issue-report-helper {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.55;
    margin: 0;
}

.issue-report-file-input {
    display: none;
}

.issue-report-file-button {
    align-items: center;
    background: #eff6ff;
    border: 1px dashed rgba(59, 130, 246, 0.45);
    border-radius: 18px;
    color: #1d4ed8;
    cursor: pointer;
    display: inline-flex;
    font-weight: 700;
    gap: 10px;
    justify-content: center;
    min-height: 54px;
    padding: 14px 18px;
    text-align: center;
}

.issue-report-file-meta {
    color: #334155;
    font-size: 0.95rem;
    font-weight: 600;
}

.issue-report-diagnostics {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    display: grid;
    gap: 10px;
    padding: 16px 18px;
}

.issue-report-diagnostics-toggle {
    align-items: flex-start;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    font-weight: 700;
    gap: 10px;
    line-height: 1.45;
}

.issue-report-diagnostics-toggle input {
    accent-color: #3b82f6;
    height: 18px;
    margin: 2px 0 0;
    width: 18px;
}

.issue-report-diagnostics-preview {
    display: grid;
    gap: 8px;
}

.issue-report-diagnostics-preview[hidden] {
    display: none;
}

.issue-report-diagnostics-preview pre {
    background: #0f172a;
    border-radius: 12px;
    color: #e2e8f0;
    font: 0.8rem/1.5 ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    margin: 0;
    max-height: 240px;
    overflow: auto;
    padding: 12px;
    white-space: pre-wrap;
    word-break: break-word;
}

.issue-report-submit {
    background: #3b82f6;
    border: 0;
    border-radius: 999px;
    color: #fff;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 700;
    min-height: 52px;
    padding: 14px 22px;
    transition: box-shadow 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
    width: 100%;
}

.issue-report-submit:hover {
    box-shadow: 0 18px 34px rgba(59, 130, 246, 0.24);
    transform: translateY(-1px);
}

.issue-report-submit:disabled {
    cursor: wait;
    opacity: 0.7;
    transform: none;
}

@media (max-width: 640px) {
    .issue-report-main {
        padding: 36px 16px 64px;
    }

    .issue-report-card {
        border-radius: 20px;
        padding: 22px;
    }
}
