body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}


.topheader {
    background-color: #ffffff;
    color: #2b6cb0;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.topheader .column {
    flex: 1; /* Each column takes 1/3 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.topheader .center {
    justify-content: flex-start; /* Align logo to the left inside center column */
}

.topheader img {
    max-height: 80px;
    height: auto;
    width: auto;
}

.header {
    background-color: #2b6cb0;
    color: white;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.header .column {
    flex: 1; /* Each column takes 1/3 */
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .center {
    justify-content: flex-start; /* Align logo to the left inside center column */
}

.header img {
    max-height: 80px;
    height: auto;
    width: auto;
}


.footer {
    background-color: #2b6cb0;
    color: white;
    text-align: center;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header img {
    max-height: 80px;
}

.content {
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.content-wide {
    padding: 40px 0; /* remove left/right padding */
    width: 95%;
    max-width: 1400px;
    margin: 0 auto;
}

H1, h2
{
    color: #2b6cb0;
}


form {
    max-width: 100%;
    margin: 0 auto;
}

/* Only applies to the form on index.php */
.payment-form {
    max-width: 600px;
    margin: 0 auto;
}

label {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

input, select, textarea {
    width: 80%;
    max-width: 80%;
    padding: 8px;
    margin-bottom: 15px;
    box-sizing: border-box;
    border-radius: 5px;         /* Rounded corners */
    font-size: 14px;
}


button {
    background-color: #2b6cb0;
    color: #ffffff;
    border: none;
    padding: 12px 24px;         /* Bigger padding = wider button */
    border-radius: 5px;         /* Rounded corners */
    font-size: 14px;
    cursor: pointer;
}

button:hover {
    background-color: orange;
    color:white;
    border: none;
    padding: 12px 24px;         /* Bigger padding = wider button */
    border-radius: 5px;         /* Rounded corners */
    font-size: 14px;
    cursor: pointer;
}

button.logout-button {
    background-color: #eeeff0;
    color: #000000;
    border: none;
    padding: 12px 24px;         /* Bigger padding = wider button */
    border-radius: 5px;         /* Rounded corners */
    font-size: 14px;
    cursor: pointer;
}

button.logout-button:hover {
    background-color: orange;
    color:white;
    border: none;
    padding: 12px 24px;         /* Bigger padding = wider button */
    border-radius: 5px;         /* Rounded corners */
    font-size: 14px;
    cursor: pointer;
}

/* Global table styling */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
    padding: 0;
    table-layout: auto;
}

/* Table header */
th {
    background-color: #2b6cb0; /* same blue as header/footer */
    color: white;
    font-size: 12pt;
    padding: 5px;
    text-align: left;
}

/* Table body cells */
td {
    padding: 8px;
    font-size: 12pt;
}

/* Alternating row colors */
tr:nth-child(even) {
    background-color: #f2f2f2; /* very light gray */
}

tr:nth-child(odd) {
    background-color: #ffffff;
}


/* Button inside table rows */
table button {
    background-color: #2b6cb0;
    color: white;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;
}

table button:hover {
    background-color: orange;
    border: none;
    padding: 6px 12px;
    cursor: pointer;
    font-size: 12px;    
}

.columns {
    display: flex;
    flex-wrap: wrap; /* allows stacking on smaller screens */
    gap: 40px;
}

.left-column,
.right-column {
    flex: 1;
    min-width: 300px; /* so it stacks cleanly on mobile */
}

/* Optional: style left column */
.left-column {
    font-family: Arial, sans-serif;
    font-size: 14pt;
    line-height: 1.6;
    text-align:left;
}

.checkbox-inline {
    display: inline-flex;
    align-items: center;
    gap: 8px; /* spacing between box and label text */
    font-weight: normal;
    margin-bottom: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: 16px;
    height: 16px;
}

/* For Payments Page Cards */

.payment-card {
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 30px;
    background-color: #f9f9f9;
    font-family: Arial, sans-serif;
}

.payment-card h3 {
    margin-top: 0;
    color: #2b6cb0;
}

.section {
    margin-bottom: 20px;
}

.section h4 {
    margin-bottom: 10px;
    color: #2b6cb0;
    border-bottom: 1px solid #ddd;
    padding-bottom: 4px;
}

.delete-button {
    background-color: #c0392b;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 5px;
    cursor: pointer;
}

.delete-button:hover {
    background-color: #a93226;
}
