@font-face {
  font-family: argon;
  src: url(Argon.otf);
}

@font-face {
  font-family: futura;
  src: url(FuturaLT-Bold.ttf);
}

@font-face {
  font-family: pencil;
  src: url(QETonyFlores.ttf);
}

body {
    background-color: #f0f0f0;
    font-family: futura, 'Montserrat', sans-serif;
    color: #000;
    margin: 20px;
    font-size: 1.3em; /* my custom seems ok */
}

.char-data {
    font-family: pencil, sans-serif;
    font-weight: 400;
    color: rgb(39 37 38);
}

.sheet-container {
    background-color: #fff;
    max-width: 950px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    padding: 20px;
}

.section {
    border: 4px solid #000;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 20px;
}

.centered-title {
    text-align: center;
    margin-top: 0;
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1.1rem;
    margin-bottom: 15px;
}

/* Labels */
.external-label {
    font-size: 0.6rem;
    font-weight: 900;
    display: block;
    margin-bottom: 2px;
    color: #fff;
}

.black-text { color: #000; }

.internal-label {
    font-size: 0.55rem;
    font-weight: 700;
    color: #888;
    display: block;
    margin-top: 4px;
}

/* Personal Details */
.personal-details-container {
    background-color: rgb(39 37 38);
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 15px;
}

.picture-box {
    width: 150px;
    height: 150px;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
}

.picture-box img { width: 100%; height: 100%; object-fit: cover; }

.details-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cell-val {
    background: #fff;
    color: rgb(39 37 38);
    border-radius: 8px;
    padding: 8px 10px;
    /* font-size: 0.95rem; */
    min-height: 1.1rem;
}

/* Stats/Saves */
.stats-container, .saves-container { background-color: #e0e0e0; border: none; }
.grid-stats, .grid-saves { display: flex; justify-content: space-around; text-align: center; }
.stat-circle {
    width: 45px; height: 45px; border: 3px solid #000; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; background: #fff; margin-bottom: 5px;
}
.stat-label { font-size: 0.65rem; font-weight: 900; }

/* Status Report (Updated) */
.status-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.status-cell {
    border: 3px solid #000;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-weight: 700;
}

/* Skill Training */
.training-container {
    background-color: #e0e0e0;
    border-radius: 10px;
    padding: 10px;
    margin-top: 15px;
}

.training-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.training-cell {
    background: #fff;
    border-radius: 8px;
    padding: 8px;
    /* text-align: center; */
}

/* Equipment/Finance */
.finance-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 15px;
}

.finance-cell {
    border: 3px solid #000;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    font-weight: 900;
    min-height: 1.2rem;
}

/* Lists */
.list-data {
    padding-left: 20px;
    /* font-size: 0.9rem; */
    margin-bottom: 10px;
}
.weapon-item {
    /* font-size: 0.9rem; */
    margin-bottom: 5px;
}





/* Link Styling */
a {
    color: #000;
    text-decoration: none;
    font-weight: 700;
    border-bottom: 2px solid #000;
    padding: 0 2px;
    transition: all 0.2s ease-in-out;
    display: inline-block;
}

/* Hover Effect: Inverts the colors */
a:hover {
    background-color: #000;
    color: #fff;
    border-radius: 4px;
}

/* Optional: Icon prefix for external links */
a[href^="http"]::after {
    content: ' ↗';
    font-size: 0.7rem;
    vertical-align: top;
}

/* If you put links inside the .char-data sections (Roboto font) */
.char-data a {
    font-family: 'Roboto', sans-serif;
    border-bottom-width: 1px;
}




.noun-meta {
    font-weight: 700;
    border-bottom: 3px double #000;
    padding-bottom: 1px;
}




/* Container to provide the centering context */
table {
  /* 1. Center the table horizontally */
  margin-left: auto;
  margin-right: auto;

  /* 2. Force equal column widths */
  table-layout: fixed;
  width: 90%; /* An explicit width is required for 'fixed' layout to work */

  border-collapse: collapse;
}

td, th {
  /* Since there are 2 columns, each takes 50% */
  width: 50%;
  vertical-align: top;
  white-space: nowrap;
  /* border: 1px solid #ccc; */
}
