/* General styles */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f4f4f4; display: flex; justify-content: center; align-items: center; min-height: 100vh; } .container { background: #ffffff; border-radius: 10px; box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); padding: 20px; max-width: 1200px; width: 100%; } /* Header */ h1 { color: #333; font-size: 24px; margin-bottom: 20px; text-align: center; } /* Form styles */ form { margin: 20px 0; text-align: center; } input[type="file"], button { margin: 10px 0; padding: 10px; border: 1px solid #ccc; border-radius: 5px; display: inline-block; width: auto; } button { background-color: #007bff; color: white; border: none; cursor: pointer; font-size: 16px; } button:hover { background-color: #0056b3; } /* Layout for result container */ .result-container { display: flex; flex-direction: row; /* Ensures elements are side by side */ justify-content: flex-start; /* Align items to the left */ align-items: flex-start; /* Align items at the top */ gap: 20px; /* Space between elements */ margin-top: 20px; } .image-container, .analysis-container { flex: 1; } /* Image styling */ .image-container img { max-width: 100%; height: auto; border: 1px solid #ddd; border-radius: 5px; } /* Analysis section styling */ .analysis-container { text-align: left; background: #f9f9f9; padding: 15px; border-radius: 5px; border: 1px solid #ddd; } .analysis-result { white-space: pre-wrap; font-family: 'Courier New', Courier, monospace; font-size: 14px; color: #555; }