﻿@import "/UI/Core/Styles/Theme.scss";

$radio-width: 420px;
$radio-row-height: 38px;

Radio {
    position: absolute;
    margin-left: 360px;
    left: $safe-zone-x;
    bottom: $safe-zone-y;
    align-items: center;
    justify-content: center;

    .RadioBox {
        width: $radio-width;
        overflow: hidden;
        flex-direction: column;
        border: 1px solid $scoreboard-surface-border;
        border-radius: $scoreboard-surface-radius;
        background-color: $scoreboard-surface-background;
        backdrop-filter: $scoreboard-surface-backdrop;
        box-shadow: $scoreboard-surface-shadow;
    }

    .RadioHeader {
        height: 44px;
        padding: 0 14px;
        align-items: center;
        justify-content: space-between;
        border-bottom: 1px solid $scoreboard-divider;
        background-color: $scoreboard-surface-header-background;
    }

    .radio-title {
        font-family: "Resmont-SemiBold", "Resmont-Medium", "Resmont", "Akshar", "Segoe UI", sans-serif;
        font-size: 17px;
        letter-spacing: 0.9px;
        text-transform: uppercase;
        text-shadow: none;
    }

    .radio-target {
        font-family: "Resmont-Regular", "Resmont", "Akshar", "Segoe UI", sans-serif;
        font-size: 14px;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        opacity: 0.74;
        text-shadow: none;
    }

    .RadioCommands {
        width: 100%;
        flex-direction: column;
    }
}

RadioCommand {
    width: 100%;
    min-height: $radio-row-height;
    align-items: stretch;
    background-color: $radio-row-background;

    &:nth-child(even) {
        background-color: $radio-row-stripe-background;
    }

    &:not(:last-child) {
        border-bottom: 1px solid $scoreboard-divider;
    }

    .grow {
        flex-grow: 1;
    }

    .Number {
        width: 44px;
        justify-content: center;
        align-items: center;
        border-right: 1px solid $scoreboard-divider;
        font-family: "Resmont-Regular", "Resmont", "Akshar", "Segoe UI", sans-serif;
        font-size: 14px;
        letter-spacing: 0.9px;
        opacity: 0.8;
        text-shadow: none;
    }

    .Number.is-unselected {
        background-color: $radio-number-background;
    }

    .segment {
        flex-grow: 1;
        align-items: center;
        padding: 0 12px;
    }

    .segment.radio-selected,
    .Number.radio-selected {
        box-shadow: 0 0 0 1px $radio-selected-outline;
    }

    .gunname {
        font-family: "Akshar-ContrastLight", "Akshar-Light", "Akshar", "Segoe UI", sans-serif;
        font-size: 17px;
        letter-spacing: 0.3px;
        text-shadow: 0 2px 8px rgba( black, 0.35 );
    }
}
