/* Modal Styles - Trace: SDD_LLD_0030, SRD_InterfaceReq_0015 */ /* Backdrop - darkens background when modal is open */ .modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 1000; animation: fadeIn 0.2s ease; } @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } } /* Modal Container */ .modal-container { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); background: white; border-radius: 16px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3); z-index: 1001; max-width: 500px; width: 90%; animation: slideUp 0.3s ease; } @keyframes slideUp { from { opacity: 0; transform: translate(-50%, -40%); } to { opacity: 1; transform: translate(-50%, -50%); } } /* Modal Header */ .modal-header { padding: 32px 32px 24px 32px; display: flex; flex-direction: column; align-items: center; gap: 16px; border-bottom: 1px solid #e2e8f0; } .modal-icon { font-size: 3rem; line-height: 1; } .modal-title { font-size: 1.5rem; font-weight: 700; color: #1a1a1a; margin: 0; text-align: center; } /* Modal Body */ .modal-body { padding: 24px 32px; } .modal-message { font-size: 1rem; color: #4a5568; line-height: 1.6; margin: 0; text-align: center; } /* Modal Footer */ .modal-footer { padding: 16px 32px 32px 32px; display: flex; justify-content: center; } .modal-footer .btn { min-width: 120px; } /* Modal Type Variants */ .modal-error .modal-header { border-bottom-color: #feb2b2; } .modal-error .modal-icon { color: #f56565; } .modal-warning .modal-header { border-bottom-color: #fbd38d; } .modal-warning .modal-icon { color: #ed8936; } .modal-info .modal-header { border-bottom-color: #90cdf4; } .modal-info .modal-icon { color: #4299e1; } /* Responsive Design */ @media (max-width: 640px) { .modal-container { width: 95%; max-width: none; } .modal-header { padding: 24px 20px 16px 20px; } .modal-body { padding: 20px; } .modal-footer { padding: 12px 20px 24px 20px; } .modal-title { font-size: 1.25rem; } .modal-icon { font-size: 2.5rem; } }