.home-corner-dock__btn--report {
    color: #dc2626;
}

.home-corner-dock__btn--report:hover {
    border-color: rgba(220, 38, 38, 0.25);
    color: #b91c1c;
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.08),
        0 10px 24px rgba(220, 38, 38, 0.16);
}

.issue-report-modal[hidden] {
    display: none !important;
}

.issue-report-modal {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.issue-report-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(3px);
}

.issue-report-modal__panel {
    position: relative;
    width: min(100%, 520px);
    max-height: 90vh;
    overflow: auto;
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: #fff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
    padding: 24px;
}

.issue-report-modal__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px;
}

.issue-report-modal__head h2 {
    margin: 0;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.35rem;
}

.issue-report-modal__close {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 999px;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
}

.issue-report-modal__desc {
    margin: 0 0 18px;
    color: #64748b;
    line-height: 1.55;
}

.issue-report-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.issue-report-form__honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.issue-report-form__label {
    font-size: 0.88rem;
    font-weight: 700;
    color: #334155;
}

.issue-report-form__input,
.issue-report-form__textarea {
    width: 100%;
    border: 1px solid #dbe3ea;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: #0f172a;
    background: #fff;
    box-sizing: border-box;
}

.issue-report-form__input:focus,
.issue-report-form__textarea:focus {
    outline: none;
    border-color: #6d5dfc;
    box-shadow: 0 0 0 3px rgba(109, 93, 252, 0.14);
}

.issue-report-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.issue-report-form__captcha-row {
    display: grid;
    grid-template-columns: auto auto 1fr;
    gap: 10px;
    align-items: center;
}

.issue-report-form__captcha-code {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 92px;
    min-height: 44px;
    padding: 0 12px;
    border-radius: 10px;
    border: 1px dashed #cbd5e1;
    background: #f8fafc;
    font-family: 'Space Grotesk', monospace;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: #334155;
}

.issue-report-form__captcha-refresh {
    width: 44px;
    height: 44px;
    border: 1px solid #dbe3ea;
    border-radius: 10px;
    background: #fff;
    color: #64748b;
    cursor: pointer;
}

.issue-report-form__hint {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #94a3b8;
}

.issue-report-form__actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 8px;
}

.issue-report-form__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-radius: 12px;
    border: none;
    font-weight: 700;
    cursor: pointer;
}

.issue-report-form__btn--ghost {
    background: #f8fafc;
    color: #475569;
}

.issue-report-form__btn--primary {
    background: linear-gradient(135deg, #6d5dfc, #8b7cf8);
    color: #fff;
}

.issue-report-modal__message {
    margin: 14px 0 0;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
}

.issue-report-modal__message--success {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.issue-report-modal__message--error {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

body.issue-report-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .issue-report-modal {
        padding: 12px;
        align-items: flex-end;
    }

    .issue-report-modal__panel {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        width: 100%;
        max-height: 88vh;
    }

    .issue-report-form__captcha-row {
        grid-template-columns: 1fr 44px;
    }

    .issue-report-form__captcha-code {
        grid-column: 1 / -1;
    }
}
