/* RESET */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; overflow: hidden; font-family: Arial, sans-serif; background: #f4f7fb; }

/* HEADER */
.app-header { height: 60px; background: #111; color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0 20px; }
.header-btn { background: #0d6efd; border: none; padding: 8px 15px; color: white; border-radius: 8px; cursor: pointer; font-size: 14px; }
.header-btn:hover { background: #0b5ed7; }

/* MODAL */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); display: none; justify-content: center; align-items: center; z-index: 999; }
.modal-content { width: 100%; max-width: 400px; }
.modal-close { position: absolute; top: 10px; right: 15px; border: none; background: none; font-size: 24px; cursor: pointer; }
.title { margin-bottom: 15px; }

/* FOOTER */
.footer { height: 40px; background: #111; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 14px; }

/* MAIN */
.main-wrapper { height: calc(100vh - 100px); }
.row { margin: 0; }
.card { border-radius: 20px; padding: 30px; background: #fff; }
.card h3 { color: #5a6a85; }
.form-control { border-radius: 10px; font-size: 1.2rem; padding: 12px; text-align: center; }

/* MESSAGE */
#message { margin-top: 15px; font-size: 18px; height: 30px; display: flex; align-items: center; justify-content: center; }
.heartbeat { animation: heartbeat 1.5s; }
@keyframes heartbeat { 0% { transform: scale(1); } 50% { transform: scale(1.2); } 100% { transform: scale(1); } }

/* RIGHT PANEL */
.dark-box { background: #111; color: white; padding: 20px; border-radius: 20px; margin-bottom: 10px; max-width: 230px; width: 100%;  }
#clock .time { font-size: 32px; font-weight: bold; }
#clock .date { font-size: 14px; color: #ccc; }
.stats-box div { display: flex; justify-content: space-between; font-size: 18px; }