/* 通话记录弹窗样式 */ .call-record-modal .ant-modal { border-radius: 12px; overflow: hidden; max-height: 90vh; top: 5vh; } .call-record-modal .ant-modal-content { border-radius: 12px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12); } .call-record-modal .ant-modal-header { background: linear-gradient(135deg, #1890ff 0%, #096dd9 100%); border-bottom: none; padding: 16px 24px; } .call-record-modal .ant-modal-title { color: white; font-size: 16px; font-weight: 600; } .call-record-modal .ant-modal-close { color: rgba(255, 255, 255, 0.85); } .call-record-modal .ant-modal-close:hover { color: white; background: rgba(255, 255, 255, 0.1); border-radius: 50%; } .call-record-modal .ant-modal-body { padding: 0; max-height: calc(90vh - 60px); overflow: hidden; display: flex; flex-direction: column; height: auto; } .call-record-modal .modal-loading { display: flex; justify-content: center; align-items: center; min-height: 300px; background: #fafbfc; } .call-record-modal .modal-error { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 300px; gap: 16px; background: #fafbfc; padding: 24px; } .call-record-modal .modal-error .error-text { color: #ff4d4f; margin: 0; font-size: 14px; } .call-record-modal .modal-not-connected { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 300px; background: #fafbfc; color: #999; font-size: 14px; gap: 8px; } .call-record-modal .modal-not-connected::before { content: '📞'; font-size: 48px; opacity: 0.3; } .call-record-modal .modal-content { display: flex; flex-direction: column; flex: 1; width: 100%; background: #fff; min-height: 0; max-height: calc(90vh - 120px); box-sizing: border-box; } /* 响应式适配 */ @media (max-width: 640px) { .call-record-modal .ant-modal { max-width: calc(100vw - 32px); margin: 16px auto; } }