body, html {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #333; /* Dark gray background */
    overflow: hidden;
}

.page-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    height: 100%;
    /* min-height: 100vh; */
}

.pagination{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    gap: 15px;
}

.left-banner {
    height: 100vh;
    width: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* max-height: 100vh;
    overflow: hidden; */
}

.right-banner {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: right;
}

.left-banner img {
    max-width: 100%;
    width: auto;
    display: block;
    object-fit: contain;
    margin-right: 5%;
}


.right-banner img {
    max-height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

.top-banner {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Crops excess image content while preserving fill */
    display: block;
    margin-bottom: 20px;
}

.center-band {
    background-color: #ccc; /* Light gray center stripe */
    width: 800px;           /* Width of the center band */

    height: 100vh;           /* Full screen height */
    display: flex;
    flex-direction: column; /* Stack Children Vertically */
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 150px;
    box-sizing: border-box;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #66666600 #0000;
    overflow-x: hidden;
    /* justify-content: center; /* Vert*/
    /* align-items: flex-start; /* horizontal */
}

.post-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-family: sans-serif;
    border: 1px solid #aaa;
    border-radius: 8px;
    overflow: hidden;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 10px;
}


.post-box-image{
    flex: 0 0 auto;
    max-width: 150px;
}

.post-attachment-img{
    width: 100%;
    min-height: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 0;
}

.post-box-header{
    display: flex;
    background-color: dimgray;
    color: white;
    font-weight: bold;
    min-height: 40px;
    align-items: center;
}

.post-box-row{
    display: flex;
    background-color: dimgray;;
    min-height: 60px;
    align-items: flex-start;
    border-top: 1px solid #cccccc;
    padding-top: 10px;
    flex-wrap: wrap;
}

.post-box-cell {
    flex:1;
    padding: 0 12px;
    text-align: left;
    color: white;
    white-space: pre-wrap;

}

.post-box-id {
    flex:1;
    padding: 0 12px;
    text-align: right;
    font-style: italic;
}

.post-box-author{
    display: flex;
    background-color: dimgray;;
    min-height: 30px;
    align-items: center;
    border-top: 1px solid #cccccc;
}


.reply-container {
    margin-top: 10px;
    margin-left: 20px;
    border-left: 2px solid #aaa;
    padding-left: 10px;
    background-color: #696969;
    border-radius: 4px;
}

.reply {
    padding: 5px 0;
    border-bottom: 1px solid #444;
}

.reply:last-child {
    border-bottom: none;
}

.reply-author {
    font-weight: bold;
    font-size: 0.9em;
    color: #ddd;
    text-align: left;
}

.reply-body {
    font-size: 0.9em;
    color: white;
    text-align: left;
}

.reply-box-image{
    flex: 0 0 auto;
    max-height: 100px;
    max-width: 100px;
}

.reply-attachment-img{
    width: 100%;
    height: auto;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-left: 4px;
}



.submission-box-author {
    resize: none;
    text-align: left;
    vertical-align: top;
    overflow-y: auto;
    height: 10px;
    width: 50%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border: 2px solid #aaaaaa;
    border-radius: 4px;
}

.submission-box-body {
    resize: none;             /* Optional: disables resizing handle */
    text-align: left;         /* Align text to the left */
    vertical-align: top;      /* Align the input field itself, doesn't fix text */
    overflow-y: auto;         /* Scroll if content overflows */
    height: 75px;
    width: 90%;
    padding: 10px;
    margin-top: 5px;
    font-size: 16px;
    border: 2px solid #aaaaaa;
    border-radius: 4px;
}

.submission-box-button{
    height: 25px;
    width: 60px;
    border: 2px;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 5px;
    margin-bottom: 10px;
}

.header {
    text-align: center;
    margin-bottom: 20px;
}

.author-text {
    text-align: center;
    margin-bottom: 5px;
}

.body {
    text-align: center;
    flex-grow: 1;   /* Fills remaining space if needed */
}

h1{
    margin: 0;
    font-family: sans-serif;
    font-size: 28px;
    color: black;
}


.center-band p {
    font-size: 15px;
    font-family: sans-serif;
    color: red;
}

.under-construction-container {
    height: 100vh; /* Full viewport height */
    display: flex;
    justify-content: center;   /* center horizontally */
    align-items: center;       /* center vertically */
}

.under-construction-background{
    background-color: #0000;
    height: 100%;
    width: 100%;
}

.under-construction-horizontal-band{
    background-color: yellow;
    height: 100px;
    margin: 0 auto;         /* Center horizontally */
    width: 100%;
    display: flex;
    flex-direction: row; /* Stack Children Vertically */
    padding: 20px;
    box-sizing: border-box;
    justify-content: center;
    /* justify-content: center; /* Vert*/
    /* align-items: flex-start; /* horizontal */
}

.under-construction-image{
    width: 100px;
    height: 100px;
    display: block;
    margin: 20px auto;
}
