body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #5b6d84;
}
header {
    background-color: #5b6d84;
    color: white;
    padding-top: 12px;
    padding-bottom: 12px;
    text-align: center;
    width: 100%;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.header-content {
    margin-top: 30px;
}
.logo-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    padding-bottom: 0px;
}
.logo {
    max-width: 111px;
    height: auto;
}
main {
    padding: 2rem;
}
h1 {
    font-size: 2em;
    margin-bottom: 0.5em;
}
p {
    font-size: 1.2em;
    margin-bottom: 2rem;
}
.back-to-home {
    font-size: 1em;
    margin-top: 10px;
}
.back-to-home a {
    color: #5b6d84;
    text-decoration: none;
    font-weight: bold;
}
.back-to-home a:hover {
    text-decoration: underline;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
}

.loading-spinner {
    border: 4px solid #f3f3f3; /* Light grey background */
    border-top: 4px solid #3498db; /* Blue color for the spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite; /* Infinite rotation */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Styles for the modal */
.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 */
    padding-top: 60px;
}
.modal-content {
    background-color: #fefefe;
    margin: 0% auto; /* 0% from the top and centered */
    padding: 20px;
    border: 1px solid #888;
    width: 80%; /* Could be more or less, depending on screen size */
    max-height: 80vh; /* Limit height */
    overflow-y: auto; /* Scroll if content exceeds height */
}
.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}
/* Form Styling */
input {
     height: 25px;
        padding: 5px;
        padding-left: 10px;
        padding-right: 10px;
}
/* Basic Button Styles */
button {
    padding: 12px 25px;
    font-size: 16px;
    color: #fff;
    background-color: darkorange;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

/* Hover Effect */
button:hover {
    background-color: #0056b3; /* Darker blue on hover */
    transform: translateY(-2px); /* Slight lift effect */
}

/* Focus Effect */
button:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5); /* Focus ring */
}

/* Active Effect */
button:active {
    background-color: #004085; /* Even darker blue when clicked */
    transform: translateY(0); /* Remove lift effect when clicked */
}

/* Optional: Disable State */
button:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

input[type="text"], textarea {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ced4da;
    border-radius: 5px;
    transition: border-color 0.3s, box-shadow 0.3s;
}

input[type="text"]:focus, textarea:focus {
    border-color: #80bdff;
    outline: none;
    box-shadow: 0 0 0 0.2rem rgba(38, 143, 255, 0.25);
}

/* Optional: Add a little margin for better spacing */
input[type="text"], textarea {
    margin-bottom: 10px;
}

/* For textarea */
textarea {
    resize: vertical;       /* Allow only vertical resizing */
}

/* Optional: Add placeholder styling */
input[type="text"]::placeholder, textarea::placeholder {
    color: #6c757d;
    font-style: italic;
}
.mt-5 {
    margin-top: 5px;
}

#request_parameter_container {
    display: none; /* Hide the container by default */
    margin-top: 10px;
}
#request_parameter_toggle {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
    color: #5b6d84;
}
.va-super {
    vertical-align: super;
}
.pl-5 {
    padding-left: 30px;
}
.pl-4px {
    padding-left: 4px;
}
