/* General Body and Container Styles for Compact Layout */ body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; background-color: #f4f7f9; color: #333; margin: 0; padding: 10px; /* Reduced padding for mobile */ } .container { width: 100%; max-width: 700px; /* Reduced max-width for a more compact column */ background-color: #fff; padding: 20px; /* Reduced padding */ border-radius: 10px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); margin: 10px auto; } header { text-align: center; border-bottom: 1px solid #e0e0e0; padding-bottom: 15px; margin-bottom: 20px; } header h1 { font-size: 1.8em; color: #0056b3; margin: 0; } h2 { font-size: 1.4em; color: #0056b3; margin-top: 25px; margin-bottom: 15px; border-top: 1px solid #eee; padding-top: 15px; display: flex; /* For aligning toggle icon */ justify-content: space-between; /* For aligning toggle icon */ align-items: center; /* For aligning toggle icon */ } h2:first-of-type { margin-top: 0; border-top: none; padding-top: 0; } /* Form Element Styles */ textarea, input[type="text"] { width: 100%; padding: 12px; /* Reduced padding */ border: 1px solid #ccc; border-radius: 5px; font-size: 1em; box-sizing: border-box; margin-bottom: 10px; } textarea#reportBody { height: 150px; resize: vertical; } button { display: inline-block; width: auto; padding: 10px 18px; /* Adjusted padding */ background-color: #007bff; color: white; border: none; border-radius: 5px; font-size: 1em; font-weight: bold; cursor: pointer; margin-top: 5px; transition: background-color 0.3s; } button:hover { background-color: #0056b3; } button:disabled { background-color: #a0c3e6; cursor: not-allowed; } #uploadForm button { width: 100%; padding: 12px; } /* Container and Entry Styles */ .result-container, .history-container, .reports-container { background-color: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 5px; padding: 5px 20px; min-height: 40px; } .history-entry, .report-entry { border-bottom: 1px solid #eee; padding: 12px 0; } .history-entry:last-child, .report-entry:last-child { border-bottom: none; } .report-entry { display: flex; justify-content: space-between; align-items: center; gap: 10px; } .report-entry h3 { margin: 0; font-size: 1.1em; color: #0056b3; } .report-entry p { margin: 4px 0 0 0; font-size: 0.9em; } #uploadStatus { margin-top: 10px; font-size: 0.9em; } footer { text-align: center; margin-top: 25px; padding-top: 15px; border-top: 1px solid #e0e0e0; font-size: 0.8em; color: #777; } /* Collapsible Section Styles */ .collapsible-header { cursor: pointer; } .toggle-icon { font-size: 1.2em; font-weight: bold; color: #007bff; } .reports-container.collapsed { display: none; } /* Modal Styles */ .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.5); } .modal-content { background-color: #fefefe; margin: 15% auto; padding: 25px; border: 1px solid #888; width: 90%; max-width: 600px; border-radius: 10px; position: relative; } .modal-close-button { color: #aaa; position: absolute; top: 10px; right: 20px; font-size: 28px; font-weight: bold; } .modal-close-button:hover, .modal-close-button:focus { color: black; text-decoration: none; cursor: pointer; } #modalTitle { margin-top: 0; padding-top: 0; border-top: none; } .modal-body-container { background-color: #f8f9fa; border: 1px solid #e0e0e0; border-radius: 5px; padding: 15px; max-height: 60vh; overflow-y: auto; white-space: pre-wrap; font-family: monospace; } /* ... (all your existing CSS from the last step) ... */ /* NEW: Header content layout */ .header-content { display: flex; justify-content: center; align-items: center; gap: 15px; margin-bottom: 10px; } /* NEW: Styles for the image logo icon */ .logo-icon { width: 40px; height: 40px; object-fit: cover; /* Ensures the image scales nicely */ } /* NEW: Footer layout and link styles */ footer { display: flex; justify-content: space-between; align-items: flex-end; text-align: left; /* Align text to the left */ } .footer-links h3 { margin-top: 0; margin-bottom: 10px; font-size: 1em; color: #333; } .footer-links ul { list-style: none; padding: 0; margin: 0; } .footer-links ul li { margin-bottom: 5px; } .footer-links a { text-decoration: none; color: #0056b3; font-size: 0.9em; } .footer-links a:hover { text-decoration: underline; } .footer-copyright { text-align: right; }