html {
  font-size: 14px;
}

main {
    height: calc(100vh - 56px - 40px);
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.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%;
    height: 100%;
    overflow: hidden;
}

body {
    overflow: hidden;
    margin: 0;
    padding: 0;
    background-image: url("/img/background.jpg");
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.full-screen-row {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    height: calc(100vh - 45px);
    width: 100vw;
}

.column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    min-height: 0; /* critical */
}

    .column.left, .column.right {
        font-size: 2rem; /* large for screens */
    }

    .column.middle {
        font-size: 6rem; /* super large for countdown timer */
    }

    .column.right {
        overflow: hidden;
    }

    .column.left, .column.right {
        display: flex;
        flex-direction: column;
        justify-content: center; /* vertical centering of HUD if desired */
        align-items: center;
        padding: 20px;
        height: 100%; /* take full height of the column */
        box-sizing: border-box;
    }

/*Below is for the countdown timer*/
#countdown {
    width: 100%;
    display: flex;
    justify-content: center;
}

.countdownHolder {
    margin: 0;
    font-family: 'Open Sans Condensed', sans-serif;
    font-size: 1.6em; /* keeps your 1.6em */
    line-height: 1; /* remove extra space below digits */
    text-align: center;
    letter-spacing: -3px;
}

@media all and (min-width: 960px) {
    .countdownHolder {
        font-size: 100px;
    }
}

@media all and (max-width: 959px) and (min-width: 600px) {
    .countdownHolder {
        font-size: 80px;
    }
}

@media all and (max-width: 599px) and (min-width: 320px) {
    .countdownHolder {
        font-size: 40px;
    }
}

.position {
    display: inline-block;
    height: 1.6em;
    overflow: hidden;
    position: relative;
    width: 1.05em;
}

.digit {
    position: absolute;
    display: block;
    line-height: 1.6em;
    width: 1em;
    background-color: #444;
    border-radius: 0.2em;
    text-align: center;
    color: #fff;
    letter-spacing: -1px;
}

    .digit.static {
        box-shadow: 1px 1px 1px rgba(4, 4, 4, 0.35);
        background-image: linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -o-linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -moz-linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -webkit-linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -ms-linear-gradient(bottom, #3A3A3A 50%, #444444 50%);
        background-image: -webkit-gradient( linear, left bottom, left top, color-stop(0.5, #3A3A3A), color-stop(0.5, #444444) );
    }

/**
 * You can use these classes to hide parts
 * of the countdown that you don't need.
 */

.countDays {
    display: none !important;
}

.countDiv0 {
    display: none !important;
}

.countHours {
    display: none !important;
}

.countDiv1 {
    display: none !important;
}

.countMinutes {
    font-size: 2em;
}

.countDiv2 {
    font-size: 2.25em;
    margin-right: 10px;
}

.countSeconds {
    font-size: 2em;
}

.reset-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.pausedText {
    font-size: 2em;
    color: white;
    animation: slowPulse;
}

.countDiv {
    display: inline-block;
    width: 16px;
    height: 1em;
    position: relative;
}

    .countDiv:before,
    .countDiv:after {
        position: absolute;
        width: 5px;
        height: 5px;
        background-color: #444;
        border-radius: 50%;
        left: 50%;
        margin-left: -3px;
        top: 0.5em;
        box-shadow: 1px 1px 1px rgba(4, 4, 4, 0.5);
        content: '';
    }

    .countDiv:after {
        top: 0.9em;
    }

/* Container takes 30% of screen */
.blind-schedule {
    height: 100vh;
    background-color: #111;
    color: #fff;
    font-family: Arial, Helvetica, sans-serif;
    display: flex;
    flex-direction: column;
    border-right: 2px solid #333;
}

/* Header */
.schedule-header {
    padding: 16px;
    text-align: center;
    border-bottom: 2px solid #333;
    background-color: #1a1a1a;
}

    .schedule-header h2 {
        margin: 0;
        font-size: 1.4rem;
        letter-spacing: 1px;
    }

/* Scrollable list */
.schedule-list {
    overflow-y: auto;
    flex: 1;
}

/* Row layout */
.schedule-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid #222;
    align-items: center;
    transition: background-color 0.3s ease;
}

    /* Level rows */
    .schedule-row.level {
        background-color: #141414;
    }

    /* Break rows */
    .schedule-row.break {
        background-color: #1f1f1f;
        font-style: italic;
        color: #f0c040;
    }

/* Level number column */
.level-number {
    font-weight: bold;
    width: 40%;
}

/* Blind amount column */
.level-blinds {
    text-align: right;
    width: 60%;
}

/* Hover effect */
.schedule-row.level:hover {
    background-color: #1e1e1e;
}

/* Vue will toggle this */
.schedule-row.active {
    background-color: #006400;
    color: #ffffff;
    font-weight: bold;
}

.current-round {
    background-color: #1e88e5;
    color: white;
    animation: slowPulse 2.2s ease-in-out infinite;
}

@keyframes slowPulse {
    0% {
        box-shadow: 0 0 0px rgba(30, 136, 229, 0.6);
    }

    50% {
        box-shadow: 0 0 20px rgba(30, 136, 229, 0.9);
    }

    100% {
        box-shadow: 0 0 0px rgba(30, 136, 229, 0.6);
    }
}

/* ===== HUD Container ===== */

.blind-hud {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #111 0%, #1c1c1c 100%);
    border-radius: 14px;
    padding: 0; /* important */
    overflow: hidden; /* prevent spill */
}

.blind-hud-header {
    flex: 0 0 auto; /*fixed height */
    padding: 16px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 18px;
    color: #ffd700;
    background: #111;
    border-bottom: 1px solid #333;
}

.blind-hud-body {
    flex: 1 1 auto;
    overflow-y: auto;
    -ms-overflow-style: none;
    padding: 10px 16px 16px 16px;
    scrollbar-width: none;
}

    .blind-hud-body::-webkit-scrollbar {
        display: none;
    }

.blind-row {
    padding: 10px 12px;
    margin-bottom: 6px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.blind-level {
    color: #bbb;
    display: flex;
    justify-content: center; /* horizontal center */
    align-items: center; /* vertical center */
    text-align: center; /* center inline text */
    width: 100%;
}

.blind-round-number {
    font-weight: bold;
    opacity: 0.7;
}

.blind-values {
    font-size: 18px;
    font-weight: 600;
}

/* ===== Break Styling ===== */

.blind-break {
    background: rgba(255,255,255,0.05);
    font-style: italic;
    color: #bbb;
}

.blind-break-text {
    text-align: center;
}

/* ===== CURRENT ROUND PULSE ===== */

.blind-current {
    background: linear-gradient(90deg, #b8860b, #ffd700);
    font-weight: bold;
    animation: pulseGlow 2s ease-in-out infinite;
    box-shadow: 0 0 20px rgba(255,215,0,0.7);
}
    .blind-current .blind-level {
        color: #3a2a00 !important;
        text-align: center;
    }
    .blind-current .blind-break-text {
        color: #3a2a00 !important;
        text-align: center;
    }

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px rgba(255,215,0,0.6);
    }

    50% {
        box-shadow: 0 0 30px rgba(255,215,0,1);
    }

    100% {
        box-shadow: 0 0 10px rgba(255,215,0,0.6);
    }
}

.payout-hud-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* start at top */
    height: 100%;
    width: 100%;
    box-sizing: border-box;
}

.payout-hud {
    width: 100%;
    height: 100%;
    margin-top: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #111 0%, #1c1c1c 100%);
    border-radius: 14px;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.05), 0 10px 30px rgba(0,0,0,0.6);
    overflow: hidden;
}

