.top-banner {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    padding: 10px 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}


.maudeicon,
.faersicon {
    width: 400px;
    height: auto;
    margin-left: 50px;
}

.top-banner .logo {
    width: 180px;
    margin-left: 50px;
    height: auto;
}

.top-banner .pill {
    width: 100px;
    height: auto;
}

.contact-info {
    text-align: right;
    padding-right: 50px;
    font-size: 18px;
}

.content {
    margin-top: 60px;
}


/* .container {
    max-width: 600px;
    margin: 0 auto;
    text-align: left;
}
.container {
    margin: 0 auto;
    text-align: left;
} */


select {
    font-size: 18px;
    padding: 10px;
    width: 210px
}

select option {
    font-size: 18px;
}

/* General styling */
body {
    font-family: Arial, sans-serif;
    background-color: #ffffff;
    margin: 0;
    padding: 50px;
    color: #333;
}

p {

    font-size: 22px;
}

h1 {
    color: #3352a4;
    text-align: left;
    margin-top: 20px;
}


form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 0 auto;
    max-width: 800px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 18px;
}

input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 18px;
    max-width: 200px;
}

/* Submit button styling */
input[type="submit"] {
    background-color: #2980b9;
    /* Original blue */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 200px;
    font-size: 18px;
}

input[type="submit"]:hover {
    background-color: #4CAF50;
    /* Darker shade on hover */
}

/* Clear button styling */
.clear-button {
    background-color: #e74c3c;
    /* Red color */
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 200px;
    font-size: 18px;
}

.clear-button:hover {
    background-color: #c0392b;
    /* Darker red on hover */
}

ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

ul.results-list>li:nth-child(odd) {
    background-color: #ffffff;
}

ul.results-list>li:nth-child(even) {
    background-color: #FF5F1F05;
    border: 1px solid #FF5F1F;
}

/* Apply alternating colors to only top-level list items */
ul>li {
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
    font-size: 20px;
    border: 1px solid #aaaaaa;
    background-color: transparent;
}

/* Alternating colors for top-level list items */
ul>li:nth-child(odd) {
    background-color: #ffffff;
}

ul>li:nth-child(even) {
    background-color: #FF5F1F05;
    border: 1px solid #FF5F1F
}

/* Ensure nested lists inherit the background color from their parent */
ul ul {
    background-color: transparent !important;
    padding-left: 20px;
}

ul ul li {
    border: 0px !important;
    background-color: inherit !important;
}

ul li span {
    display: block;
    margin-bottom: 0px;
    line-height: 1.2;
}


.drug-info-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

.drug-info-table th,
.drug-info-table td {
    border: 1px solid #e8e8e8;
    padding: 8px;
    text-align: left;
}

.drug-info-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}

label {
    display: inline-block;
    white-space: nowrap;
    margin-right: 10px;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
    color: #2c3e50;
}

footer {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    margin-top: 40px;
}


.footer-bar {
    border: 0;
    height: 5px;
    background-color: #3a89d9;
    margin-bottom: 20px;
}

.footer-content {
    color: #333;
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}


.footer-content a {
    color: #3352A4;
    text-decoration: none;
    margin: 0 10px;
    font-size: 20px;
    display: flex;
    align-items: center;
    /* Vertically aligns icon and text */
}



.footer-content a:hover {
    text-decoration: underline;
}

/* Buttons */
#purchase-button {
    background-color: #4CAF50;
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
    transition: background-color 0.3s ease;
}

#purchase-button:hover {
    background-color: #41cd48;
}


.form-group {
    display: flex;
    flex-direction: column;
    /* Aligns label and input vertically */
    margin-bottom: 15px;
    /* Adds spacing between form groups */
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    /* Position it directly below the input box */
    left: 0;
    right: 0;
    background: #fff;
    /* Background color */
    border: 1px solid #ccc;
    /* Border for visibility */
    max-height: 320px;
    /* Increase the max height to show more items */
    overflow-y: auto;
    /* Scroll if there are too many items */
    z-index: 1000;
    /* Ensure it is above other elements */
    display: none;
    /* Initially hidden */
}

.autocomplete-option {
    padding: 8px;
    cursor: pointer;
}

.autocomplete-option:hover,
.autocomplete-option.active {
    background-color: #007bff;
    color: #ffffff;
}

.icon-container {
    display: flex;
    justify-content: center;
    gap: 50px;
    /* Space between icons */
    margin-top: 40px;
}

.icon-item {
    text-align: center;
}

.icon {
    width: 150px;
    /* Adjust size as needed */
    height: auto;
    cursor: pointer;
}

.icon-item p {
    margin-top: 10px;
    font-size: 18px;
    color: #333;
    text-decoration: none;
}



.foot-icon {
    width: 50px;
    margin-right: 0px;
    /* Adds spacing between the icon and text */
}

.foot-text {
    display: inline-block;
    vertical-align: middle;
    /* This line ensures the text aligns properly with the image */
}
