@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap');

/* General Reset */
body, h2, h3, input, a {
    margin: 0;
    padding: 0;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    box-sizing: border-box;
}

/* Body Styling */
body {
    background: linear-gradient(135deg, #f0f4f8, #d9e8f6);
    color: #333;
    display: flex;
    align-items: flex-start; /* Align to the top */
    justify-content: center; /* Center horizontally */
    flex-wrap: wrap;
    margin: 0;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
    min-height: 100vh; /* Ensures the body takes up full height */
}

.embed {
    background:#fff;
}

/* Button Styling */
.home-button {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    z-index: 100;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.home-button:hover {
    background-color: #218838;
}

.home-button:active {
    background-color: #1e7e34;
}

/* Cancel Button Styling */
.cancel-button {
    background-color: #dddddd;
    color: black;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.3s ease;
    width: 100%;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.cancel-button:hover {
    background-color: #eeeeee;
}

.cancel-button:active {
    background-color: #cccccc;
}

/* Container Styling */
.container {
    position: relative;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    width: 100%;
    max-width: 1080px;
    display: flex;
    justify-content: safe center;
    align-items: center;
    text-align: center;
}

/* Section Header */
h1 {
    color: #444;
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 0.1rem;
    margin-top: 0.5rem;
}
h2 {
    color: #444;
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 0.5rem;
}
h3 {
    font-size: 1.2rem;
    text-align: center;
}
h4 {
    font-size: 1.0rem;
    text-align: center;
    margin-top:12px;
}

/* Form Inputs */
.loginHeader {
    color: #555;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.loginBox {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    text-align: center;
}

.loginBox:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 123, 255, 0.25);
}

/* Submit Button */
.loginSubmit {
    width: 100%;
    background: #007bff;
    color: #fff;
    border: none;
    padding: 0.75rem;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    font-family: "Open Sans", serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-variation-settings:
        "wdth" 100;
}

.loginSubmit:hover {
    background: #0056b3;
}

/* Message Box */
.messageBox {
    padding: 0.75rem;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
    width: 60%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    position: fixed; 
    max-width:420px;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 1; /* Initially fully visible */
    animation: fadeOut 5s forwards; /* 5s for fade-out animation */
}

/* Keyframes for fade-out effect */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
    }
}

.disclaimerBox {
    padding: 0.1rem;
    color: #fff;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
    width: 80%;
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.5);
    z-index: 10000;
    margin-bottom:16px;
}

/* Links */
a {
    color: #007bdd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* General List Styling */
ul {
    list-style-type: none; /* Removes default bullet points */
    margin: 0;
    padding: 0;
}

li {
    font-size: 1rem;
    color: #333;
    padding: 0.5rem 0;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s, color 0.3s;
    text-align:left;
}

li:last-child {
    border-bottom: none; /* Removes the border on the last item */
}

li:hover {
    background: #f0f4f8; /* Light hover background */
    color: #007bff; /* Accent color on hover */
    cursor: pointer;
}

/* Horizontal List Styling (e.g., for menus) */
ul.horizontal {
    display: flex;
    justify-content: space-around; /* Even spacing between items */
    align-items: center;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 0.5rem;
}

ul.horizontal li {
    padding: 0.5rem 1rem;
    border: none;
}

ul.horizontal li:hover {
    background: #007bff;
    color: #fff; /* Invert text color on hover */
    border-radius: 5px; /* Rounded corners on hover */
}

/* Custom Bullet Points */
ul.custom-bullets li {
    padding-left: 1.5rem; /* Adds space for the custom bullet */
    position: relative;
}

ul.custom-bullets li::before {
    content: "•"; /* Custom bullet symbol */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    color: #007bff; /* Accent color for the bullet */
}

/* Style the datetime input field */
input[type="datetime-local"] {
    font-size: 18px; /* Make the font larger */
    padding: 10px; /* Add padding to make the input field larger */
    width: 300px; /* Set a fixed width for the input field */
    border: 2px solid #ccc; /* Light gray border */
    border-radius: 8px; /* Rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add some shadow for depth */
    background-color: #fff; /* White background */
    transition: all 0.3s ease; /* Smooth transition for hover effect */
}

/* Add hover effect */
input[type="datetime-local"]:hover {
    border-color: #007bff; /* Change border color on hover */
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3); /* Add shadow on hover */
}

/* Focus effect */
input[type="datetime-local"]:focus {
    border-color: #0056b3; /* Change border color on focus */
    outline: none; /* Remove default outline */
    box-shadow: 0 0 10px rgba(0, 86, 179, 0.5); /* Add focus shadow */
}

/* Style the container for checkboxes */
.checkbox-container {
    display: flex;
    flex-direction: column;
    gap: 15px; /* Space between checkboxes */
}

/* Label styling */
.checkbox-label {
    font-size: 18px; /* Increase font size for better readability */
    display: flex;
    align-items: center;
    gap: 10px; /* Space between checkbox and text */
    cursor: pointer; /* Make the label clickable */
    transition: color 0.3s ease; /* Smooth transition for hover */
}

/* Checkbox styling */
input[type="checkbox"] {
    width: 25px; /* Increase the size of the checkbox */
    height: 25px; /* Increase the size of the checkbox */
    cursor: pointer; /* Make it clear the checkbox is clickable */
}

/* Hover effect for labels */
.checkbox-label:hover {
    color: #007bff; /* Change label color on hover */
}

/* Optional: Add some space around the checkboxes */
.checkbox-container br {
    margin-bottom: 10px;
}

/* File actions styling */
.file-actions {
    float: right;
    margin-left: 10px;
}

.file-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

hr {
    border-top: 6px solid #808080; /* Grey, thick line */
    border-radius: 3px; /* Rounded corners */
    margin: 20px 0; /* Space before and after the line */
}
