:host { display: flex; flex-direction: column; align-items: center; height: 104vh; width: 5rem; background-color: #1e1e2f; padding-top: 1rem; padding-bottom: 2rem; box-sizing: border-box; color: white; } .sidebar-logo img { display: block; margin: 0 auto; } .sidebar-menu { list-style: none; padding: 0; margin: 2rem 0 0; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; width: 100%; } .sidebar-menu li { display: flex; flex-direction: column; align-items: center; font-size: 0.75rem; padding: 0.5rem 0; cursor: pointer; transition: background 0.2s; } .sidebar-menu li:hover { background-color: #2a2a3d; } .sidebar-menu i { font-size: 1.2rem; margin-bottom: 0.3rem; } /* Modal Overlay */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.4); display: flex; justify-content: center; align-items: center; z-index: 999; } .modal-box { width: 800px; height: 500px; background: #fff; padding: 30px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); color: black; display: flex; /* 🔥 Add flex */ flex-direction: column; /* 🔥 Column layout */ } .modal-title { text-align: center; font-weight: bold; font-size: 20px; margin-bottom: 20px; } .modal-body { margin-bottom: 20px; } .modal-body label { font-size: 14px; display: block; margin-bottom: 5px; } .modal-input { width: 100%; padding: 10px; font-size: 16px; border: 1px solid #ccc; } .modal-footer { display: flex; justify-content: space-between; margin-top: auto; /* 👈 Push footer to bottom */ } .cancel-btn, .print-btn { width: 48%; padding: 10px; font-size: 16px; border: none; cursor: pointer; } .cancel-btn { background-color: #ccc; } .print-btn { background-color: #2c3e50; color: white; } /* pay-out */ .modal-overlay { position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; background: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 999; } .modal-box { width: 800px; height: 500px; background: #fff; padding: 30px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); color: black; display: flex; flex-direction: column; } .modal-title { text-align: center; font-weight: bold; font-size: 20px; margin-bottom: 20px; } .modal-body { margin-bottom: 20px; } .modal-body label { font-size: 14px; display: block; margin-bottom: 5px; } .modal-input { width: 100%; padding: 10px; font-size: 16px; border: 1px solid #ccc; } .modal-footer { display: flex; justify-content: space-between; margin-top: auto; gap: 10px; } .cancel-btn, .print-btn, .erase-btn { flex: 1; padding: 10px; font-size: 16px; border: none; cursor: pointer; } .cancel-btn { background-color: #ccc; } .erase-btn { background-color: #f0ad4e; color: white; } .print-btn { background-color: #2c3e50; color: white; } /* Modal Overlays */ .deposit-modal-overlay, .withdraw-modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; } /* Modal Boxes */ .deposit-modal-box, .withdraw-modal-box { width: 700px; background: #fff; color: black; padding: 30px; border-radius: 6px; box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25); } /* Titles */ .deposit-modal-title { text-align: center; font-weight: bold; font-size: 20px; color: #2980b9; margin-bottom: 20px; } .withdraw-modal-title { text-align: center; font-weight: bold; font-size: 20px; color: #c0392b; margin-bottom: 20px; } /* Inputs */ .deposit-input, .withdraw-input { width: 100%; padding: 10px; margin-bottom: 15px; font-size: 16px; border: 1px solid #ccc; } /* Layout */ .deposit-modal-content, .withdraw-modal-content { display: flex; justify-content: space-between; gap: 20px; } .deposit-form, .withdraw-form, .deposit-numpad-section, .withdraw-numpad { flex: 1; } /* Numpads */ .deposit-numpad, .withdraw-numpad { width: 100%; } .row { display: flex; justify-content: space-between; margin-bottom: 10px; } .row button { flex: 1 1 30%; margin: 0 5px; padding: 10px; font-size: 16px; background-color: white; border: 1px solid orange; cursor: pointer; border-radius: 4px; transition: background 0.2s; } .row button:hover { background-color: #ffe4c4; } .back-btn { background-color: #f9d3b4 !important; } /* Footer Buttons */ .deposit-footer, .withdraw-footer { display: flex; justify-content: space-between; margin-top: 20px; } .deposit-cancel-btn, .withdraw-cancel-btn, .deposit-print-btn, .withdraw-print-btn { width: 48%; padding: 12px; font-size: 16px; border: none; cursor: pointer; border-radius: 4px; } .deposit-cancel-btn { background-color: #bdc3c7; } .deposit-print-btn { background-color: #2980b9; color: white; } .withdraw-cancel-btn { background-color: #ecf0f1; } .withdraw-print-btn { background-color: #c0392b; color: white; } /* Balance Container Above Numpad */ .deposit-balance-container, .withdraw-balance-container { width: 100%; background-color: #f0f0f0; padding: 12px 15px; border-radius: 4px; margin-bottom: 15px; text-align: center; } .deposit-balance, .withdraw-balance { font-size: 18px; font-weight: bold; color: #2c3e50; }