/* Header fixed */
.payout-hud-header {
    flex: 0 0 60px;
    padding: 16px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 18px;
    color: #ffd700;
    background: #111;
    border-bottom: 1px solid #333;
    text-shadow: 0 0 8px rgba(255,215,0,0.6);
}

/* Body fixed */
.payout-hud-body {
    flex: 0 0 calc(100% - 60px - 300px); /* HUD height minus header/footer */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    padding: 16px;
    color: #bbb;
    font-weight: 600;
    overflow: hidden;
}

.places-section {
    flex: 1 1 auto; /* takes remaining space */
    display: flex;
    flex-direction: column;
    justify-content: center; /* vertical center */
    align-items: center; /* horizontal center */
    text-align: center;
}

.controls {
    position: relative; /* create new stacking context */
    z-index: 20; /* above paused overlay */
}

/* Footer fixed 300px */
.payout-hud-footer {
    flex: 0 0 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-top: 1px solid #333;
    background: rgba(255,255,255,0.02);
    overflow: hidden;
}

.qr-code {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 12px;
}

.column.middle {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* remove space-between */
    align-items: center;
    padding: 20px;
    height: 100%;
    box-sizing: border-box;
}

.middle-top {
    position: relative;
    flex: 0 0 auto; /* only as tall as content */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    margin-bottom: 20px; /* optional spacing between top content and logo */
}

    /* Centering wrapper for controls */
    .middle-top .controls,
    .middle-top > div[v-else] {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;  handles multiple buttons nicely 
    }

.middle-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* prevents push-off */
    flex: 1 1 auto;
    min-height: 0; /* important for flex layouts */
}

.middle-logo {
    max-height: 100%;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 14px; /* slightly rounded */
}

