/* Character Creation Split Layout */
.split-container {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    height: auto;
    min-height: 350px;
}

.split-left {
    width: 45%;
    min-width: 250px;
    /* Ensure enough space for buttons */
    text-align: left;
}

.split-right {
    width: 55%;
    text-align: left;
}

/* Big Buttons */
.big-btn {
    font-size: 1.2em;
    padding: 15px 30px;
    letter-spacing: 2px;
}

.text-btn {
    background: none;
    border: none;
    text-decoration: underline;
    color: var(--text-color);
    padding: 5px;
    cursor: pointer;
}

.text-btn:hover {
    background: none;
    color: white;
}

.retry-btn {
    font-size: 0.9em;
    padding: 8px 16px;
    width: 100%;
    /* Make full width to prevent wrapping issues */
    white-space: nowrap;
    /* Prevent text wrap */
}

/* Stat Rows */
.stat-row {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    /* Space out items */
}

.stat-label {
    width: 60px;
    flex-shrink: 0;
}

.stat-val {
    width: 40px;
    text-align: right;
    margin-right: 10px;
    font-size: 1.1em;
    flex-shrink: 0;
}

.stat-val.boosted {
    color: #55ff55;
    font-weight: bold;
}

.bonus-val {
    color: #ffff55;
    font-size: 1.4em;
    font-weight: bold;
}

.stat-btns {
    display: flex;
    gap: 5px;
}

.stat-btns button {
    padding: 2px 0;
    width: 30px;
    /* Fixed width */
    text-align: center;
}

/* Class Grid */
.class-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 10px;
}

.class-panel {
    border: 1px solid #444;
    padding: 10px;
    cursor: default;
    background: #000;
}

.class-panel.disabled {
    color: #777;
    border-color: #333;
}

.class-panel.eligible {
    border-color: #fff;
    cursor: pointer;
}

.class-panel.eligible:hover {
    background: #222;
}

.class-panel.selected {
    background: rgba(212, 175, 55, 0.1);
    color: #dec674;
    border-color: #d4af37;
}

.req-hint {
    font-size: 0.7em;
    color: #884444;
}

.ok-hint {
    font-size: 0.8em;
    color: #448844;
}

/* Confirm Area */
.confirm-area {
    margin-top: 10px;
    border-top: 1px solid #333;
    padding-top: 10px;
    text-align: center;
}