﻿/* public/css/blindstimer.css */

body {
    height: auto;
    margin: 2vh 5vh 5vh 5vh;
    display: flex;
    flex-direction: column;    
    flex-wrap: wrap;    
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0f4c3a 0%, #1a5f4a 50%, #0d3d2e 100%);
}

/* Row 1 - Logo */
.logo-row {
    height: 8vh;
    margin: 1% 0% 1% 0%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
    .logo-row img {
        height: 100%;
    }

/* Row 2 - Timer */
.timer-row {
    height: 35vh;
    margin: 1% 0% 1% 0%;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.timer-container {
    display: flex;
    height: 100%;
    width: 33%;
    flex-direction: column;
    justify-content: center;
    background: rgba(0,0,0,0.6);
    border-radius: 2vh 2vh;
    border: 0.3vh solid #d4af37;
    box-shadow: 0 2vh 3vh rgba(0,0,0,0.5);
    margin: 0 0 0 0;
}

.timer-info {
    height: 70%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.timer-info-text {
    font-size: 15vh;
    color: white;
    font-weight: bold;
}

.break-info {
    height: 30%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.break-info-text {
    font-size: 5vh;
    color: gray;
    font-weight: bold;
}

.league-logo {
    position: fixed; /* remove from document flow so it doesn't move other elements */
    top: 18vh; /* maintain relative vertical position (scales with height) */
    right: 5vw; /* maintain relative horizontal position (scales with width) */
    width: clamp(96px, 27vw, 520px); /* dynamically scale: min 96px, preferred 12vw, max 240px */
    height: auto; /* preserve aspect ratio */
    z-index: 1000; /* sit above page content */
    pointer-events: none; /* don't intercept clicks */
    image-rendering: -webkit-optimize-contrast;
}

/* Row 3 - Info Boxes */
.info-row {
    height: 40vh;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    gap: 2vh;
}

.info-box {
    display: flex;
    /*flex: auto;*/
    width: 33%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 2vh 2vh;
    padding: 0.5em;
    border: 0.3vh solid #d4af37;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.info-title {
    font-size: 3vh;
    font-weight: bold;
    color: #ffd700;    
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-bottom:  0.2em solid #d4af37;
    padding-bottom: 0.5em;
}

.info-statistics-content {    
    display: flex;
    flex: auto;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-evenly
}

.info-statistics-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 3vh;    
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.info-statistics-label {
    color: #ccc;
    font-weight: 600;
}

.info-statistics-value {
    color: #ffd700;
    font-weight: bold;
}

.info-content {
    display: flex;
    flex: auto;
    flex-direction: column;    
    overflow: hidden;
    justify-content: space-evenly
}

.info-blinds-content {
    flex: auto;
    display: flex;
    flex-direction: column;    
    overflow: hidden;
    justify-content: space-evenly
}

.info-blinds-current {
    font-size: 7vh;
    text-align: center;
    color: #ffd700;
    font-weight: bold;    
}

.info-blinds-next {
    font-size: 5vh;
    text-align: center;
    color: #ccc;    
}

.info-prize-pool-content {
    flex: auto;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    justify-content: space-evenly
}

.prize-pool-list {
    display: flex;
    flex-direction: column;
    gap: 0.2vh;
    overflow-y: auto;
    max-height: 100%;
}

.prize-pool-item {
    display: flex;
    padding: 0.2em;
    background: rgba(255, 215, 0, 0.1);
    border-left: 3px solid #ffd700;
    font-size: 3vh;
    color: white;
    justify-content: space-between;
}

/* Row 4 - Copyright */
.footer-row {
    height: 10vh;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5vh;
    color: #ccc;
    opacity: 0.8;
}