@keyframes gradientBG {
    0% {
        background-position: 0 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0 50%;
    }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    line-height: 1.6;
    background-color: #1e272e;
}

.landing {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
}

.landing h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
}

.landing p {
    font-size: 1.5rem;
    font-weight: 400;
    max-width: 1000px;
    padding: 0 25px 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: auto auto 180px auto;
}

.container:hover {
    transform: scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

input, select, #output, #reportContainer {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: #fff;
    transition: all .3s ease-in-out;
}

input:hover, input:focus, select:hover, select:focus {
    background-color: #dfe4ea;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
}

.btn-primary {
    background: linear-gradient(to right, #0062cc, #007bff);
    border: none;
    transition: all .3s ease-in-out;
}

.btn-secondary {
    background: linear-gradient(to right, #6c757d, #6c757d);
    border: none;
    transition: all .3s ease-in-out;
}

.btn:hover {
    opacity: 0.8;
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.agent_question {
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 0.2rem;
}

footer {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;
    color: white;
    text-align: center;
    padding: 10px 0;
}

footer p {
    margin-top: 5px;
    margin-bottom: 0;
}

.margin-div {
    margin-top: 20px;
    margin-bottom: 20px;
    padding: 25px;
}

.images_div {
    padding: 0 25px 0 25px;
}

.agent_response {
    background-color: #747d8c;
    margin: 10px;
    padding: 10px;
    border-radius: 12px;
}

#output {
    height: 300px;
    overflow: auto;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 10px;
    border-radius: 12px;
}

#reportContainer {
    font-family: 'Georgia', 'Times New Roman', Times, "Courier New", serif;
    font-size: 18px !important;
    background-color: rgba(255, 255, 255, 0.1);
    font-family: 'Times New Roman', Times, "Courier New", serif;
    border: none;
    color: #fff;
    transition: all .3s ease-in-out;
    padding: 25px;
    border-radius: 12px;
}

.tags-input {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    border: 1px solid #ccc;
    padding: 5px;
    border-radius: 5px;
}

.tag {
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    display: flex;
    align-items: center;
}

.tag .remove-tag {
    margin-left: 10px;
    cursor: pointer;
    font-weight: bold;
}

.tag-input {
    border: none;
    outline: none;
    flex-grow: 1;
}

footer a {
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Add or modify these styles at the end of the file */
#selectedImagesContainer {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    color: #fff;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#selectedImagesContainer h3 {
    width: 100%;
    margin-top: 0;
    margin-bottom: 10px;
    color: #fff;
}

#selectedImagesContainer img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 8px;
}

#selectedImagesContainer img:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.image-dialog img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.image-dialog button {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.image-dialog button:hover {
    background-color: #0056b3;
}
