#tobricks-feedback-widget-root {
    position: fixed;
    z-index: 999999;
    right: 20px;
    bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.4;
}

#tobricks-feedback-fab {
    background: #1e293b;
    color: #fff;
    border-radius: 24px;
    padding: 11px 16px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.25);
    user-select: none;
}

#tobricks-feedback-fab:hover {
    background: #0f172a;
}

#tobricks-feedback-panel {
    position: fixed;
    right: 20px;
    bottom: 68px;
    width: min(370px, calc(100vw - 40px));
    max-height: min(82vh, 740px);
    background: #fff;
    border: 1px solid #d8dee9;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.25);
    border-radius: 12px;
    overflow: hidden;
    display: none;
}

#tobricks-feedback-panel.is-open {
    display: block;
}

.tobricks-feedback-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #0f172a;
    color: #fff;
    padding: 8px 10px;
}

#tobricks-feedback-close {
    border: 0;
    color: #fff;
    background: transparent;
    cursor: pointer;
    font-size: 22px;
    line-height: 1;
}

.tobricks-feedback-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 12px;
}

.tobricks-feedback-form label {
    display: block;
}

.tobricks-feedback-form textarea,
.tobricks-feedback-form input[type="file"] {
    width: 100%;
    box-sizing: border-box;
}

.tobricks-feedback-form textarea {
    min-height: 130px;
    resize: vertical;
}

.tobricks-feedback-mode-row {
    display: flex;
    gap: 12px;
    margin: 4px 0;
}

.tobricks-feedback-hint {
    font-size: 12px;
    color: #334155;
    min-height: 18px;
}

.tobricks-feedback-shortcuts-title {
    font-size: 12px;
    font-weight: 700;
    margin-top: 8px;
    margin-bottom: 4px;
    color: #334155;
}

.tobricks-feedback-shortcuts {
    display: block;
    margin-top: 0;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px;
    background: #f8fafc;
    color: #334155;
    line-height: 1.35;
    word-break: break-word;
    font-size: 11px;
}

.tobricks-feedback-shortcuts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tobricks-feedback-shortcuts-list li {
    display: flex;
    gap: 8px;
    align-items: flex-start;
}

.tobricks-feedback-shortcut-key {
    color: #0369a1;
    font-weight: 700;
    flex-shrink: 0;
    min-width: 118px;
}

.tobricks-feedback-shortcut-label {
    color: #1e293b;
}

.tobricks-feedback-shortcuts-empty {
    margin: 0;
}

#tobricks-feedback-submit {
    border: 0;
    background: #0ea5e9;
    color: white;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
}

#tobricks-feedback-submit:disabled {
    opacity: 0.6;
    cursor: default;
}

.tobricks-feedback-status {
    margin: 2px 0 0;
    min-height: 18px;
    font-size: 12px;
    color: #0f172a;
}

.tobricks-feedback-pick-hover {
    outline: 2px dashed #0ea5e9 !important;
    outline-offset: 2px;
    cursor: crosshair !important;
}

.tobricks-feedback-overlay-active :hover {
    cursor: crosshair;
}

html.tobricks-feedback-picking,
html.tobricks-feedback-picking * {
    cursor: crosshair !important;
}
