.openButton { padding: 10px 20px; font-size: 16px; background-color: #007bff; color: white; border: none; border-radius: 5px; cursor: pointer; margin-top: 2em; transition: background-color 0.3s ease; } .openButton:hover { background-color: #0056b3; } .modalBackground { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); display: flex; justify-content: center; align-items: center; z-index: 1000; } .modalContent { background-color: white; padding: 20px; border-radius: 10px; width: 80%; max-width: 600px; position: relative; } .heading { font-size: 24px; font-weight: bold; margin-bottom: 15px; color: #333; } .cardContainer { display: flex; flex-wrap: wrap; gap: 15px; margin-top: 15px; } .card { background-color: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; padding: 15px; flex: 1 1 calc(50% - 20px); /* Adjust the width for two columns */ max-width: calc(50% - 20px); box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); } .cardTitle { font-size: 18px; font-weight: bold; margin-bottom: 10px; } .cardContent { margin-bottom: 5px; font-size: 14px; color: #555; } .cardFooter { font-size: 12px; color: #666; } .noReports { font-size: 16px; color: #999; text-align: center; width: 100%; } .closeButton { margin-top: 15px; padding: 10px 20px; font-size: 16px; background-color: #dc3545; color: white; border: none; border-radius: 5px; cursor: pointer; transition: background-color 0.3s ease; } .closeButton:hover { background-color: #a71d2a; }