/* Copebit Color Scheme - Consistent with home screen */
:root {
    --copebit-primary: #1d82b3;
    --copebit-secondary: #7CC9CC;
    --copebit-light: rgba(29, 130, 179, 0.1);
    --copebit-gradient: linear-gradient(45deg, #1d82b3, #7CC9CC);
    --copebit-font-color: #333;
}

/* Base font color */
body {
    color: var(--copebit-font-color);
    font-family: 'Raleway', sans-serif;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('/images/bg.png');
    background-repeat: repeat-y;
    background-position: center top;
    background-attachment: scroll;
    background-size: 100% auto;
    opacity: 0.4;
    /* Adjust transparency here: 0.1 to 1.0 */
    z-index: -1;
    pointer-events: none;
}

/* Headings */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--copebit-font-color);
}

/* Header styling - ensure it always has proper styling */
header {
    /* background: white; */
    border-bottom: 1px solid #e9ecef;
}

header .tagline {
    color: var(--copebit-primary);
    font-weight: 600;
}

/* Copebit utility classes */
.text-copebit-primary {
    color: var(--copebit-primary) !important;
}

.text-copebit-secondary {
    color: var(--copebit-secondary) !important;
}

.bg-copebit-light {
    background-color: var(--copebit-light) !important;
}

/* Form Controls - Better validation styling */
.form-control {
    border-color: #dee2e6;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: var(--copebit-secondary);
    box-shadow: 0 0 0 0.2rem rgba(124, 201, 204, 0.25);
}

/* Only show validation styles after form has been submitted or field has been touched */
.form-control:invalid {
    border-color: #dee2e6;
    /* Keep neutral until form is submitted */
}

.form-control:valid {
    border-color: #dee2e6;
    /* Keep neutral until form is submitted */
}

/* Show validation styles only after form submission attempt */
.was-validated .form-control:invalid,
.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.was-validated .form-control:valid,
.form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Input group text styling */
.input-group-text {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #6c757d;
    transition: border-color 0.15s ease-in-out;
}

/* Input group validation styling */
.was-validated .input-group .form-control:invalid+.input-group-text,
.input-group .form-control.is-invalid+.input-group-text {
    border-color: #dc3545;
}

.was-validated .input-group .form-control:valid+.input-group-text,
.input-group .form-control.is-valid+.input-group-text {
    border-color: #28a745;
}

/* Focus state for input groups */
.input-group:focus-within .input-group-text {
    border-color: var(--copebit-secondary);
}

/* home page tagline */
.tagline {
    color: var(--copebit-primary) !important;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.3;
}

/* Copebit Button - matches home screen exactly */
.btn-copebit {
    background-color: var(--copebit-primary);
    border-color: var(--copebit-primary);
    color: white;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 12px 30px;
    border-radius: 8px;
}

