/* 分享按钮 */
.btn-share { display: inline-flex; align-items: center; gap: 5px; padding: 6px 16px; font-size: .9rem; font-weight: 500; color: #4abc99; background: transparent; border: 1px solid #4abc99; border-radius: 6px; cursor: pointer; transition: all 0.2s; }
.btn-share:hover { background: #4abc99; color: white; }
.btn-share svg { flex-shrink: 0; }
.btn-assignment-return { justify-content: center; min-height: 33px; line-height: 1.2; text-decoration: none; white-space: nowrap; }
.btn-assignment-return:hover { text-decoration: none; }
.btn-share-disabled { color: #aaa; border-color: #ddd; cursor: not-allowed; opacity: 0.5; }
.btn-share-disabled:hover { background: transparent; color: #aaa; }

/* 分享弹窗 */
.share-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.4); z-index: 1000; display: flex; align-items: center; justify-content: center; }
.share-modal { background: #fff; border-radius: 12px; padding: 28px; max-width: 480px; width: 90%; box-shadow: 0 8px 32px rgba(0,0,0,.15); }
.share-modal h3 { margin: 0 0 16px; font-size: 1.1rem; }
.share-text-area {
    width: 100%; min-height: 90px; padding: 12px 14px; border: 1px solid #dddde8;
    border-radius: 8px; font-size: .9rem; background: #f8fafc; color: var(--color-text-primary, #334155);
    font-family: inherit; resize: none; margin-bottom: 12px; line-height: 1.6; box-sizing: border-box;
}
.share-url-row { display: flex; gap: 8px; }
.btn-copy { padding: 10px 20px; background: var(--color-primary, #4abc99); color: #fff; border: none; border-radius: 8px; font-size: .9rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-copy-full { width: 100%; }
.btn-copy:hover { opacity: .85; }
.share-modal-close { margin-top: 12px; text-align: right; }
.share-modal-close-btn { color: var(--color-text-muted, #64748b); font-size: .85rem; cursor: pointer; text-decoration: none; border: none; background: transparent; padding: 0; font: inherit; }
.share-modal-close-btn:hover { color: var(--color-text-primary, #334155); }
