@import 'shared-styles.css';

body {
    background: url('../background.jpg') no-repeat center center fixed;
    background-size: cover;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    z-index: 0;
}

.display-container {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

.header {
    background: linear-gradient(to right, rgba(20, 30, 48, 0.8), rgba(36, 59, 85, 0.8));
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    color: white;
    padding: 15px 0;
    margin-bottom: 10px;
}

.header h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.queue-info {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    border-radius: 15px;
    padding: 20px;
    height: 100%;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.content-wrapper {
    padding: 30px;
    display: flex;
    gap: 30px;
    height: calc(100vh - 240px);
}

.main-section {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 20px;
}

.queue-current {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    width: 100%;
}

.current-box {
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(12px);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: all 0.3s ease;
}

.current-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    animation: none;
    background: none;
}

.current-box.highlight::after {
    animation: border-glow 1s ease-out;
}

.current-number {
    font-size: 12rem;
    font-weight: 800;
    text-align: center;
    color: rgba(255, 255, 255, 0.95);
    margin: 30px 0;
    text-shadow: 
        3px 3px 6px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.2);
}

.current-number.blink {
    animation: number-highlight 2s ease infinite;
}

.current-info {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    border-radius: 15px;
    padding: 30px;
    margin-top: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.current-info h3 {
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.service-name {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 20px;
    font-weight: 600;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.counter-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    background: rgba(0, 0, 0, 0.25);
    padding: 15px 30px;
    border-radius: 10px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.next-box { 
    flex: 1; 
    padding: 20px;
}

.next-queue-section {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    display: flex;
    flex-direction: column;
}

.next-numbers {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    overflow-y: auto;
    padding: 20px;
}

.next-queue-item {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(4px);
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.next-queue-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.next-number {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.next-queue-item strong {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
    font-size: 2.5rem;
}

.next-queue-item small {
    color: rgba(255, 255, 255, 0.8) !important;
}

.next-queue-item .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 1.2rem;
}

.ratio {
    height: calc(100% - 60px);
}

.footer {
    background: linear-gradient(to right, rgba(20, 30, 48, 0.8), rgba(36, 59, 85, 0.8));
    backdrop-filter: blur(10px);
    color: white;
    padding: 10px 0;
    text-align: center;
    font-size: 1rem;
    box-shadow: 0 -4px 15px rgba(0,0,0,0.1);
}

.running-text {
    white-space: nowrap;
    overflow: hidden;
    animation: marquee 20s linear infinite;
}

h2, h3 {
    color: white !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

@keyframes number-highlight {
    0%, 100% { 
        transform: scale(1);
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    }
    50% { 
        transform: scale(1.05);
        text-shadow: 
            3px 3px 6px rgba(0, 0, 0, 0.4),
            0 0 60px rgba(255, 255, 255, 0.3);
    }
}

.blink {
    animation: number-highlight 2s ease infinite;
}

@keyframes border-glow {
    0% {
        border-color: #ff0844;
        box-shadow: 0 0 20px rgba(255, 8, 68, 0.5);
    }
    100% {
        border-color: transparent;
        box-shadow: none;
    }
}

@media (min-width: 1200px) {
    .current-number {
        font-size: 9rem;
    }
}

@media (min-width: 1920px) {
    .current-number {
        font-size: 14rem;
    }
    
    .service-name {
        font-size: 4rem;
    }
    
    .counter-number {
        font-size: 4.5rem;
    }
    
    .next-number {
        font-size: 3.5rem;
    }
}

/* Hide video section */
.video-section {
    display: none;
}

/* Remove any conflicting styles from shared-styles.css */
.glass-panel {
    background: none;
    backdrop-filter: none;
    box-shadow: none;
}
