
/* --- CORE GLOBAL RESET --- */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
}

body {
    font-family: verdana, sans-serif;
    font-size: 11px;
    color: white;
    background-color: #000; /* Dark mode baseline */
    line-height: 1.6;
    overflow-x: hidden; /* Prevent mobile horizontal shaking */
}

/* --- FORUM CONTENT CLASSES --- */
.forumImage {
    max-width: 500px;    max-height: 500px;    height: auto;
    display: inline-block;
    vertical-align: middle;
}

.forumSignature {
    max-width: 500px;    max-height: 150px;    overflow: hidden;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 1px solid #333;
    opacity: 0.8;
}

/* --- RESPONSIVE POLLS & PROFILES --- */
.pollInfoWrapper {
    position: relative;
    margin: 20px auto;
    width: 95%; /* Responsive for Mobile */
    max-width: 50%;
    font-size: 16px;
}

.pollInfoDiv {
    font-size: 11px;
    background: rgba(0,0,0,.25);
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.pollInfoDiv .formTable {
    width: 100%; 
    border-spacing: 0px;
}

.pollInfoLabel {
    font-weight: bold;
    width: 35%;
    background: rgba(0,0,0,.25);
    padding: 10px;
}

.pollProfilePic {
    width: 90px;	
}

.pollProfilePic img {
    width: 90px;
    height: 120px;
    border: solid black 1px;
    border-radius: 50%; /* Modern Slick Avatar */
    object-fit: cover;
}

/* --- BUTTONS & FORMS --- */
.submitButton {
    background-color: whitesmoke;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s ease;
}

.submitButton:hover {
    filter: brightness(1.2);
    transform: translateY(-1px);
}

.textBox, textarea, select {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 6px;
}

/* --- PAGINATION --- */
.pageSelectorDiv {
    float: right;
    margin: 15px 0px;
    font-size: 11px;
}

.pageSelectorDiv .pageNum {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: solid 1px #444;
    border-radius: 4px;
    text-decoration: none;
    color: inherit;
    transition: 0.2s;
}

.pageSelectorDiv .pageNum:hover {
    background: whitesmoke;
    color: #fff;
}

/* --- MOBILE RESPONSIVE OVERRIDES --- */
@media (max-width: 768px) {
    /* Stack tables that were originally side-by-side */
    table, thead, tbody, th, td, tr { 
        display: block; 
        width: 100% !important; 
    }

    .pollInfoLabel {
        width: 100% !important;
        background: transparent;
    }

    .pageSelectorDiv {
        float: none;
        text-align: center;
        margin: 20px 0;
    }

    .pollProfilePic {
        margin: 0 auto 10px;
        text-align: center;
    }
}

/* --- GENERAL UTILITY --- */
.shadedBox {
    background: #111;
    border: 1px solid #222;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
}