/**
 * 会议评分弹窗 + 列表页星星样式
 */

/* ========== 评分弹窗遮罩 ========== */
.rating-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

/* ========== 评分卡片 ========== */
.rating-modal-card {
    background: white;
    border-radius: var(--radius-lg, 12px);
    padding: 32px;
    width: 380px;
    max-width: 90vw;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.rating-modal-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main, #1a1a1a);
    margin-bottom: 24px;
}

/* ========== 星星按钮 ========== */
.rating-stars {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.rating-stars .star {
    background: none;
    border: none;
    font-size: 2rem;
    color: #d1d5db;
    cursor: pointer;
    padding: 4px;
    transition: color 0.15s, transform 0.15s;
    line-height: 1;
}

.rating-stars .star:hover {
    transform: scale(1.15);
}

.rating-stars .star.active {
    color: #f59e0b;
}

/* ========== 反馈文本框 ========== */
.rating-feedback {
    width: 100%;
    min-height: 72px;
    padding: 10px 12px;
    border: 1.5px solid var(--border-color, #e5e7eb);
    border-radius: var(--radius-sm, 8px);
    font-size: 0.85rem;
    resize: vertical;
    margin-bottom: 20px;
    font-family: inherit;
    box-sizing: border-box;
}

.rating-feedback:focus {
    outline: none;
    border-color: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.15);
}

/* ========== 操作按钮 ========== */
.rating-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.rating-actions .btn-skip {
    padding: 8px 20px;
    border: 1.5px solid var(--border-color, #e5e7eb);
    background: white;
    color: var(--text-muted, #6b7280);
    border-radius: var(--radius-sm, 8px);
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.15s;
}

.rating-actions .btn-skip:hover {
    background: #f9fafb;
    border-color: #d1d5db;
}

.rating-actions .btn-submit {
    padding: 8px 24px;
    border: none;
    background: #22c55e;
    color: white;
    border-radius: var(--radius-sm, 8px);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.15s;
}

.rating-actions .btn-submit:hover:not(:disabled) {
    background: #16a34a;
}

.rating-actions .btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========== 列表页内联星星 ========== */
.metric-tag.rating {
    color: #f59e0b;
    font-size: 0.8rem;
    letter-spacing: 1px;
}
