/* Source: screens-core-battle.css — split from consolidated CSS */

/* ========================================================================
   Bro Rogue — Core Battle Screens CSS
   Split from screens-core.css — contains Fight + Capture screen styles
   ======================================================================== */

/* ── FIGHT SCREEN ────────────────────────────────────────── */
.fightContainer {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    grid-template-rows: 1fr 4fr 1fr;
    padding: 1rem;
    gap: 1rem;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #2a2a2a;
}

/* Player Info (Left column) */
.fightPlayerInfo {
    grid-column: 1;
    grid-row: 1;
    padding: 0.5rem;
    background-color: rgb(0 0 0 / 50%);
    border-radius: 6px;
    border: 1px solid var(--secondary-color);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-self: start;
    max-width: 200px;
}

/* Enemy Info (Right column) */
.fightEnemyInfo {
    grid-column: 3;
    grid-row: 1;
    padding: 0.5rem;
    background-color: rgb(0 0 0 / 50%);
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    align-self: start;
    max-width: 200px;
}

.fightMovesList {
    grid-column: 1 / 4;
    grid-row: 3;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem;
    background-color: rgb(0 0 0 / 50%);
    border-radius: 8px;
    overflow-x: auto;
    align-self: start;
}

.moveButton {
    padding: 0.3rem 0.6rem;
    background: linear-gradient(135deg, var(--primary-color), #d94444);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.7rem;
    transition: all 0.15s ease;
    white-space: nowrap;
    box-shadow:
        0 1px 4px rgb(0 0 0 / 25%),
        inset 0 1px 0 rgb(255 255 255 / 12%);
}

.moveButton:hover {
    background: linear-gradient(135deg, var(--secondary-color), #37a89f);
    transform: translateY(-1px);
    box-shadow:
        0 3px 10px rgb(0 0 0 / 35%),
        inset 0 1px 0 rgb(255 255 255 / 18%);
}

.moveButton:active {
    transform: translateY(1px) scale(0.97);
    box-shadow:
        0 1px 3px rgb(0 0 0 / 25%),
        inset 0 3px 6px rgb(0 0 0 / 30%);
    transition: all 0.05s ease;
}

.moveButton:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    background: #555;
}

/* Character Sprites Row */
.fightCharacterRow {
    grid-column: 1 / 4;
    grid-row: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.playerCharacterFight {
    flex: 1;
    display: flex;
    justify-content: flex-start;
}

.enemyCharacterFight {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.backBtn {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* ── CAPTURE SCREEN ──────────────────────────────────────── */
.captureContainer {
    text-align: center;
    padding: 2rem;
    background-color: rgb(0 0 0 / 70%);
    border-radius: 8px;
    max-width: 500px;
}

.captureContainer h2 {
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.captureMenu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.captureProgress {
    background-color: rgb(255 255 255 / 10%);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.progressItem {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.9rem;
}
