/*-- Styles --*/

* {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: rgb(220, 230, 210);
    margin: 0;
    padding: 1px;
    display: flex;
    flex-direction: column;
    min-height: 64vh;
}

header {
    background: linear-gradient(rgb(70, 70, 130), #004080);
    color: white;
    text-align: center;
    padding: 0px 10px;
}

/* Main container (flexbox) */
main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Search Form */
#searchForm {
    width: 100%; /* Full width */
    max-width: max-content; /* Max width */
    background: white; /* White background */
    padding: 20px; /* Padding */
    border-radius: 16px; /* Rounded corners */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Shadow */
    text-align: center;
    filter: drop-shadow(0 0 10px rgb(70, 70, 130, 0.9)); /* Shadow */
}

/* Input fields and select */
input, select {
    background: white;
    color: black;
    border: 2px solid lightslategray;
    border-radius: 16px;
    font-size: 1em; /* Base font size */
    padding: 10px 60px;
    text-align: center;
}

select{
    width: 100%;
    padding: 10px 14px;
    text-align: left;
}

/* Button styling */
button {
    background: linear-gradient(rgb(70, 70, 130), #004080); /* Gradient background */
    color: white; /* Text color */
    border: none; /* Remove border */
    border-radius: 16px; /* Rounded corners */
    padding: 10px 15px; /* Padding */
    font-size: 1em; /* Base font size */
    cursor: pointer; /* Cursor on hover */
    transition: background 0.3s; /* Smooth transition */
}

/* Button hover effect */
button:hover {
    background: linear-gradient(#004080, rgb(70, 70, 130)); /* Reverse the gradient on hover */
}

footer {
    color: rgb(50, 50, 50);
    text-align: center;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}

#loadingBar {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 8px; /* Height */
    background-color: rgb(200, 100, 100); /* Green color */
    transform: scaleX(0); /* Initially hidden */
    transition: transform 0.8s ease; /* Smooth transition */
    animation: loadingAnimation 5s linear forwards; /* Adjust duration for speed */
    z-index: 1000; /* Ensure it’s on top */
}

/* Adjust styles for small screens (mobile) */
@media (max-width: 480px) {
    body {
        font-size: medium; /* Smaller font size */
        padding: 0; /* Remove padding */
        margin: 0; /* Remove margin */
        font-size: 0.9.5em; 
    }
    
    input, select, button {
        width: 100%; /* Full width */
        margin: 6px 0; /* Add margin */
    }
}
/* line 115 */