
/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Header */
header {
    background-color: navy;
    color: white;
    padding: 10px;
    display: flex;
    align-items: left;
    font-size: 38px;
}

.white-text {
    color: white;
}

.blue-text {
    color: skyblue;
}

/* Image in Header */
#header-logo {
    height: 80px; /* Adjust the size of the logo */
    margin-left: 0; /* Space between the logo and the title (if needed) */
}

/* Title Text */
header h1 {
    margin: 0;
    text-align: left; /* Align the title text to the left */
    font-family: sans-serif;
    flex-grow: 1; /* Allows the title to take up remaining space */
    margin-right: 100px; /* Move the title 100px from the right */
    font-size: 40px;
}

/* Navigation */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    background-color: navy;
    overflow: hidden;
    display: flex;
}

nav ul li {
    display: inline;
    color: navy;
    margin-left: 20px;
    padding: 8px
}

nav ul li a {
    display: block;
    color: white;
    text-align: center;
    padding: 14px 20px;
    text-decoration: none;
}

nav ul li a:hover {
    background-color: navy;
}

/* Main Content Layout */
main {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
    gap: 20px;
}

/* Home Section */
#home {
    width: 100%;
    text-align: left;
    font-size: 18px
}

/* Content Sections Container */
.content-sections {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap; /* Allows wrapping on smaller screens */
}

/* Documentaion Macros, Clinical Decision Tools, Procedures, and Pocus Sections */
#documentation-macros,
#decision-tools,
#procedures,
#pocus {
    background-color: #f4f4f4;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    flex: 1;
    min-width: 200px; /* Ensures minimum width on smaller screens */
}

/* Remove bullets and set list to flex */
#documentation-macros ul,
#decision-tools ul,
#procedures ul,
#pocus ul {
    list-style-type: none; /* Removes bullets */
    padding-left: 0; /* Removes any left padding */
    margin: 0; /* Removes margin */
    display: flex; /* Use flexbox for list items */
    flex-wrap: wrap; /* Allows wrapping of items to new rows */
    gap: 5px; /* Adds space between items */
}

/* Remove bullets from Clinical Pathways list */
#pathways ul {
    list-style-type: none;
    padding-left: 0; /* Removes any left padding */
}

/* List items styling */
#decision-tools ul li,
#procedures ul li,
#pocus ul li {
    margin-bottom: 0; /* No margin between list items */
}

/* Link Styles for Documentation Macros, Decision Tools, Procedures, and Pocus Sections */
#documentation-macros ul li a,
#decision-tools ul li a,
#procedures ul li a,
#pocus ul li a {
    display: block;
    background-color: white;
    color: navy;
    border: 2px solid navy;
    padding: 2px 5px; /* Reduced padding for a smaller button size */
    margin: 0; /* No extra margin between buttons */
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 14px;
    max-width: 120px; /* Set a max-width for the buttons */
}

/* Hover effect for the links */
#documentation-macros ul li a:hover,
#decision-tools ul li a:hover,
#procedures ul li a:hover,
#pocus ul li a:hover {
    background-color: navy;
    color: white;
}

/* Contact Section */
#contact {
    width: auto;
    margin-top: 20px;
    text-align: left;
}

/* Footer */
footer {
    background-color: navy;
    color: white;
    text-align: center;
    padding: 20px;
    width: 100%;
    position: relative;
    bottom: 0;
}

/* Form Section */
.form-section {
    background-color: #f4f4f4;
    padding: 10px; /* Reduced padding for a more compact layout */
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 45%;
}

.input-group h3 {
    margin: 5px 0; /* Reduced space above and below h3 */
    line-height: 1.0; /* Tighter line height */
    font-size: 14px;
}

/* Button Styles */
button {
    background-color: white;
    color: navy;
    border: 2px solid navy;
    padding: 2px 5px; /* Smaller padding for buttons */
    margin: 2px 0; /* Reduced space between buttons */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
    font-size: 12px; /* Slightly smaller font size */
}

/* Pressed button style */
button.pressed {
    background-color: navy;
    color: white;
}

textarea {
    display: block; /* Forces the textarea to occupy a full line */
    width: 85%;
    margin-top: 5px; /* Reduced space above textarea */
    padding: 5px; /* Reduced padding inside textarea */
    font-size: 12px;
    resize: vertical; /* Allows users to resize the textarea vertically */
    height: 20px; /* Adjusted height for a more compact layout */
    font-family: Arial, sans-serif;
    line-height: 1.2; /* Tighter line height */
}

button + textarea {
    margin-top: 5px; /* Ensures there's minimal space between the last button and the textarea */
}

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

/* Output Section */
.output-section {
    background-color: #fff;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    width: 45%;
}

#outputArea {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
    min-height: 150px;
    margin-bottom: 100px;
}
