:root {
    --page-width: 1100px;
    --bg-color: #ffffff;
    --text-color: #000000;
    --card-bg: rgba(255, 255, 255, 0.2);
    --button-bg: #007bff;
    --button-text: white;
}

body {
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    transition: background-color 0.3s, color 0.3s;
}

.page-header {
    width: var(--page-width);
}

h1 {
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 300;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

hr {
	border: 0;
	height: 3px;
	width: var(--page-width);
	background: #333;
	background-image: linear-gradient(to right, #ccc, #333, #ccc);
}	

.nav-buttons-container {
    justify-content: center;
    align-items: center;
    display: flex;
    gap: 100px; /* Space between buttons */  
}

.nav-buttons-container a {
    text-decoration: none; /* Removes underline */
    color: inherit; /* Inherits the color from the button */
}
.nav-buttons-container a:visited {
    color: inherit; /* Prevents color change when visited */
}
.nav-button {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8em;
    width: 100px;
}

.chart-forms {
    width: var(--page-width);
}

.textsmall { font-size:8px; text-align: right}

.special-links {
    a:link { color: #FF9900; }
    a:visited { color: #CC6600; }
}

.theme-toggle-btn {
    background-color: var(--button-bg);
    color: var(--button-text);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8em;
    width: 200px;
}
.theme-toggle-btn hover {
    background-color: #0056b3;
}

.datePicker {
    width: 100px;
    padding: 2px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
  }
  .datePicker:focus {
    border-color: #007bff;
  }

  select {
    width: 150px;
    padding: 5px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: white;
    color: #333;
    outline: none;
  }

  select:hover {
    border-color: #007bff;
  }

  select:focus {
    border-color: #0056b3;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
  }

  input[type="submit"] {
    background-color: #007bff; /* Button background color */
    color: white; /* Text color */
    font-size: 16px; /* Font size */
    padding: 3px 10px; /* Padding for the button */
    border: none; /* Remove the border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Change cursor to pointer on hover */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Add a slight shadow */
    transition: background-color 0.3s ease, box-shadow 0.3s ease; /* Smooth transitions */
  }

  input[type="submit"]:hover {
    background-color: #0056b3; /* Darker background on hover */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.2); /* Slightly deeper shadow */
  }

  input[type="submit"]:active {
    background-color: #004494; /* Even darker background when active */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Decrease shadow for pressed effect */
    transform: translateY(1px); /* Slight downward movement */
  }