body {
    padding-top: 0px; /* Default spacing for larger screens */
    margin: 0; /* Remove default margin */
    font-family: 'Calibri', sans-serif;
    padding: 0px 20px 20px; /* Top padding accounts for header, left and right padding for general spacing */
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh; /* Use min-height instead of height to accommodate content longer than the viewport */
    width: 100%; /* Ensure the body takes full width */
}
    
    

    h2 {
        color: #ffffff;
        font: 'Calibri', sans-serif;
        font-size: 30px;
    }
    
    #messageBox {
    color: #D8000C;
    background-color: #FFD2D2;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #D8000C;
    border-radius: 5px;
    font-family: 'Calibri', sans-serif;
    display: none; /* Initially hidden */
}

    #clinicalNotes {
        width: 60%; /* Adjust width as needed */
        height: 150px;
        padding: 10px;
        margin-bottom: 20px; /* Space between the text box and the button */
        border: 3px solid #007bff; /* Thicker blue border */
        border-radius: 5px;
        font-family: inherit;
        resize: vertical;
        display: block;
        font-family: 'Calibri', sans-serif; /* Ensure it's treated as a block-level element for margin purposes */
    }
    #vetrelateButton {
    background-color: #4CAF50; /* Green background */
    color: white; /* White text */
    padding: 10px 20px; /* Padding for size */
    margin-bottom: 20px;
    border: none; /* No border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    font-size: 16px; /* Text size */
    box-shadow: 0 4px #2e7d32; /* Shadow to create 3D effect */
    transition: all 0.3s; /* Smooth transition for interactions */
    font-family: 'Calibri', sans-serif;
}

#vetrelateButton:hover:not(:disabled) {
    background-color: #43a047; /* Darker shade on hover for enabled button */
    box-shadow: 0 2px #1b5e20; /* Adjust shadow for pressed effect */
    transform: translateY(2px); /* Slightly move button down to simulate pressing */
}

#vetrelateButton:disabled {
    background-color: #9e9e9e; /* Gray background for disabled state */
    cursor: not-allowed; /* Cursor to indicate not allowed action */
    box-shadow: none; /* Remove shadow to flatten the button */
    color: #cfd8dc; /* Lighter text color for disabled state */
}

#vetrelateButton.pressed {
    box-shadow: inset 0 2px #1b5e20; /* Adjust shadow to create an inset (pressed) effect */
    transform: translateY(2px); /* Slightly move button down */
}

    #resultText {
        background-color: #fff;
        border: 1px solid #ddd;
        padding: 20px;
        border-radius: 5px;
        width: 60%; /* Match the width of the text box */
        margin-top: 20px; /* Space above the result text */
        display: block; /* Ensure it's treated as a block-level element */
    }
    

  #loadingSpinner {
    margin-top: 20px; /* Increase this value as needed */
    margin-bottom: 20px;
    display: none; /* Hidden by default */
    width: 80px;
    margin-left: auto;
    margin-right: auto; /* Center the spinner horizontally */
}

   header {
    top: 0;
    left: 0;
    width: 100%;
    background-color: #007bff;
    color: white;
    padding: 10px 10px 20px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between; /* Positions children at start and end of header */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 1000;
}

#betaLabel {
    color: red; /* Red color for the BETA label */
    font-weight: bold; /* Make it bold for emphasis */
    margin-left: 10px; /* Add some space between the title and the label */
    font-size: 18px; /* Adjust font size as needed */
    vertical-align: super; /* Align with the top of the title text */
}


@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: flex-start; /* Align items to the start of the header */
        padding: 10px; /* Adjust padding as needed */
    }

    #logoTitle, #headerDescription {
        width: 100%; /* Each takes full width */
        text-align: center; /* Optionally center the content */
        max-width: none; /* Overrides any max-width set earlier */
    }

    #headerDescription {
        margin-top: 10px; /* Adds space between the logo/title and description */
        
    }
}

#logoTitle {
    display: flex;
    align-items: center;
}

#siteLogo {
    
    margin-right: 20px; /* Space between logo and title */
    border-radius: 50%;
  /* Other properties to make sure the image is a perfect square for the border-radius to produce a circle */
   width: 100px; /* Set a fixed width */
   height: 100px; /* Set the height equal to the width */
}


