/* style.css */
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background-color: #f8f9fa; color: #333; margin: 0; padding: 20px; }
.container { max-width: 1200px; margin: 0 auto; }
h1 { text-align: center; color: #2c3e50; margin-bottom: 5px; }
.subtitle { text-align: center; color: #7f8c8d; margin-bottom: 20px; font-size: 14px; }
.controls { display: flex; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.search-bar { flex: 1; padding: 12px; font-size: 15px; border: 1px solid #bdc3c7; border-radius: 6px; outline: none; transition: border-color 0.3s; }
.search-bar:focus { border-color: #3498db; }
.table-responsive { background: #fff; border-radius: 8px; box-shadow: 0 4px 6px rgba(0,0,0,0.05); overflow-x: auto; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 12px 15px; border-bottom: 1px solid #ecf0f1; font-size: 14px; }
th { background: #34495e; color: white; text-transform: uppercase; font-size: 12px; letter-spacing: 0.5px; }
tr.past { background-color: #fdfdfd; color: #95a5a6; }
tr.future { background-color: #ffffff; color: #2c3e50; }
tr:hover { background-color: #f1f4f6; }
.badge { padding: 4px 8px; border-radius: 4px; font-size: 11px; font-weight: bold; }
.badge-past { background: #ecf0f1; color: #7f8c8d; }
.badge-future { background: #e8f8f5; color: #1abc9c; }
.checked { font-weight: bold; color: #27ae60; text-align: center; }

/* Modal Overlay Styles */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0, 0, 0, 0.6); z-index: 1000; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box; }
.modal-content { background: #fff; width: 100%; max-width: 700px; max-height: 85vh; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.3); display: flex; flex-direction: column; overflow: hidden; }
.modal-header { padding: 15px 20px; background: #34495e; color: white; display: flex; justify-content: space-between; align-items: center; }
.modal-header h2 { margin: 0; font-size: 18px; }
.modal-close { background: none; border: none; color: white; font-size: 24px; cursor: pointer; }
.modal-body { padding: 20px; overflow-y: auto; font-family: monospace; white-space: pre-wrap; background: #fdfdfd; color: #2c3e50; line-height: 1.5; font-size: 14px; }
.modal-body table { width: 100%; border-collapse: collapse; margin-top: 10px; margin-bottom: 10px; }
.modal-body th, .modal-body td { border: 1px solid #dcdde1; padding: 8px 12px; text-align: left; font-size: 13px; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; }
.modal-body th { background-color: #f1f2f6; color: #2f3640; }