/* Modals Styles */ /* Password Modal */ #password-modal { display: none; position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.7); z-index: 3000; align-items: center; justify-content: center; } #password-modal.show { display: flex; } .password-modal-content { background: #222; color: #fff; border-radius: 8px; padding: 32px 24px 24px 24px; min-width: 320px; box-shadow: 0 0 20px #000; display: flex; flex-direction: column; align-items: center; position: relative; } .password-modal-title { font-family: 'Press Start 2P', monospace; font-size: 18px; margin-bottom: 18px; } #password-modal-input { font-size: 20px; font-family: 'VT323', monospace; padding: 8px 12px; border-radius: 4px; border: 1px solid #444; background: #111; color: #fff; width: 90%; margin-bottom: 10px; } #password-modal-input:focus { outline: none; border-color: #3498db; box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.3); } .password-modal-checkbox-container { width: 90%; display: flex; align-items: center; margin-bottom: 8px; } #password-modal-show { margin-right: 6px; } .password-modal-checkbox-label { font-size: 14px; font-family: 'VT323', monospace; color: #aaa; cursor: pointer; } .password-modal-buttons { display: flex; gap: 12px; } .password-modal-button { font-size: 16px; font-family: 'Press Start 2P'; border: none; border-radius: 4px; padding: 8px 18px; cursor: pointer; } #password-modal-ok { background: #3498db; color: #fff; } #password-modal-cancel { background: #444; color: #fff; } .password-modal-button:hover { opacity: 0.9; } /* General Modal Styles */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.5); z-index: 2500; display: flex; align-items: center; justify-content: center; } .modal-content { background: #222; color: white; border-radius: 8px; padding: 24px; max-width: 90%; max-height: 90%; overflow-y: auto; box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); font-family: 'Press Start 2P'; } .modal-header { font-size: 18px; margin-bottom: 16px; color: #3498db; border-bottom: 1px solid #444; padding-bottom: 8px; } .modal-body { font-family: 'VT323', monospace; font-size: 16px; line-height: 1.4; margin-bottom: 16px; } .modal-footer { display: flex; justify-content: flex-end; gap: 12px; } .modal-button { font-size: 14px; font-family: 'Press Start 2P'; border: none; border-radius: 4px; padding: 8px 16px; cursor: pointer; transition: background-color 0.2s; } .modal-button.primary { background: #3498db; color: white; } .modal-button.primary:hover { background: #2980b9; } .modal-button.secondary { background: #444; color: white; } .modal-button.secondary:hover { background: #555; }