/* Main page styles (moved out of index.php so the content security policy can block inline styles) */
body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    color: #fff;
}
.banner {
    position: relative;
    width: 100%;
    height: 100px;
    background: url('banner.jpg') no-repeat center center;
    background-size: cover;
}
.banner-text {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}
.banner-title {
    font-size: 34px;
    font-weight: bold;
    margin: 0;
    margin-bottom: 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.banner-subtitle {
    font-size: 16px;
    margin: 0;
}
.green-text {
    background-color: #0f0;
    color: #000;
    padding: 10px;
    text-align: center;
    margin: 20px auto;
    border-radius: 5px;
    width: 80%;
}
.yellow-text {
    background-color: #ff0;
    color: #000;
    padding: 10px;
    text-align: center;
    margin: 20px auto;
    border-radius: 5px;
    width: 80%;
}
.orange-text {
    background-color: #fa0;
    color: #000;
    padding: 10px;
    text-align: center;
    margin: 20px auto;
    border-radius: 5px;
    width: 80%;
}
.red-text {
    background-color: #f00;
    color: #fff;
    padding: 10px;
    text-align: center;
    margin: 20px auto;
    border-radius: 5px;
    width: 80%;
}
.content-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    padding: 10px;
}
.content-container div {
    flex: 1 1 300px;
    max-width: 500px;
    text-align: center;
}
.content-container img {
    width: 100%;
    height: auto;
}
.button {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #007bff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}
.greenbutton {
    display: inline-block;
    padding: 10px 20px;
    color: #000;
    background-color: #00ff00;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 10px;
}
.yellowbutton {
    display: inline-block;
    padding: 10px 20px;
    color: #000;
    background-color: #ffff00;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
}
.orangebutton {
    display: inline-block;
    padding: 10px 20px;
    color: #000;
    background-color: #ff8000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
}
.redbutton {
    display: inline-block;
    padding: 10px 20px;
    color: #fff;
    background-color: #ff0000;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    margin-top: 10px;
}
.button:hover {
    background-color: #0056b3;
}
.table-container {
    overflow-x: auto;
    margin: 20px;
}
table {
    width: 100%;
    table-layout: auto;
    border-collapse: collapse;
    margin: 0 auto;
}
th, td {
    border: 1px solid #fff;
    padding: 10px;
    text-align: center;
}
td img {
    max-width: 100%;
    height: auto;
}

/* Ensures 2-col tables split 50/50 so the center line stays aligned */
.table-container table {
    table-layout: fixed;
}
.table-container table th,
.table-container table td {
    width: 50%;
}

/* Replacements for the former style="..." attributes */
p.center-text {
    text-align: center;
}
p.note-wide {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 15px;
    font-size: 0.9em;
}
p.note-tight {
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
}
