/* Shared frontend styling for TFS Modular Review Engine. Keep selectors prefixed to avoid theme conflicts. */
.tfsr-form-message {
    margin-top: 10px;
    font-size: 14px;
}

.tfsr-form-message.is-error {
    color: #b32d2e;
}

.tfsr-form-message.is-success {
    color: #1a7f37;
}

.comment-form-tfsr-media input[type="file"] {
    display: block;
    margin-top: 6px;
}

.comment-form-tfsr-media small {
    display: block;
    margin-top: 4px;
    opacity: 0.75;
}

.tfsr-review-media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 160px));
    gap: 10px;
    margin-top: 12px;
    align-items: start;
}

.tfsr-review-image,
.tfsr-review-video {
    width: 160px;
    max-width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.tfsr-qa-wrap {
    margin-top: 20px;
}

.tfsr-qa-item {
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.tfsr-qa-question {
    width: 100%;
    text-align: left;
    background: #f7f7f7;
    border: 0;
    padding: 14px 16px;
    font-weight: 700;
    cursor: pointer;
}

.tfsr-qa-answer {
    padding: 14px 16px;
}

.tfsr-question-form {
    margin-top: 24px;
    padding: 16px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}

.tfsr-question-form input,
.tfsr-question-form textarea {
    width: 100%;
    max-width: 680px;
}

.tfsr-account-list {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

.tfsr-account-card {
    padding: 14px;
    border: 1px solid rgba(0, 0, 0, 0.12);
    border-radius: 8px;
}
