body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #1D4370;
}

/* Login Progress Indicator */
#loginProgressIndicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(29, 67, 112, 0.7);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#loginProgressIndicator p {
    color: white;
    font-weight: bold;
    margin-top: 10px;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

nav {
    background-color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
}

.login-buttons {
    display: flex;
    gap: 10px;
    align-items: center;
}

nav img {
    height: 50px;
}
nav img:hover {
    transform: scale(1.1); /* Slight zoom effect */
    transition: transform 0.3s ease; /* Smooth transition */
}

h1 {
    font-size: 1.8em; /* Adjust heading size */
    color: #2C3E50; /* Use the same theme color */
    margin-bottom: 20px; /* Space below the heading */
}

h2 {
    font-size: 1.2em; /* Slightly larger size for better readability */
    color: #2C3E50; /* Match the theme color */
    margin-top: 40px; /* Reduced top margin for closer alignment */
    margin-bottom: 20px; /* Add some space below for separation */
    text-align: center; /* Center-align for consistent layout */
    font-weight: normal; /* Use normal weight for a cleaner look */
    line-height: 1.5; /* Improved line spacing for better readability */
}

h3 {
    font-size: 1em; /* Subtle size difference from h2 */
    color: #2C3E50; /* Match the theme color */
    margin-top: 20px; /* Balanced spacing above the heading */
    margin-bottom: 15px; /* Consistent spacing below the heading */
    text-align: center; /* Center-align for a uniform look */
    font-style: italic; /* Use italic font for emphasis */
    font-weight: lighter; /* Use lighter weight for a softer look */
    letter-spacing: 0.5px; /* Slight spacing for a polished finish */
}
h3 a {
    color: #3498db; /* Link color */
    text-decoration: none; /* Remove underline */
    font-weight: bold; /* Make the link text stand out */
    position: relative; /* Needed for the highlight effect */
    transition: color 0.3s ease; /* Smooth transition for color */
}

h3 a::before {
    content: ""; /* Empty content for the highlighter effect */
    position: absolute;
    left: -8px; /* Extend slightly beyond the text */
    right: -8px; /* Extend slightly beyond the text */
    bottom: 0;
    top: 0;
    background-color: #3498db; /* Highlighter color */
    z-index: -1; /* Place the highlighter behind the text */
    transform: scaleX(0); /* Initially scale the highlight to 0 */
    transform-origin: left; /* Start the highlight animation from the left */
    transition: transform 0.3s ease; /* Smoothly scale the highlight */
    clip-path: polygon(0 0, 100% 10%, 95% 100%, 5% 90%); /* Irregular and inclined shape */
    border-radius: 6px; /* Add slight rounding for a natural look */
}

h3 a:hover {
    color: white; /* Change text color on hover */
}

h3 a:hover::before {
    transform: scaleX(1); /* Expand the highlight to full width */
}

.container {
    width: 62%;
    margin: 62px auto 0; /* Add more top margin to separate from nav */
    padding: 30px;
    background-color: #ffffff; /* Light background */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    border: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect for the container */
.container:hover {
    transform: translateY(-2px); /* Slight lift */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow */
}

/* Ensure the container doesn't inherit focus */
.container:focus {
    outline: none;
}

/* Style for the input field */
input[type="text"] {
    width: 100%; /* Full width for the input */
    max-width: 400px; /* Restrict max width */
    height: 40px; /* Set a fixed height */
    line-height: 40px; /* Match the line height to the height for vertical centering */
    padding: 0 15px; /* Add horizontal padding */
    margin-bottom: 15px; /* Space below the input */
    border: 1px solid #ddd; /* Light gray border */
    border-radius: 6px; /* Rounded corners */
    font-size: 16px; /* Adjust font size for readability */
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1); /* Inner shadow for depth */
    color: #333; /* Darker text for better contrast */
    transition: border-color 0.3s ease; /* Smooth transition on focus */
}

input[type="text"]:focus {
    border-color: #3498db; /* Highlight border on focus */
    outline: none; /* Remove default outline */
}

/* Wrapper for the input and button */
.input-group {
    display: flex; /* Arrange input and button side-by-side */
    align-items: center; /* Align input and button vertically */
    justify-content: center; /* Center the group horizontally */
    gap: 10px; /* Space between input and button */
    width: 100%; /* Ensure it stretches to container width */
}

/* Adjust input width in the group */
.input-group input[type="text"] {
    flex: 1; /* Make input take up available space */
    margin-bottom: 0; /* Remove bottom margin since button is beside it */
}

/* Adjust button when inside the group */
.input-group button {
    flex-shrink: 0; /* Prevent button from resizing */
    width: auto; /* Allow button to size naturally */
}

/* Style for the button */
button {
    padding: 12px 20px;
    background-color: #04BBF1;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Google Login Button Styling - Dark Mode Optimized */
#googleLoginButton {
    background-color: #2d3748;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    border: 1px solid #4a5568;
    padding: 10px 16px;
    font-size: 14px;
    font-family: "Google Sans", Roboto, Arial, sans-serif;
    border-radius: 4px;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.3), 0 1px 2px 0 rgba(0, 0, 0, 0.2);
    transition: all 0.2s ease;
}

#googleLoginButton .google-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: brightness(1.1);
}

#googleLoginButton:hover {
    background-color: #374151;
    border-color: #6b7280;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4), 0 2px 4px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

#googleLoginButton:focus {
    outline: none;
    background-color: #374151;
    box-shadow: 0 0 0 3px rgba(66, 133, 244, 0.3), 0 4px 8px 0 rgba(0, 0, 0, 0.4);
}

#googleLoginButton:active {
    background-color: #1f2937;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.3), inset 0 1px 2px rgba(0, 0, 0, 0.2);
    transform: translateY(0);
}

/* Original Login Button Styling */
#originalLoginButton {
    background-color: #04BBF1;
    color: white;
}
.logged-in {
    background-color: #94C12E;
    color: white;
}

.logged-in:hover {
    background-color: #E3000F /* Darker green on hover */
}

button:hover {
    background-color: #2980b9;
    /*transform: translateY(-2px); /* Slight lift */
    transform: scale(1.1);
}

button:active {
    background-color: #1c6ea4;
    transform: translateY(1px);
}

footer {
    background-color: white; /* Dark blue background */
    padding: 20px 0; /* Add spacing */
    text-align: center; /* Center align content */
    bottom: 0;
    position: fixed;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 75px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px; /* Space between icons */
}

.social-icons a {
    width: 50px;
    height: 50px;
    background-color: #1D4370; /* White background for icons */
    border-radius: 50%; /* Make them circular */
    display: flex;
    justify-content: center;
    align-items: center;
    color: white; /* Dark blue icon color */
    font-size: 20px; /* Icon size */
    transition: transform 0.3s ease, background-color 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: #3498db; /* Change background on hover */
    transform: scale(1.1); /* Slight zoom effect */
    color: #ffffff; /* White icon color on hover */
}