@keyframes gradientBG { 0% { background-position: 0 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0 50%; } } html { scroll-behavior: smooth; font-size: 16px; height: 100%; overflow-x: hidden; /* Prevent horizontal scroll */ } body { font-family: 'Montserrat', sans-serif; color: #fff; line-height: 1.6; background-color: #1e272e; margin: 0; padding: 0; min-height: 100vh; position: relative; overflow-x: hidden; /* Prevent horizontal scroll */ } /* Desktop Styles */ .landing { display: flex; justify-content: center; align-items: center; min-height: 100vh; text-align: center; padding: 2rem 1rem; box-sizing: border-box; } .landing h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 700; margin-bottom: 2rem; } .landing p { font-size: clamp(1.1rem, 3vw, 1.5rem); font-weight: 400; max-width: 1000px; padding: 0 25px; margin: auto auto 2rem auto; } .container { padding: 20px; background-color: rgba(255, 255, 255, 0.1); border-radius: 12px; box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1); transition: all .3s ease-in-out; margin: 2rem auto; max-width: 1200px; width: calc(100% - 4rem); box-sizing: border-box; } .container:hover { transform: scale(1.01); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); } /* Form Elements */ input, select, #output, #reportContainer { background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); color: #fff; transition: all .3s ease-in-out; padding: 12px; border-radius: 6px; width: 100%; box-sizing: border-box; margin-bottom: 1rem; } input:hover, input:focus, select:hover, select:focus { background-color: rgba(223, 228, 234, 0.1); border: 1px solid rgba(255, 255, 255, 0.5); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); outline: none; } /* Buttons */ .btn-container { display: flex; gap: 10px; flex-wrap: wrap; margin: 1rem 0; } .btn-primary, .btn-secondary { background: linear-gradient(to right, #0062cc, #007bff); border: none; color: white; transition: all .3s ease-in-out; padding: 12px 24px; border-radius: 6px; cursor: pointer; font-size: 1rem; min-width: 120px; text-align: center; display: inline-block; } .btn-secondary { background: linear-gradient(to right, #6c757d, #6c757d); } .btn:hover { opacity: 0.9; transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2); } /* Agent Interaction */ .agent_question { font-size: clamp(1.2rem, 3vw, 1.4rem); font-weight: 500; margin-bottom: 0.5rem; } .agent_response { background-color: #747d8c; margin: 1rem 0; padding: 15px; border-radius: 12px; } #output { height: clamp(250px, 50vh, 400px); overflow-y: auto; padding: 15px; margin: 1rem 0; border-radius: 12px; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; } #reportContainer { font-family: 'Georgia', 'Times New Roman', Times, serif; font-size: clamp(16px, 2vw, 18px) !important; padding: 25px; border-radius: 12px; margin: 1rem 0; } /* Tags Input */ .tags-input { display: flex; flex-wrap: wrap; gap: 8px; border: 1px solid rgba(255, 255, 255, 0.2); padding: 10px; border-radius: 8px; margin-bottom: 1rem; } .tag { background-color: #007bff; color: white; padding: 8px 12px; border-radius: 4px; display: flex; align-items: center; gap: 8px; } .tag .remove-tag { cursor: pointer; font-weight: bold; opacity: 0.8; padding: 0 4px; } /* Images */ #selectedImagesContainer { background-color: rgba(255, 255, 255, 0.1); border-radius: 12px; padding: 15px; margin: 1rem 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 15px; width: 100%; box-sizing: border-box; } #selectedImagesContainer img { width: 100%; height: 150px; object-fit: cover; cursor: pointer; transition: transform 0.3s ease; border-radius: 8px; } .image-dialog { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); display: flex; flex-direction: column; justify-content: center; align-items: center; z-index: 1000; } .image-dialog img { max-width: 90%; max-height: 80vh; object-fit: contain; border-radius: 8px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); } /* Footer */ footer { background-color: rgba(30, 39, 46, 0.95); color: white; text-align: center; padding: 15px; width: 100%; box-sizing: border-box; margin-top: 2rem; } /* Mobile Responsive Styles */ @media screen and (max-width: 768px) { html { font-size: 14px; } .container { width: calc(100% - 2rem); padding: 15px; margin: 1rem; } .btn-container { flex-direction: column; } .btn-primary, .btn-secondary { width: 100%; margin: 0; padding: 14px 20px; } #selectedImagesContainer { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); } #selectedImagesContainer img { height: 100px; } .image-dialog img { max-width: 95%; max-height: 70vh; } #output, #reportContainer { padding: 12px; } } /* Tablet Responsive Styles */ @media screen and (min-width: 769px) and (max-width: 1024px) { .container { width: calc(100% - 4rem); margin: 2rem; } .btn-container { justify-content: center; } } /* Touch device optimizations */ @media (hover: none) { .container:hover, .btn:hover, input:hover, select:hover, #selectedImagesContainer img:hover { transform: none; box-shadow: none; } input:focus, select:focus { background-color: rgba(255, 255, 255, 0.15); } .btn:active { transform: translateY(1px); opacity: 0.8; } } /* Print styles */ @media print { body { background: white; color: black; } .container { box-shadow: none; margin: 0; padding: 0; } #output, #reportContainer { border: 1px solid #ddd; } footer { position: fixed; bottom: 0; } }