/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */
 @media (prefers-color-scheme: light) {
    :root {
        --background: #FAFAFA;
        --text-color: #333;
        --border-color: black;
        --score-color: black;
        --sign-in-background: #cccccc;
        --logo-background: url("/ripper-light.png");
    }
 }
 
 @media (prefers-color-scheme: dark) {
    :root {
        --background: #222;
        --text-color: #ECECEC;
        --border-color: #FAFAFA;
        --score-color: black;
        --sign-in-background: #333;
        --input-background: #555;
        --logo-background: url("/ripper.png");
    }
 }
 
body {
    color-scheme: light dark;
    supported-color-schemes: light dark;
    background-color: var(--background);
    color: var(--text-color);
}

h1 {
    overflow-wrap: break-word;
    margin: 0.2em 0;
    line-height: 1.1em;
    font-size: 2em;
}

body, p, ol, ul, td {
    font-family: helvetica, verdana, arial, sans-serif;
    font-size:   13px;
    line-height: 18px;
}

 .character-played {
    width: 2em;
 }

.table {
    display: table;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    border-spacing: 0 2px;
}

.table-row {
    display: table-row;
    width: 100%;
}

.clickable {
    cursor: pointer;
    box-shadow: 0 0 0 0 transparent;
    transition: box-shadow 0.3s ease;
}

.clickable:hover {
    box-shadow: 0 0 0 2px var(--border-color);
}

.table-cell {
    display: table-cell;
    padding: 8px;
    /* border: 1px solid black; */
    vertical-align: top;
}

.time-played {
    height: auto;
}

.loss {
    background-color: #ffcccc;
}

.win {
    background-color: #ccffcc;
}

.active-side {
    border: 1px solid goldenrod;
}

.player1 {
    margin-left: 10%;
}
.score-cell {
    display: inline;
    color: var(--score-color);
}

.game-duration {
    color: black;
    margin-left: 5%;
}

.map {
    color: white;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    width: 200px;
    mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: radial-gradient(circle, rgba(0, 0, 0, 1) 70%, rgba(0, 0, 0, 0) 100%);
}

.aetherian-forest {
    background-image: url("/AetherianForest.png");
}

.air-armada {
    background-image: url("/AirArmada.png");
}

.fire-capital {
    background-image: url("/FireCapital.png");
}

.godai-delta {
    background-image: url("/GodaiDelta.png");
}

.hodojo {
    background-image: url("/Hodojo.png");
}

.hyperborean-harbor {
    background-image: url("/HyperboreanHarbor.png");
}

.julesvale {
    background-image: url("/Julesvale.png");
}

.merchant-port {
    background-image: url("/MerchantPort.png");
}

.rock-wall {
    background-image: url("/RockWall.png");
}

.tempest-peak {
    background-image: url("/TempestPeak.png");
}

.game-details {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
    height: 50%;
}

.combat-data {
    height: inherit;
}
#combat-log {
    border: 1px solid black;
}

.combat-info {
    height: 40vh;
}

.player1-icon {
    border: 1px solid green;

}
.player2-icon {
    border: 1px solid purple;
}

.inline-header {
    display: inline-block;
    margin-right: 20px;
}
.active {
    text-decoration: underline solid;
}
.navbar-link {
    text-decoration: none;
    color: inherit;
}
.half {
    width: 48%;
    float: left;
}

#video {
    margin-top: 5%;
}

.sign-in {
    background-color: var(--sign-in-background);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.form-details {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

.large-input {
    width: 100%;
    margin-bottom: 16px;
    margin-top: 8px;
}

.login-button {
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: #1E3E6B;
    width: 100%;
    outline: none;
    white-space: nowrap;
    box-sizing: border-box;
    border-radius: 4px;
    border: none;
    display: inline-flex;
    -moz-box-align: center;
    align-items: center;
    -moz-box-pack: center;
    justify-content: center;
    height: 32px;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    color: white;
}

.create-account {
    margin-top: 20px;
    margin-bottom: 32px;
    background-color: transparent;
    padding: 8px 24px;
    font-size: 14px;
    font-weight: bold;
}

.main-label {
    font-weight: bold;
    font-size: 14px;
}

.label-link {
    float: right;   
}

.center {
    text-align: center;
    display: block;
}

.input-container {
    background-color: var(--input-background);
}

.custom-input {
    display: flex;
    flex-direction: row;
    -moz-box-align: center;
    align-items: center;
    gap: 8px;
    height: 40px;
    width: 100%;
    padding: 7px;
    box-sizing: border-box;
    background-color: var(--input-background);
    border-color: rgb(48, 48, 48);
}

.title {
    padding-top: 32px;
}

.pb-end {
    padding-bottom: 32px;
}

.logo-header {
    background-image: var(--logo-background);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 32px;
    margin-bottom: 20px;
    margin-top: 12px;
}

@media (min-width: 576px) {
    .sign-in {
        width: 560px;
    }
    .logo-header {
        margin-top: 85px;
    }
}