.btn-copebit:hover {
    background-color: var(--copebit-secondary);
    border-color: var(--copebit-secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(124, 201, 204, 0.3);
}

.btn-copebit:focus,
.btn-copebit.focus {
    background-color: var(--copebit-secondary);
    border-color: var(--copebit-secondary);
    color: white;
    box-shadow: 0 0 0 0.2rem rgba(124, 201, 204, 0.5);
}

.btn-copebit:active {
    background-color: var(--copebit-secondary);
    border-color: var(--copebit-secondary);
    color: white;
}

/* Outline button variant */
.btn-outline-copebit {
    border: 2px solid var(--copebit-primary);
    color: var(--copebit-primary);
    background: white;
}

.btn-outline-copebit:hover {
    background: var(--copebit-primary);
    color: white;
    border-color: var(--copebit-primary);
}

/* Form Check Inputs */
.form-check-input:checked {
    background-color: var(--copebit-primary);
    border-color: var(--copebit-primary);
}

.form-check-input:focus {
    border-color: var(--copebit-secondary);
    box-shadow: 0 0 0 0.2rem rgba(124, 201, 204, 0.25);
}

/* Checkbox validation - only after form submission */
.form-check-input:invalid {
    border-color: #dee2e6;
}

.was-validated .form-check-input:invalid,
.form-check-input.is-invalid {
    border-color: #dc3545;
}

.was-validated .form-check-input:valid,
.form-check-input.is-valid {
    border-color: #28a745;
}

/* Enhanced Card */
.enhanced-card {
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    animation: slideInUp 0.6s ease-out;
}

.form-control-lg {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 8px;
}

/* Links - consistent with home screen */
a {
    color: var(--copebit-primary);
    text-decoration: none;
    font-weight: bolder;
}

a:hover {
    color: var(--copebit-secondary);
}

/* Bootstrap overrides for consistency */
.btn-primary {
    background-color: var(--copebit-primary);
    border-color: var(--copebit-primary);
}

.btn-primary:hover {
    background-color: var(--copebit-secondary);
    border-color: var(--copebit-secondary);
}

.btn-primary:focus,
.btn-primary.focus {
    background-color: var(--copebit-secondary);
    border-color: var(--copebit-secondary);
    box-shadow: 0 0 0 0.2rem rgba(124, 201, 204, 0.5);
}

.text-primary {
    color: var(--copebit-primary) !important;
}

/* Home screen styling */
.home-title {
    background: var(--copebit-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.home-cta {
    color: var(--copebit-primary);
    font-weight: 600;
    font-size: 1.2rem;
}

.home-cta a {
    color: var(--copebit-primary);
    font-weight: 700;
}

.home-cta a:hover {
    color: var(--copebit-secondary);
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive font sizes */
@media (max-width: 768px) {
    .home-title {
        font-size: 2.5rem !important;
    }

    .home-cta {
        font-size: 1.1rem;
    }
}


/* Treasure Page Styling */
.treasure-page {
    /* padding: 2rem 0; */
}

/* Status Badge */
.status-badge {
    display: inline-block;
    background-color: var(--copebit-light);
    color: var(--copebit-primary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    border: 1px solid var(--copebit-secondary);
}

/* Treasure Sections */
.treasure-section {
    border-left: 3px solid var(--copebit-light);
    padding-left: 1rem;
}

.section-title {
    color: var(--copebit-font-color);
    font-size: 1.1rem; 
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.section-content {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--copebit-font-color);
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.points-value {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--copebit-primary);
}

/* Claimed Treasure Styling */
.treasure-claimed {} 

.treasure-gif {
    max-width: 200px;
    height: auto;
}

.claimed-message {
    background: linear-gradient(135deg, var(--copebit-light), rgba(124, 201, 204, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--copebit-secondary);
}

/* Navigation Buttons */
.treasure-navigation {
    max-width: 600px;
    margin: 0 auto;
}

.treasure-section-title {
    color: var(--copebit-font-color);
    font-size: 1.1rem !important;
    font-weight: 600;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
}

.nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid var(--copebit-primary);
    background: white;
    color: var(--copebit-primary);
    min-height: 80px;
}

.nav-button:hover {
    background: var(--copebit-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(29, 130, 179, 0.3);
}

.nav-button-content {
    text-align: center;
    flex: 1;
}

.nav-button-content small {
    font-size: 0.85rem;
    opacity: 0.8;
}

.nav-button-content strong {
    font-size: 1.1rem;
}


/* Mobile Optimizations */
@media (max-width: 768px) {
    .treasure-page {
        padding: 1rem 0;
    }

    .section-title {
        font-size: 1rem;
    }

    .section-content {
        font-size: 1rem;
        padding: 0.75rem;
    }

    .nav-button {
        min-height: 70px;
        padding: 0.75rem 1rem;
    }

    .nav-button-content strong {
        font-size: 1rem;
    }

    .treasure-gif {
        max-width: 150px;
    }

    .claimed-message {
        padding: 1.5rem;
    }
}

/* User Stats Container */
.user-stats-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Stats Card */
.stats-card {
    background: linear-gradient(135deg, var(--copebit-light), rgba(124, 201, 204, 0.05));
    border: 1px solid var(--copebit-secondary);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.points-icon {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #b8860b;
}

.rank-icon {
    background: linear-gradient(135deg, var(--copebit-secondary), var(--copebit-primary));
    color: white;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

/* Collapsible Treasures Card */
.treasures-card .card-header {
    border-bottom: none;
    background: var(--copebit-light) !important;
}

.treasures-card .card-header button {
    border: none !important;
    background: none !important;
    color: inherit !important;
    box-shadow: none !important;
    border-radius: 0;
}

.treasures-card .card-header button:focus {
    box-shadow: none !important;
}

.treasures-card .card-header button:hover {
    background: rgba(124, 201, 204, 0.1) !important;
}

/* Collapse Icon Animation */
.collapse-icon {
    transition: transform 0.3s ease;
}

.collapsed .collapse-icon {
    transform: rotate(0deg);
}

.collapse-icon {
    transform: rotate(180deg);
}

/* Badge for treasure count */
.badge.bg-copebit-secondary {
    background-color: var(--copebit-secondary) !important;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
}

/* Treasures List */
.treasures-list {
    padding: 0;
}

.treasure-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #e9ecef;
    transition: background-color 0.2s ease;
}

.treasure-item:last-child {
    border-bottom: none;
}

.treasure-item:hover {
    background-color: #f8f9fa;
}

.treasure-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--copebit-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.treasure-details {
    flex: 1;
}

.treasure-name {
    font-weight: 600;
    color: var(--copebit-font-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.treasure-meta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.points-badge,
.time-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 500;
}

.points-badge {
    background: linear-gradient(135deg, #fff3cd, #ffeaa7);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.time-badge {
    background: #e9ecef;
    color: #6c757d;
    border: 1px solid #dee2e6;
}

.treasure-status {
    font-size: 1.2rem;
    margin-left: 1rem;
}

/* Collapse transition */
.collapse {
    transition: height 0.35s ease;
}

.collapsing {
    transition: height 0.35s ease;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .stat-value {
        font-size: 1.5rem;
    }

    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .treasure-item {
        padding: 0.75rem 1rem;
    }

    .treasure-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
        margin-right: 0.75rem;
    }

    .treasure-name {
        font-size: 1rem;
        margin-bottom: 0.25rem;
    }

    .treasure-meta {
        gap: 0.5rem;
    }

    .points-badge,
    .time-badge {
        padding: 0.2rem 0.5rem;
        font-size: 0.8rem;
    }

    .treasures-card .card-header button {
        padding: 1rem !important;
    }
}





/* Auction Page Styling - matches treasure page */
.auction-page {
    /* padding: 2rem 0; */
}

/* Claimed Auction Styling */
.auction-claimed {
    /* padding: 2rem 0; */
}

.auction-gif {
    max-width: 250px;
    height: auto;
}

.claimed-message {
    background: linear-gradient(135deg, var(--copebit-light), rgba(124, 201, 204, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--copebit-secondary);
}

/* Auction Stats */
.auction-stats {
    text-align: center;
}

.stat-item-small {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.stat-icon-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.points-icon-small {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #b8860b;
}

.claimed-icon-small {
    background: linear-gradient(135deg, var(--copebit-secondary), var(--copebit-primary));
    color: white;
}

.limit-icon-small {
    background: linear-gradient(135deg, #ffc107, #ff8c00);
    color: white;
}

.stat-content-small {
    text-align: center;
}

.stat-label-small {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.stat-value-small {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

/* Progress Bar Styling */
.progress {
    background-color: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar.bg-copebit-secondary {
    background: linear-gradient(90deg, var(--copebit-secondary), var(--copebit-primary)) !important;
    transition: width 0.6s ease;
}

/* Navigation */
.auction-navigation {
    max-width: 400px;
    margin: 0 auto;
}

/* Mobile Optimizations */
@media (max-width: 768px) {
    .auction-page {
        padding: 1rem 0;
    }

    .auction-gif {
        max-width: 180px;
    }

    .claimed-message {
        padding: 1.5rem;
    }

    .stat-icon-small {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .stat-value-small {
        font-size: 1.25rem;
    }

    .stat-label-small {
        font-size: 0.8rem;
    }

    /* Stack stats vertically on very small screens */
    @media (max-width: 576px) {
        .auction-stats .row {
            --bs-gutter-y: 1.5rem;
        }

        .auction-stats .col-md-4 {
            margin-bottom: 1rem;
        }
    }
}

/* Animation for the progress bar */
@keyframes progressFill {
    from {
        width: 0%;
    }
}

.progress-bar {
    animation: progressFill 1s ease-out;
}

/* alert boxes */

/* Custom Alert Styling for Copebit Colors */
.alert {
    border: none;
    border-radius: 8px;
    font-weight: 500;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border-left: 4px solid;
}

/* Success Alert - using Copebit secondary (teal) */
.alert-success {
    background-color: rgba(124, 201, 204, 0.1);
    border-left-color: var(--copebit-secondary);
    color: #0f5132;
}

.alert-success .alert-link {
    color: #0a4128;
}

.alert-success .btn-close {
    filter: invert(1) grayscale(100%) brightness(90%);
}

/* Info/Primary Alert - using Copebit primary (blue) */
.alert-info,
.alert-primary {
    background-color: var(--copebit-light);
    border-left-color: var(--copebit-primary);
    color: #055160;
}

.alert-info .alert-link,
.alert-primary .alert-link {
    color: #04414d;
}

/* Warning Alert - warm orange/amber to complement blues */
.alert-warning {
    background-color: rgba(255, 193, 7, 0.1);
    border-left-color: #ff8c00;
    color: #664d03;
}

.alert-warning .alert-link {
    color: #523e02;
}

/* Danger Alert - muted red that works with your palette */
.alert-danger {
    background-color: rgba(220, 53, 69, 0.1);
    border-left-color: #dc3545;
    color: #721c24;
}

.alert-danger .alert-link {
    color: #58151c;
}

/* Alert icons - add some visual interest */
.alert::before {
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    margin-right: 0.75rem;
    font-size: 1.1em;
}

.alert-success::before {
    content: "\f00c";
    /* check icon */
    color: var(--copebit-secondary);
}

.alert-info::before,
.alert-primary::before {
    content: "\f05a";
    /* info circle icon */
    color: var(--copebit-primary);
}

.alert-warning::before {
    content: "\f071";
    /* exclamation triangle icon */
    color: #ff8c00;
}

.alert-danger::before {
    content: "\f06a";
    /* exclamation circle icon */
    color: #dc3545;
}

/* Kiosk Mode Styling */
.kiosk-container {
    /* padding: 2rem;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%); */
    max-height: 100vh !important;
}

.kiosk-header {
    margin-bottom: 3rem;
}

/* kiosk title is not in use */
.kiosk-title {
    font-size: 4rem;
    font-weight: 800;
    background: var(--copebit-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.kiosk-subtitle {
    font-size: 1.2rem;
    color: #6c757d;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    font-weight: bolder;
}

/* Kiosk Sections */
.kiosk-section {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    height: 70vh;
    overflow-y: auto;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--copebit-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 3px solid var(--copebit-light);
    padding-bottom: 1rem;
}

/* Enhanced Leaderboard */
.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 0.6rem;
    border-radius: 15px;
    background: #f8f9fa;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.leaderboard-item.top-player {
    background: linear-gradient(135deg, var(--copebit-light), rgba(124, 201, 204, 0.1));
    border-color: var(--copebit-secondary);
}

.rank-badge {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 700;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #b8860b;
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #666;
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32, #daa520);
    color: white;
}

.rank-badge:not(.rank-1):not(.rank-2):not(.rank-3) {
    background: var(--copebit-primary);
    color: white;
    font-size: 1.25rem;
}

.player-info {
    flex: 1;
}

.player-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--copebit-font-color);
}

.points-badge {
    background: var(--copebit-secondary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-align: center;
    min-width: 100px;
}

.points-value {
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.points-label {
    margin-left: 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Dutch Auction Styling */
.dutch-auction-container {
    overflow: auto !important;
    -ms-overflow-style: none !important;
    scrollbar-width: none !important;
}
.dutch-auction-container::-webkit-scrollbar {
    display: none !important;
}

.auction-state {
    display: none;
    height: 100%;
    align-items: center;
    justify-content: center;
}

.auction-state.active {
    display: flex;
}

.auction-content {
    text-align: center;
    width: 100%;
}

.points-display {
    /* margin-bottom: 3rem; */
}

.current-label {
    font-size: 1.5rem;
    color: #6c757d;
    /* margin-bottom: 1rem; */
}

.current-points {
    font-size: 2rem;
    font-weight: 800;
    color: var(--copebit-primary);
    line-height: 1;;
}

.qr-section {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.qr-container {
    background: white;
    padding: 1rem !important;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    /* margin-bottom: 1rem; */
    border: 3px solid var(--copebit-secondary);
    
}

.qr-code {
    min-height: 200px;
    min-width: 200px;

}

.scan-instruction {
    font-size: 1.5rem;
    font-weight: 600;
    /* color: var(--copebit-primary);
    background: var(--copebit-light);
    padding: 1rem 2rem;
    border-radius: 15px;
    border: 2px solid var(--copebit-secondary); */
}

/* Add to app.css */
.points-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--copebit-light);
    border-radius: 8px;
    font-size: 1.3rem;
    color: var(--copebit-primary);
}

/* Other Auction States */
.claimed-content,
.next-content,
.none-content {
    text-align: center;
}

.claimed-icon,
.none-icon {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.claimed-icon {
    color: #28a745;
}

.none-icon {
    color: #6c757d;
}

.claimed-text,
.none-text {
    font-size: 2.5rem;
    color: var(--copebit-primary);
}

.next-label {
    font-size: 1.5rem;
    color: #6c757d;
    margin-bottom: 2rem;
}

.time-until-next {
    font-size: 4rem;
    font-weight: 800;
    color: var(--copebit-secondary);
}

/* Footer */
.kiosk-footer {
    margin-top: 2rem;
}

.footer-text {
    font-size: 1.1rem;
    color: #6c757d;
    background: rgba(255, 255, 255, 0.8);
    padding: 1rem 2rem;
    border-radius: 15px;
    display: inline-block;
}

/* Admin Controls */
.admin-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

/* Responsive adjustments for different TV sizes */
@media (min-width: 1400px) {
    .kiosk-title {
        font-size: 5rem;
    }

    .current-points {
        font-size: 8rem;
    }

    .qr-container {
        padding: 3rem;
    }

    .qr-code {
        min-height: 300px;
        min-width: 300px;
    }
}

/* Animation for live updates */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.current-points {
    animation: pulse 2s infinite;
}

/* Auction Status Styling */
.auction-status {
    background: var(--copebit-light);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid var(--copebit-secondary);
}

.status-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.countdown-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--copebit-primary);
}

.countdown-section i {
    color: var(--copebit-secondary);
    font-size: 1.5rem;
}

.countdown-label {
    color: #6c757d;
    font-size: 1rem;
}

.js-countdown-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--copebit-primary);
    min-width: 70px;
    text-align: center;
}

.progress-section {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--copebit-font-color);
    display: flex;
    align-items: baseline;
    gap: 0.25rem;
}

.js-current-points-small {
    color: var(--copebit-primary);
    font-size: 2rem;
    font-weight: 700;
}

.separator {
    color: #6c757d;
}

.points-unit {
    color: #6c757d;
    font-size: 1rem;
}

/* Visual Progress */
.visual-progress {
    position: relative;
}

.progress-bar-container {
    width: 100%;
    height: 16px;
    background: #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--copebit-primary), var(--copebit-secondary));
    border-radius: 8px;
    transition: width 0.5s ease;
    min-width: 2px;
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: #6c757d;
}

/* Countdown Timer States */
.js-countdown-timer.urgent {
    color: #dc3545;
    animation: pulse 1s infinite;
}

.js-countdown-timer.warning {
    color: #ff8c00;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .status-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
        text-align: center;
    }

    .countdown-section {
        justify-content: center;
    }

    .progress-section {
        justify-content: center;
    }
}


/* Carousel step images */
.carousel-step-img {
    max-width: 180px;
    width: 80%;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(29, 130, 179, 0.08);
}

/* Carousel captions for better readability and centering */
.carousel-step-caption,
.carousel-caption {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 12px;
    padding: 1.25rem 1rem;
    color: var(--copebit-font-color);
    box-shadow: 0 2px 8px rgba(29, 130, 179, 0.07);
    min-height: 32px;
    overflow: visible;
    word-break: break-word;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 80%;
    margin: 0 auto 1rem auto;
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
}

/* Carousel caption heading and paragraph */
.carousel-step-caption h5,
.carousel-caption h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--copebit-primary);
    margin-bottom: 0.3rem;
}

.carousel-step-caption p,
.carousel-caption p {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0;
}

/* Carousel container and controls */
.carousel {
    overflow: hidden;
    padding-bottom: 0.8rem;
}

.carousel-inner {
    overflow: visible;
}

.carousel-control-next,
.carousel-control-prev,
.carousel-indicators {
    bottom: 4rem;
}

/* Color carousel control icons with Copebit blue */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-image: none;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* disable background colors */
/* .carousel-control-prev-icon::after,
.carousel-control-next-icon::after {
    content: '';
    display: block;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: var(--copebit-primary);
    opacity: 0.15;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 0;
} */

.carousel-control-prev-icon::before {
    content: '\2039';
    font-size: 2rem;
    color: var(--copebit-primary);
    font-weight: bold;
    position: relative;
    z-index: 1;
}

.carousel-control-next-icon::before {
    content: '\203A';
    font-size: 2rem;
    color: var(--copebit-primary);
    font-weight: bold;
    position: relative;
    z-index: 1;
}