.message {
    color: #ffd700; /* bright gold */
    text-align: center;
    font-weight: bold;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), /* darker drop shadow */
    0 0 20px rgba(255, 215, 0, 0.8); /* bright gold glow */
    display: inline-block; /* shrink background to text width */
    animation: messagePulse 2s ease-in-out infinite;
}
@keyframes messagePulse {
    0% {
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.8);
    }

    50% {
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8), 0 0 35px rgba(255, 215, 0, 1);
    }

    100% {
        text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

/* Buy-In Rules Section */
.buyin-section .text-primary {
    color: #ffd700 !important; /* Gold for emphasis */
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 1em;
    margin-bottom: 0.5em;
    font-size: 1.2rem; /* Slightly smaller than main text */
}

/* Add subtle shadow for poker-style pop */
.buyin-section .text-primary {
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Adjust text-danger for consistency */
.buyin-section .text-danger {
    color: #e03131; /* Match suit-red */
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.6rem;
    margin-top: 0.5em;
    margin-bottom: 0.5em;
    text-shadow: 0 0 2px rgba(0,0,0,0.5);
}

/* Button triangle container */
.button-triangle {
    display: flex;
    flex-direction: column;
    align-items: center; /* center horizontally */
    gap: 1rem; /* spacing between rows */
    margin-top: 1.5rem;
}

/* Each row of buttons */
.button-row {
    display: flex;
    justify-content: center; /* center the row */
    gap: 1rem; /* space between buttons */
}

    /* Optional: make reset slightly smaller than top row */
    .button-row.bottom-row .btn {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        justify-content: center;
        margin-top: 15px;
    }

/* --------- Poker Chip Button Base --------- */
button.btn {
    font-family: 'Arial Black', Arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 50px; /* rounded like a chip */
    padding: 12px 24px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.5), inset 0 -2px 0 rgba(255,255,255,0.2);
    transition: all 0.2s ease;
    min-width: 100px;
}

/* --------- Chip Colors --------- */
/* Green chip (primary action) */
button.btn-primary {
    background: linear-gradient(145deg, #1e4d2b, #27a844);
    color: #fff;
    border: 3px solid #2c6b3a;
}

/* Red chip (danger action) */
button.btn-danger {
    background: #800000; /* darker red */
    color: #ffd700; /* gold text */
    border: 2px solid #500000;
    font-size: 0.85rem; /* slightly smaller than normal buttons */
    padding: 5px 14px;
}

/* --------- Hover Effect --------- */
button.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 10px rgba(0,0,0,0.6), inset 0 -2px 0 rgba(255,255,255,0.25);
}

button.btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.4), inset 0 -2px 0 rgba(255,255,255,0.15);
}

button.btn:focus {
    outline: none;
    transform: translateY(0);
    box-shadow: 0 4px 6px rgba(0,0,0,0.5), inset 0 -2px 0 rgba(255,255,255,0.2);
}

/* --------- Inner Highlight (like light on chip) --------- */
button.btn::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 40%, rgba(255,255,255,0.35), transparent 60%);
    transform: rotate(-25deg);
    pointer-events: none;
}

/* --------- Small +/- Buttons --------- */
button.btn-sm {
    padding: 8px 16px;
    font-size: 1rem;
    border-radius: 40px;
    min-width: 50px;
}

/* --------- Buy-ins Counter Styling --------- */
.buyin-section span {
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0 15px;
    color: gold;
    text-shadow: 1px 1px 2px black;
}

/* --------- Optional Text Shadow for All Buttons --------- */
button.btn-primary, button.btn-danger {
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
}

/* --------- Disabled / Inactive Effect --------- */
button.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* Overlay container */
.paused-overlay {
    position: absolute; /* sits on top */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6); /* dark transparent layer */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10; /* above all content */
    pointer-events: none; /* allows button clicks below if needed */
}

    /* PAUSED text */
    .paused-overlay span {
        font-size: 5rem;
        color: #ff2121; /* bright red */
        text-transform: uppercase;
        font-weight: 900;
        letter-spacing: 0.2em;
        text-shadow: 0 0 20px #ff2121, 0 0 40px #ff2121, 0 0 60px #ff2121;
        animation: pulseRed 1s infinite alternate;
    }

/* Pulse animation */
@keyframes pulseRed {
    from {
        transform: scale(1);
        opacity: 0.8;
    }

    to {
        transform: scale(1.1);
        opacity: 1;
    }
}

.ticker-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 45px;
    overflow: hidden;
    background: #111;
    color: white;
    display: flex;
    align-items: center;
    font-weight: 600;
    letter-spacing: 1px;
    border-top: 2px solid #333;
}

.ticker {
    display: inline-block;
    white-space: nowrap;
    animation: ticker-scroll 40s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    font-size: 1.5em;
}

.ticker-track {
    display: flex;
    width: max-content;
    animation: ticker-scroll linear infinite;
    position: relative;
    z-index: 3;
}

.ticker-content {
    display: flex;
    white-space: nowrap;
    position: relative;
    z-index: 3;
}

.ticker-text {
    padding: 0 40px 0 40px;
    color: #ffd700;
    letter-spacing: 1px;
    font-weight: 600;
}

.ticker-sep {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: .85;
    font-size: 1.5em;
}

.suit-0, .suit-2 {
    color: white;
}

.suit-1, .suit-3 {
    color: #e03131;
}

@keyframes ticker-scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(-50%);
    }
}

.ticker-wrapper::before,
.ticker-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 80px;
    height: 100%;
    z-index: 2;
}

.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #111, transparent);
}

.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #111, transparent);
}