/* Shared AI-answer feedback widget styling. Self-contained (no dependency on any surface's
   own stylesheet) so it looks consistent across Public/Admin2/Institute/Exec/Student. */
.baf-wrap {
    margin-top: 8px;
    padding: 8px 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.82rem;
    color: #555;
}
.baf-prompt {
    margin-bottom: 4px;
    font-weight: 500;
}
.baf-stars {
    display: inline-flex;
    gap: 2px;
    margin-bottom: 4px;
}
.baf-star {
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    color: #d0d0d0;
    user-select: none;
    transition: color 0.1s ease;
}
.baf-star:hover,
.baf-star.baf-star-filled {
    color: #f5a623;
}
.baf-comment-wrap {
    margin-top: 6px;
}
.baf-comment-label {
    font-size: 0.78rem;
    color: #777;
    margin-bottom: 4px;
}
.baf-comment {
    width: 100%;
    max-width: 420px;
    min-height: 48px;
    padding: 6px 8px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 0.82rem;
    font-family: inherit;
    resize: vertical;
    box-sizing: border-box;
}
.baf-submit {
    display: block;
    margin-top: 6px;
    padding: 4px 12px;
    font-size: 0.8rem;
    border: 1px solid #3b82f6;
    background: #3b82f6;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
}
.baf-submit:hover {
    background: #2563eb;
}
.baf-submit:disabled {
    opacity: 0.6;
    cursor: default;
}
.baf-thanks {
    font-size: 0.82rem;
    color: #1d7a34;
    padding: 2px 0;
}
