.modal-overlay{z-index:988;background-color:rgba(0,0,0,.7);justify-content:center;align-items:center;padding:20px;animation:.2s ease-out fadeIn;display:flex;position:fixed;top:0;bottom:0;left:0;right:0}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.modal{background-color:#141619;border-radius:15px;flex-direction:column;max-height:90vh;animation:.3s ease-out slideUp;display:flex;overflow:hidden}@keyframes slideUp{0%{opacity:0;transform:translateY(20px)}to{opacity:1;transform:translateY(0)}}.modal-small{width:300px;max-width:90vw}.modal-medium{width:400px;max-width:90vw}.modal-large{width:600px;max-width:90vw}.modal-full{width:90vw;height:90vh}.modal-header{flex-shrink:0;justify-content:space-between;align-items:center;padding:20px 24px;display:flex}.modal-title{color:#fff;text-align:center;width:100%;margin:0;font-size:18px;font-weight:700}.modal-close-button{color:#ccc;cursor:pointer;background:0 0;border:none;border-radius:4px;justify-content:center;align-items:center;padding:4px;font-size:20px;transition:all .2s;display:flex}.modal-close-button:hover{color:#fff;background-color:#333}.modal-content{flex:1;padding:24px;overflow-y:auto}.modal-actions{flex-shrink:0;justify-content:center;gap:12px;padding:20px 24px;display:flex}.modal-button{cursor:pointer;border:none;border-radius:5px;min-width:80px;height:32px;padding:0 24px;font-size:14px;font-weight:500;line-height:32px;transition:all .2s}.modal-button-primary{color:#000;background-color:#00d4aa}.modal-button-primary:hover:not(:disabled){background-color:#00b894}.modal-button-secondary{color:#fff;background:0 0;border:1px solid #4c525c}.modal-button-secondary:hover:not(:disabled){background-color:#333;border-color:#666}.modal-button-danger{color:#fff;background-color:#f44}.modal-button-danger:hover:not(:disabled){background-color:#c33}.modal-button:disabled{opacity:.5;cursor:not-allowed}.signature-content{flex-direction:column;gap:24px;display:flex}.message-section{flex-direction:column;gap:8px;display:flex}.message-container{background-color:#141619;border:1px solid #4c525c;border-radius:4px;justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.message-text{color:#fff;word-break:break-all;flex:1;font-family:monospace;font-size:14px}.message-instruction{color:#ccc;margin:0;font-size:12px}.signature-section{flex-direction:column;gap:8px;display:flex}.signature-label{color:#fff;font-size:14px;font-weight:500}.signature-input{color:#fff;background-color:#141619;border:1px solid #4c525c;border-radius:4px;outline:none;height:120px;padding:12px 16px;font-size:14px;transition:border-color .2s}.signature-input:focus{border-color:#00d4aa}.signature-input::placeholder{color:#666}.success-content{text-align:center;flex-direction:column;align-items:center;padding:20px 24px;display:flex}.success-icon{color:#000;background-color:#00d4aa;border-radius:50%;justify-content:center;align-items:center;width:60px;height:60px;margin-bottom:16px;font-size:32px;display:flex}.success-message{color:#fff;margin:0;font-size:18px;font-weight:500}.confirm-content{text-align:center;padding:20px 0}.confirm-message{color:#fff;margin:0;font-size:16px;line-height:1.5}@media (max-width:768px){.modal-overlay{padding:10px}.modal-small,.modal-medium,.modal-large{width:100%;max-width:100%}.modal-header,.modal-content,.modal-actions{padding:16px}.modal-actions{flex-direction:column}.modal-button{width:100%}}
