/* Last item of the global menu, right after the links. */
.docs-feedback-hint {
    margin-left: 0.75rem;
    font-size: 0.85rem;
    white-space: nowrap;
    color: #777;
}

.docs-feedback-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.45);
}

.docs-feedback-dialog {
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.25rem 1.5rem 1.5rem;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    color: #393939;
}

.docs-feedback-dialog h2 {
    margin: 0 0 1rem;
    font-size: 1.15rem;
}

.docs-feedback-dialog label {
    display: block;
    margin: 0 0 0.35rem;
    font-size: 0.85rem;
    font-weight: 700;
}

.docs-feedback-quote {
    margin: 0 0 1rem;
    padding: 0.6rem 0.8rem;
    border-left: 3px solid #034ad8;
    background: #f4f6fb;
    font-size: 0.9rem;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.docs-feedback-dialog textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    font-size: 0.9rem;
    resize: vertical;
}

.docs-feedback-dialog textarea[readonly] {
    background: #f7f7f7;
    color: #555;
}

.docs-feedback-preview {
    margin-top: 1rem;
}

.docs-feedback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    margin-top: 1rem;
}

.docs-feedback-actions button {
    padding: 0.45rem 0.9rem;
    border: 1px solid #034ad8;
    border-radius: 4px;
    background: #fff;
    color: #034ad8;
    font: inherit;
    font-size: 0.9rem;
    cursor: pointer;
}

.docs-feedback-actions button.docs-feedback-primary {
    background: #034ad8;
    color: #fff;
}

.docs-feedback-actions button.docs-feedback-plain {
    border-color: transparent;
    color: #777;
}

.docs-feedback-address {
    flex-basis: 100%;
    margin: 0;
    font-size: 0.8rem;
    color: #777;
    overflow-wrap: anywhere;
}

.docs-feedback-toast {
    position: fixed;
    left: 50%;
    bottom: 2rem;
    z-index: 100000001;
    transform: translateX(-50%);
    max-width: 90vw;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    background: #393939;
    color: #fff;
    font-size: 0.9rem;
}
