html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}
@font-face {
    font-family: 'digital7';
    src: url('../fonts/digital7.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'bulletinv1';
    src: url('../fonts/bulletinv1.ttf') format('truetype');
}
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}
/*------------------------------------*/

.radio-container {
    margin: 0,auto;
    position: relative; /* important: creates a positioning context */
    text-align: center;
    padding: 30px;
    background: #222;
    border-radius: 20px;
    width: 260px;
    box-shadow: 0 0 20px rgba(0,0,0,0.6);
}

.radio-display {
    background: #6f6;
    color: #030;
    font-size: 32px;
    font-weight: bold;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-family: 'digital7', monospace;
    letter-spacing: 3px;
    box-shadow: inset 0 0 10px #030;
}

.user-count {
    font-size: 14px;
    margin-top: 5px;
    color: #030;
    opacity: 0.8;
    font-family: 'digital7', monospace;
}

.channel-row {
    display: flex;
    gap: 15px; /* spacing between them */
    align-items: center;
    width: 100%;
}

.channel-select {
    width: 64%;
    padding: 10px;
    margin-bottom: 25px;
    border-radius: 8px;
    background: #333;
    color: #fff;
    border: 2px solid #555;
    font-size: 16px;
    font-family: 'bulletinv1', monospace;
}

.Subchannel-select {
    width: 34%;
    padding: 10px;
    margin-bottom: 25px;
    border-radius: 8px;
    background: #333;
    color: #fff;
    border: 2px solid #555;
    font-size: 16px;
    font-family: 'bulletinv1', monospace;
}

.Code-input {
    width: 100%;
    padding: 10px;
    margin-bottom: 25px;
    border-radius: 8px;
    background: #333;
    color: #ccc;
    border: 2px solid #555;
    font-size: 18px;
    font-family: 'bulletinv1', monospace;
    letter-spacing: 5px;
    text-align: center;
}

.ptt-button {
    width: 100px;
    height: 100px;
    background: #d32f2f;
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 26px;
    letter-spacing: 3px;
    font-weight: bold;
    font-family: 'bulletinv1', monospace;
    cursor: pointer;
    box-shadow: 0 8px 0 #8b1d1d;
    transition: all 0.1s ease;
}

    .ptt-button:active {
        transform: translateY(6px);
        box-shadow: 0 2px 0 #8b1d1d;
        background: #b71c1c;
    }

.activity {
    font-family: 'Digital7', monospace;
    font-size: 18px;
    opacity: 0.4;
    transition: opacity 0.15s, color 0.15s;
}

    /* Shared active state */
    .activity.tx,
    .activity.rx {
        opacity: 1;
    }

    /* TX = red */
    .activity.tx {
        color: #f00;
    }

    /* RX = green */
    .activity.rx {
        color: #000;
    }

/*----------------------*/
.boot-screen {
    position: fixed;
    inset: 0;
    background: #000;
    color: #0f0;
    font-family: 'Digital7', monospace;
    font-size: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 1s ease-out;
}

.boot-text {
    animation: blink 1s infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
    }

    50% {
        opacity: 0.2;
    }

    100% {
        opacity: 1;
    }
}
/*-----*/
.total-users {
    text-align: center;
    font-size: 14px;    
    color: #030;
    margin-top: 10px;
    opacity: 0.8;
    font-family: 'bulletinv1', monospace;
}
/*---------------*/
.login-bar {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

#nicknameInput {
    padding: 5px 8px;
    font-size: 14px;
}
/*-----------------*/
#busyIndicator {
    position: absolute;
    top: 14px; /* adjust to taste */
    right: 14px; /* adjust to taste */
    width: 10px;
    height: 10px;
    border-radius: 50%;    
}

.busy-on {
    background-color: red;
}

.busy-off {
    background-color: #333;
}
/*- -*/

#talk {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE */
    user-select: none; /* Standard */
}