/* General styles */ .container { display: flex; flex-wrap: wrap; justify-content: center; padding: 10px; overflow-y: auto; max-height: calc(100% - 160px); /* Adjusted max-height for buttons */ font-family: 'Courier New', Courier, monospace; } .category { margin-bottom: 20px; } .category h2 { text-align: center; font-size: 24px; font-weight: bold; margin: 0; padding: 10px; border-bottom: 2px solid #ddd; background-color: #f9f9f9; width: 100%; box-sizing: border-box; } .heading { text-align: center; font-size: 28px; font-weight: bold; margin-bottom: 20px; } .initials { font-weight: bold; color: #ff0000; } html, body { margin: 0; padding: 0; height: 100%; width: 100%; overflow: hidden; position: absolute; } /* Table styling */ .table-container { margin-top: 10px; display: flex; justify-content: center; } .table-wrapper { width: 100%; max-width: 800px; margin-bottom: 30px; } .table { border-collapse: collapse; width: 100%; } .table th, .table td { padding: 12px 20px; text-align: left; } .table th { background-color: #333; color: #fff; } .table td { background-color: #f9f9f9; color: #333; } .table tr:nth-child(even) td { background-color: #f2f2f2; } .category-row { background-color: #666; color: #fff; font-weight: bold; } .category-cell { padding: 10px; font-size: 18px; text-transform: uppercase; border-top: 1px solid #ccc; border-bottom: 1px solid #ccc; } /* Button styling */ .button-container { text-align: center; margin-top: 20px; } .button-container button { margin-right: 10px; } .action-button { margin: 0 10px; padding: 10px; font-size: 16px; font-weight: bold; color: #ffffff; background-color: #007bff; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .action-button:hover { background-color: #0056b3; } /* media query for 'print' */ @media print{ body, html, #page-container, .scrollable-page, .ps, .panel { height: 100% !important; width: 100% !important; position: absolute; margin-bottom: 0 !important; padding-bottom: 0 !important; } .button-container { display: none; } }