/* I've had issues with the header and footer boxes so adding this here */
* {
    box-sizing: border-box;
}

/* Main style */
body {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    background-color: #f5f7fc;
    color: #333;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
}

/* Header Styling */
header h1 {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-weight: 300;
    font-size: 2.2em;  /* I think this makes it look more like the main site */
    letter-spacing: 1px;
    color: white;
}

/* Navigation Links */
.navbar ul li a {
    font-family: 'Source Sans Pro', Arial, sans-serif;
    font-weight: 400;
    font-size: 1.1em;
}

header {
    background-color: #1c1d4c; 
    color: white;
    padding: 25px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    width: 100%;
}

/* Navigation Bar */
.navbar {
    background-color: #2e2f79;
    padding: 10px 0;
    text-align: center;
}

.navbar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.navbar ul li {
    display: inline;
}

.navbar ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 15px;
    transition: background 0.3s ease-in-out;
}

.navbar ul li a:hover, .navbar ul li a.active {
    background-color: #2e2f79;
    border-radius: 5px;
}


header h1 {
    margin: 0;
    padding-left: 20px;
    font-weight: 600;
}

nav ul {
    list-style: none;
    padding: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

nav ul li a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    background-color: #2e2f79;
    color: white;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    font-weight: bold;
}

.btn:hover {
    background-color: #004380;
}

/* Sections */
section {
    background: white;
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

h2, h3 {
    color: #2e2f79;
}

/* General table */
table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th {
    background-color: #2e2f79;
    color: white;
    padding: 10px;
    text-align: left;
}

td {
    padding: 8px;
    border-bottom: 1px solid #ddd;
}

tr:nth-child(even) {
    background-color: #f9f9f9;
}

tr:hover {
    background-color: #eef7ff;
}

/* Collapsible table */
.collapsible {
    background-color: #2e2f79;
    color: white;
    padding: 10px;
    cursor: pointer;
    border: none;
    text-align: left;
    font-size: 16px;
    width: 100%;
    border-radius: 5px;
}

.collapsible-content {
    display: none;
    padding: 10px;
    border: 1px solid #ccc;
    background-color: #f9f9f9;
}

.collapsible.active + .collapsible-content {
    display: block;
}

/* Make the column definitions table less ugly */
#column-definitions table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    border: 1px solid #ccc;
}

#column-definitions th {
    background-color: #2e2f79;
    color: white;
    padding: 12px;
    text-align: left;
}

#column-definitions td {
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

#column-definitions tr:nth-child(even) {
    background-color: #f9f9f9;
}

#column-definitions tr:hover {
    background-color: #eef7ff;
}

#column-definitions td:first-child {
    font-weight: bold;
    width: 25%;
    background-color: #eaf2ff;
}

/* Footer */
footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 30px;
    width: 100%;
}

.footer-content a {
    color: #bbb;
    text-decoration: none;
}

.footer-content a:hover {
    text-decoration: underline;
}

.footer-content .pipe {
    margin: 0 10px;
}
