#report-fab {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 900;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border: none;
    border-radius: 50px;
    background: var(--accent);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.35);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

#report-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(59, 130, 246, 0.45);
}

#report-fab:active {
    transform: translateY(0);
}

#report-fab svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

#report-modal {
    position: fixed;
    inset: 0;
    z-index: 950;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

#report-modal.open {
    display: flex;
}

.report-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(3px);
}

.report-dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
    padding: 28px;
}

.report-close {
    position: absolute;
    top: 14px;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.report-close:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.report-close svg {
    width: 18px;
    height: 18px;
}

.report-title {
    font-family: 'Outfit', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.report-desc {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.5;
}

.report-field {
    display: block;
    margin-bottom: 16px;
}

.report-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.report-label .report-required {
    color: var(--accent);
}

.report-input,
.report-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.report-input:focus,
.report-textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.report-textarea {
    min-height: 110px;
    resize: vertical;
    line-height: 1.5;
}

.report-textarea::placeholder {
    color: var(--text-muted);
}

.report-counter {
    display: block;
    text-align: right;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
}

.report-turnstile-wrap {
    display: flex;
    justify-content: center;
    margin: 4px 0 18px;
}

.report-error {
    display: none;
    font-size: 13px;
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-sm);
    padding: 10px 12px;
    margin-bottom: 14px;
    line-height: 1.5;
}

.report-error.show {
    display: block;
}

.report-submit {
    width: 100%;
    padding: 12px;
    border: none;
    border-radius: var(--radius);
    background: var(--accent);
    color: #ffffff;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.report-submit:hover:not(:disabled) {
    transform: translateY(-1px);
}

.report-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#report-toast {
    position: fixed;
    left: 50%;
    bottom: 28px;
    transform: translateX(-50%) translateY(20px);
    z-index: 980;
    max-width: calc(100vw - 40px);
    padding: 12px 18px;
    border-radius: var(--radius);
    background: var(--bg-card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

#report-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

#report-toast.success {
    border-left: 4px solid #10b981;
}

#report-toast.error {
    border-left: 4px solid #ef4444;
}

#report-toast.warn {
    border-left: 4px solid #f59e0b;
}

@media (max-width: 600px) {
    #report-fab {
        right: 14px;
        bottom: 14px;
        padding: 11px 14px;
        font-size: 13px;
    }

    .report-dialog {
        padding: 22px 18px;
    }
}
