.bug-report-body {
    margin: 0;
    min-height: 100vh;
    color: #f4f6fb;
    background: #05060a;
    font-family: var(--font-family, Inter, system-ui, sans-serif);
}

.bug-report-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 70% 45% at 50% -10%, rgba(124, 246, 10, 0.16), transparent 60%),
        radial-gradient(ellipse 50% 40% at 100% 20%, rgba(91, 140, 255, 0.12), transparent 55%),
        linear-gradient(180deg, #0a0c12 0%, #05060a 100%);
}

.bug-report-page {
    position: relative;
    z-index: 1;
    max-width: 560px;
    margin: 0 auto;
    padding: 18px 18px 48px;
}

.bug-report-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.bug-report-back {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.bug-report-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bug-report-brand img {
    width: 28px;
    height: 28px;
    border-radius: 8px;
}

.bug-report-hero {
    margin-bottom: 20px;
}

.bug-report-eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.bug-report-hero h1,
.bug-report-success h2 {
    margin: 0 0 10px;
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.bug-report-lead,
.bug-report-success p {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.5;
    font-size: 14px;
}

.bug-report-card,
.bug-report-success__card {
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(18, 20, 28, 0.88);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 22px 18px 18px;
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.bug-report-label {
    display: block;
    margin: 0 0 8px;
    font-size: 13px;
    font-weight: 700;
}

.bug-report-textarea {
    width: 100%;
    box-sizing: border-box;
    min-height: 140px;
    resize: vertical;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.28);
    color: #fff;
    padding: 14px 14px;
    font: inherit;
    line-height: 1.45;
}

.bug-report-textarea:focus {
    outline: none;
    border-color: rgba(124, 246, 10, 0.5);
    box-shadow: 0 0 0 3px rgba(124, 246, 10, 0.12);
}

.bug-report-meta-row,
.bug-report-photos-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin: 8px 0 16px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.45);
}

.bug-report-photos-head {
    margin: 4px 0 10px;
}

.bug-report-hint {
    color: rgba(255, 255, 255, 0.42);
    font-size: 12px;
}

.bug-report-drop {
    border-radius: 18px;
    border: 1.5px dashed rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.03);
    transition: border-color 0.18s ease, background 0.18s ease;
}

.bug-report-drop.is-dragover {
    border-color: rgba(124, 246, 10, 0.55);
    background: rgba(124, 246, 10, 0.06);
}

.bug-report-drop__inner {
    text-align: center;
    padding: 26px 16px;
}

.bug-report-drop__icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 12px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9dff4d;
    background: linear-gradient(160deg, rgba(124, 246, 10, 0.18), rgba(124, 246, 10, 0.04));
    border: 1px solid rgba(124, 246, 10, 0.22);
}

.bug-report-drop__inner p {
    margin: 0 0 6px;
    font-size: 14px;
}

.bug-report-choose {
    margin-top: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border-radius: 999px;
    padding: 10px 16px;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.bug-report-previews {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.bug-report-preview {
    position: relative;
    aspect-ratio: 1;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: #101218;
}

.bug-report-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bug-report-preview__remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 26px;
    height: 26px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
}

.bug-report-context {
    margin: 18px 0 16px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.bug-report-context__title {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
}

.bug-report-context ul {
    margin: 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.68);
    font-size: 13px;
    line-height: 1.55;
}

.bug-report-error {
    margin: 0 0 12px;
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.28);
    color: #ff9b8f;
    font-size: 13px;
}

.bug-report-submit {
    width: 100%;
    min-height: 50px;
    border: none;
    border-radius: 16px;
    background: linear-gradient(180deg, #a4ff4d, #7cf60a);
    color: #07170a;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(124, 246, 10, 0.18);
}

.bug-report-submit:disabled {
    opacity: 0.55;
    cursor: wait;
}

.bug-report-submit--ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

.bug-report-success {
    padding-top: 40px;
}

.bug-report-success__card {
    text-align: center;
}

.bug-report-success__badge {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #07170a;
    background: linear-gradient(180deg, #a4ff4d, #7cf60a);
}

.bug-report-success__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 22px;
}

@media (max-width: 420px) {
    .bug-report-previews {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .bug-report-success__actions {
        grid-template-columns: 1fr;
    }
}