#headerDescription  {
    margin: 0; /* Removes default margin to prevent extra spacing */
    color: #fff; /* Ensures text is visible against the header background */
    max-width: 40%; /* Adjust this as needed */
    flex-grow: 0;
    flex-shrink: 1;
    flex-basis: auto; /* Adjusts the starting size before growing or shrinking */
    white-space: normal; /* Ensures text wraps */
    text-align: center; /* Optional, if you want the text aligned to the right */
    margin-left: auto;
    margin-right: 40px;
}   

#functionSelector {
    width: 200px; /* Width of the dropdown */
    padding: 10px; /* Padding inside the dropdown */
    margin-bottom: 5px; /* Adds space below the dropdown */
    border: 2px solid #007bff; /* Border around the dropdown */
    border-radius: 5px; /* Rounded corners */
    background-color: #f8f9fa; /* Background color */
    font-size: 14px; /* Text size */
    font-family: 'Calibri', sans-serif;
    color: #495057; /* Text color */
    -webkit-appearance: none; /* Removes default styling on WebKit browsers */
    -moz-appearance: none; /* Removes default styling on Mozilla browsers */
    appearance: none; /* Standard way to remove default styling */
    cursor: pointer; /* Changes cursor to pointer on hover */
}

.main-content {
    width: 100%; /* Ensures the container takes up the full width of its parent */
    max-width: 1200px; /* Adjust this value based on your design needs */
    margin: 0 auto; /* Centers the container within its parent */
    padding: 20px; /* Provides some internal spacing */
    box-sizing: border-box; /* Ensures padding does not add to the total width */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Calibri', sans-serif;
}

footer {
    left: 0;
    bottom: 0;
    width: 100%;
    background-color: #f0f0f0; /* Dark background for contrast */
    color: rgb(0, 0, 0); /* White text color */
    text-align: center; /* Center the text */
    padding: 10px 0; /* Some padding for spacing */
    font-size: 14px; /* Smaller font size for footer text */
}

footer a {
    color: #00008b; /* Light blue color for links for better visibility */
    text-decoration: none; /* Removes underline from links */
}

footer a:hover {
    text-decoration: underline; /* Adds underline on hover for a clear indication of link */
}

/* Cookie Consent Popup Styles */
.cookie-consent-popup {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #f2f2f2;
  padding: 10px;
  text-align: center;
  box-shadow: 0 -2px 5px rgba(0,0,0,0.2);
  display: none; /* Hidden by default */
}

.cookie-consent-popup p {
  margin: 0;
  padding: 0;
  font-size: 14px;
}

#acceptCookieConsent {
  margin-top: 10px;
  padding: 5px 10px;
}

#subscriptionModal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top of everything else */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0, 0, 0, 0.4); /* Dim the background */
    justify-content: center;
    align-items: center; /* Center the modal content */
}


/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
    background-color: #fefefe;
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    font-size: 20px;
    text-align: center;
}

/* The Close Button */
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}

.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.info-text {
    padding: 20px; /* Adjust this value as needed */
    text-align: center; /* Center the text horizontally */
    max-width: 800px; /* Or any max-width you prefer */
    margin: 0 auto; /* Center the div itself if you have set a max-width */
}

.chickenrice-link p {
    color: red; /* Sets the text color to red */
    font-size: 18px; /* Sets the font size to 18px */
    text-align: center; /* Centers the text */
}

.chickenrice-link a {
    color: red; /* Ensures the link is also red */
    text-decoration: underline; /* Underlines the link */
}

.chickenrice-link a:hover {
    color: darkred; /* Darker red on hover for better interaction feedback */
}





#functionHint {
    margin: 0px 0; /* Adjust spacing around the hint */
    text-align: center; /* Center-align the text */
    color: #007bff; /* Change the text color */
    font-size: 14px; /* Adjust the font size */
    padding: 0px; /* Add some padding */
    max-width: 80%; /* Control the maximum width of the hint box */
    display: inline-block; /* Makes the div behave like an inline element, centering it if text-align is set on a parent */
}