/* Global styles */
:root {
    --primary-color: #ffffff;    /* Default primary color */
    --secondary-color: #000000;  /* Default secondary color */
    --accent-color: #cccccc;     /* Default accent color */
    --nav-primary-color: #444444; /* Darker version for navigation */
}

/* General body and text styles */
html, body {
    background-color: var(--secondary-color);
    color: var(--accent-color);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

a {
    color: var(--accent-color);
}

th, input, select, button, textarea, thead, option, nav {
    background-color: var(--primary-color);
    color: var(--accent-color);
}

/* Header styles */
h1, h2 {
    margin-top: 5px;
    font-weight: bold; /* Bold text */
    font-family: 'Roboto', sans-serif; /* Font from Google Fonts */
}

h1 {
    font-size: 24px; /* Header 1 font size */
    padding: 5px;
}

h2 {
    font-size: 20px; /* Header 2 font size */
    padding: 3px;
}

/* Paragraph styles */
p {
    font-family: 'Roboto', sans-serif; /* Font from Google Fonts */
    font-size: 16px; /* Paragraph font size */
}

::placeholder {
    color: var(--accent-color);
}

.content {
    flex: 1;
    padding: 20px;
    text-align: center;
}

.hide {
    display: none !important;
}

.show {
    display: flex; /* Show the overlay */
}

/* Flash messages styles */
.flash-messages {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: auto;
    margin: 10px auto; /* Center the flash messages */
    text-align: center;
}

.flash-messages .alert {
    background-color: var(--primary-color);
    width: auto; /* Adjust width as needed */
    margin-bottom: 10px; /* Space between messages */
    padding: 10px 20px; /* Padding for better appearance */
    border-radius: 5px; /* Rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Optional shadow for better visibility */
}

.floating-window {
    position: absolute;
    top: 5px;
    right: 10px;
    cursor: pointer;
    font-size: 16px;
    width: auto;
    padding-left: 10px;
    padding-right: 10px;
    background-color: var(--primary-color);
    border-radius: 5px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}

.floating-window.show {
    opacity: 1;
    visibility: visible;
}