* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
/*    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    color: #333;*/
    background-color: #cccccc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    margin: 0;
}

/* Style the header */
/*.header {
  width: 100%;
  background-color: #cccccc;
  background: linear-gradient(135deg, #2c3e50, #4a235a);
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}*/

.header {
  background-color: #cccccc;
  padding: 20px;
  /* text-align: center; */
}

.header img {
	float: left;
	max-width: 17%;
	margin-left: 0%;
	height: auto;
	border:none;
}

.header h1 {
	font-size: 200%;
}

/* Style the topnav links */
.nav {
	width: 103%;
	float: left;
    text-align: center;
	margin: 0 0 1em 0;
	padding: 0;
	background-color: #c2f0f0;
    /* background-color: #333; */
	border-bottom: 1px solid #ccc;  }
.nav ul {
	list-style: none;
	width: 800px;
	margin: 0 auto;
	padding: 0; }
.nav li {
	float: left; }
.nav li a {
	display: block;
	padding: 8px 15px;
	text-decoration: none;
	font-weight: bold;
	color: #069;
	border-right: 1px solid #ccc; }
.nav li:first-child a {
	border-left: 1px solid #ccc; }
.nav li a:hover {
	color: #ddd;
	background-color: black; }
.nav li span {
	display: block;
	padding: 8px 15px;
	text-decoration: none;
	font-weight: bold;
	color: #000;
	border-right: 1px solid #ccc; }
.nav li:first-child span {
	border-left: 1px solid #ccc; }

.container {
/*     min-width: 10%; */
/*     max-width: 1000px; */
    max-width: 2000px;
    width: 100%;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 30px;
    margin-top: 20px;
}

h1 {
    text-align: center;
    color: black;
    margin-bottom: 10px;
    font-size: 2.5rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.description {
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-size: 1.1rem;
    max-width: 600px;
    line-height: 1.6;
}

.menu-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.dropdown-group {
    flex: 1;
    min-width: 300px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    background-color: #f9f9f9;
    transition: all 0.3s;
}

select:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
    outline: none;
}

.status {
    padding: 15px;
    background-color: #f0f8ff;
    border-radius: 8px;
    margin-top: 20px;
    border-left: 4px solid #4a90e2;
}

.status h3 {
    color: #4a90e2;
    margin-bottom: 10px;
}

.status p {
    line-height: 1.6;
}

.glossary-display {
    margin-top: 30px;
    padding: 20px;
/*     background-color: #f8f9fa; */
    background-color: #0A4075;
    color: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    max-height: 800px;
    overflow-y: auto;
}

.glossary-display h3 {
    color: white;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #dee2e6;
}

.term-card {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #4a90e2;
}

.term-name {
    font-weight: 600;
    font-size: 1.2rem;
    color: #1a2a6c;
    margin-bottom: 8px;
}

.term-description {
    /* Reset to use default browser styling */
    all: initial;
/*     color: #555; */
/*     line-height: 1.5; */
}

.term-description * {
    /* Ensure HTML elements inside description use browser defaults */
    all: revert;
    font-family: inherit;
    line-height: inherit;
}

.loading {
    display: none;
    text-align: center;
    padding: 10px;
    color: #4a90e2;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(74, 144, 226, 0.3);
    border-radius: 50%;
    border-top-color: #4a90e2;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

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

footer {
    margin-top: 30px;
    color: rgba(255, 255, 255, 0.8);
    text-align: center;
    font-size: 0.9rem;
}

.no-data {
/*     text-align: center; */
    padding: 20px;
/*     color: #6c757d; */
/*     font-style: italic; */
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column.side, .column.middle {
    width: 100%;
  }
}

@media screen and (min-width: 1000px) {
  .header h1 {
    font-size: 300%;
  }
}
