﻿:root {
    --bs-primary: #df4800;
    --accent-orange: #FF6B00;
    --light-orange: #ff6b0036;
    --dark-orange: #5b1c00;
    --surface-bg: #f5f6f7;
    --on-surface: #2c2f30;
    --outline: #757778;
    --gray: #727272;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--surface-bg);
    color: var(--on-surface);
    height: 100vh;
    overflow: hidden;
}
.text-orange {
    color: var(--accent-orange);
}
.font-headline {
    font-family: 'Space Grotesk', sans-serif;
    color: var(--gray);
}

/* Navbar Customization */
.navbar {
    background: white;
    border-bottom: 1px solid #eee;
    padding: 0.75rem 1.5rem;
}

.navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 800;
    letter-spacing: -1px;
    color: var(--bs-primary) !important;
}
.navbar{
    display : block;
}
.nav-link {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500;
    color: var(--outline);
    margin: 0 0.5rem;
}

    .nav-link.active {
        color: var(--bs-primary) !important;
        border-bottom: 2px solid var(--bs-primary);
    }

/* Scoreboard Specifics */
.score-display {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 900;
    font-size: 5.5rem;
    line-height: 1;
    color: var(--dark-orange);
}

.card-custom {
    border: none;
    border-radius: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    background: white;
}

.player-active {
    border-left: 11px solid var(--accent-orange) !important;
    border: 1px solid var(--accent-orange);
    box-shadow: 0 4px 12px rgb(4 2 2 / 15%);
    background: var(--light-orange);
    color: var(--dark-orange);
}

.tall-card {
    min-height : 234px;
}

.player-waiting {
    opacity: 0.6;
    border-left: 8px solid #dee2e6 !important;
}

.badge-orange {
    background: rgba(255, 107, 0, 0.1);
    color: var(--accent-orange);
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.65rem;
    letter-spacing: 1px;
    border-radius: 50rem;
    padding: 0.35em 0.8em;
}

.checkout-strategy-box {
    background: white;
    border-radius: 2rem;
    padding: 2.1rem;
    position: relative;
    overflow: hidden;
    border: 1px solid #f1f1f1;
}

.keypad-container {
    background: rgba(224, 227, 228, 0.2);
    border-radius: 2rem;
    padding: 2rem;
    border: 1px solid white;
}

.btn-key {
    background: white;
    border: 1px solid rgba(0,0,0,0.05);
    border-radius: 1rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    padding: 1.25rem;
    transition: all 0.2s;
}

    .btn-key:active {
        transform: scale(0.95);
    }

.modal-content .btn-key {
    background-color: #faf8f8;
}
.btn-orange {
    background-color: var(--accent-orange);
    color: white;
    border: none;
    box-shadow: 0 10px 20px rgba(255, 107, 0, 0.2);
}

    .btn-orange:hover {
        background-color: var(--bs-primary);
        color: white;
    }

.btn-dark-custom {
    background-color: #1a1a1a;
    color: white;
    border-radius: 50rem;
}

.score-input {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    
    text-align: center;
    border: none;
    border-radius: 1.25rem;
    
    width: 100%;
    padding: 1.5rem;
}
.large-input {
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
    font-size: 3.5rem;
}

.history-list {
    max-height: 523px;
    overflow-y: auto;
    scrollbar-width: none;
}

    .history-list::-webkit-scrollbar {
        display: none;
    }

.footer-stats {
    background: #000;
    color: white;
    border-radius: 2rem;
    padding: 1.25rem 2.5rem;
    margin-top: auto;
}

.floating-indicator {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.75rem 2rem;
    border-radius: 50rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    gap: 1.5rem;
    z-index: 1000;
    border: 1px solid white;
}

.stat-divider {
    width: 1px;
    height: 2rem;
    background: rgba(255,255,255,0.1);
}

.material-symbols-outlined {
    vertical-align: middle;
}

.name {
    height: 50px;
    color:var(--bs-primary);
}

.tussenstand {
    font-size: 0.65rem;
    letter-spacing: 2px;
    height: 38px
}

.history-list .card:nth-child(even) {
    opacity: 0.5 !important;
}

.undo {
    width: 26px;
    padding: 0 !important;
}
.busted{
    background-color : red;
}


.bp-card {
    border-radius: 40px;
    background-color: #ffffff;
    max-width: 450px;
    margin: 40px auto;
    border: none;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.bp-icon-circle {
    width: 80px;
    height: 80px;
    background-color: #F0E6DD;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.bp-title {
    color: var(--bp-text-dark);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.bp-btn-primary {
    background-color: var(--bp-primary-brown);
    color: white;
    border: none;
    padding: 20px;
    border-radius: 20px;
    font-weight: 700;
    box-shadow: 0 8px 15px rgba(150, 66, 0, 0.2);
    transition: transform 0.2s;
}

.bp-btn-secondary {
    background-color: var(--bp-secondary-peach);
    color: var(--bp-text-dark);
    border: none;
    padding: 20px;
    border-radius: 20px;
    font-weight: 700;
    transition: transform 0.2s;
}

    .bp-btn-primary:hover, .bp-btn-secondary:hover {
        transform: translateY(-2px);
        opacity: 0.9;
        color: inherit;
    }

.bp-cancel-text {
    color: #8C98A4;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-decoration: none;
}

.bp-nav-item.active {
    background-color: var(--bp-primary-brown);
    border-radius: 18px;
    color: white !important;
    padding: 8px 24px;
}