/* --- CHARACTER PROFILE INFOBOX --- */
.profile-infobox {
    width: 280px;
    background-color: #dfdfdf; /* Windows 95 light gray */
    border-top: 3px solid #ffffff;
    border-left: 3px solid #ffffff;
    border-right: 3px solid #808080;
    border-bottom: 3px solid #808080;
    padding: 8px;
    font-family: "Courier New", monospace;
    font-size: 13px;
    float: right; /* Pushes the box to the right side of the screen like Wikipedia */
    margin-left: 20px;
    margin-bottom: 20px;
}

/* The dark navy blue top menu window tab strip */
.infobox-header {
    background-color: #000080; /* Navy Blue */
    color: #ffffff;
    text-align: center;
    font-weight: bold;
    padding: 4px;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* The frame around the character photo inside the data box */
.infobox-media {
    background-color: #000000;
    border: 2px inset #808080;
    padding: 5px;
    text-align: center;
    margin-bottom: 10px;
}

.infobox-img {
    width: 100%;
    height: auto;
    max-height: 220px;
    object-fit: contain;
}

/* Layout lines formatting for text fields */
.infobox-data {
    width: 100%;
    border-collapse: collapse;
}

.infobox-data th {
    text-align: left;
    padding: 5px;
    font-weight: bold;
    color: #404040;
    width: 40%;
    vertical-align: top;
}

.infobox-data td {
    padding: 5px;
    color: #000000;
}

/* Custom text glitch highlighting variable inside data table grids */
.status-warning {
    color: #ff0000;
    font-weight: bold;
    text-shadow: 1px 1px #000000;
}
/* Style the lore block that sits on the left side */
.character-lore {
    font-family: "Courier New", monospace; /* Keeps the retro hacker/wiki aesthetic */
    color: #000000;
    line-height: 1.6; /* Adds comfortable line spacing */
    padding-right: 20px; /* Leaves a comfortable gap before hitting the box on the right */
}

.character-lore h2 {
    font-size: 24px;
    border-bottom: 2px dashed #808080; /* Retro dashed separation line */
    padding-bottom: 5px;
    margin-top: 0; /* Ensures the top text aligns perfectly with the top of the box */
}
