/* General Styling for the Queue Cards */
.queue-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 15px;
    position: relative;
}

.queue-card-called {
    background: rgb(255,152,0);
    background: linear-gradient(90deg, rgba(255,152,0,1) 0%, rgba(255,216,23,0.27325524936537116) 86%);
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 8px;
    margin-bottom: 15px;
    position: relative;
}

.queue-card .queue-token {
    position: absolute;
    right: 0px;
    top: -5px;
    /* background-color: #ff8000; */
    color: #fff;
    padding: 10px 20px;
    font-size: 2.4rem; 
    border-end-end-radius: 10px;
    border-start-end-radius: 10px;               
}

.queue-card-called .queue-token-called {
    position: absolute;
    right: 0px;
    top: -5px;
    background-color: #ff8000; 
    color: #fff;
    padding: 10px 20px;
    font-size: 1.5rem; 
    border-end-end-radius: 10px;
    border-start-end-radius: 10px;               
}


.queue-card h5 {
    margin-bottom: 0;
}

.queue-card .queue-time {
    color: #888;
    font-size: 0.9rem;
}

/* Styling for the Currently Called Token Section */
.called-token {
    background: rgb(255,216,23);
    background: linear-gradient(90deg, rgba(255,216,23,1) 0%, rgba(251,255,0,1) 100%);
    padding: 50px;
    text-align: center;
    border-radius: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.called-token .token-number {
    font-size: 4rem;
    font-weight: bold;
    color: #ff8000;
}

.called-token .serving-time {
    font-size: 1.5rem;
    margin-top: 15px;
}

/* Statistics Section Styling */
.stats {
    margin-top: 30px;
}

.stats h5 {
    font-size: 1.2rem;
}

/* Layout for two cards next to each other */
.card-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

/* Make the left side scrollable when content overflows */
.queue-list {
    /* max-height: 80vh; */
    /* overflow-y: auto; */
}

/* Title Styling */
.page-title {
    text-align: center;
    margin-top: 20px;
    margin-bottom: 40px;
}

.page-title h1 {
    font-size: 2.5rem;
    font-weight: bold;
}

.page-title h2 {
    font-size: 1.5rem;
    color: #666;
}
.container-fluid {
    padding: 20px;
}

.status-card {
    background-color: #f8f9fa;
    /* border: 1px solid #dee2e6; */
    /* border-radius: 5px; */
    padding: 15px;
    margin-bottom: 20px;
}

.visitor-card {
    background-color: #ffffff;
    /* border: 1px solid #007bff; */
    border-radius: 5px;
    padding: 10px;
    margin-top: 10px;
}

h5 {
    font-weight: bold;
}

h6 {
    font-size: 1.1em;
    margin: 0;
}

span {
    display: block;
    font-size: 1.2em;
    color: #007bff;
    margin-top: 5px;
}

.status-card {
    position: relative;
    padding: 15px;
    /* border: 1px solid #ddd; */
    border-radius: 8px;
    margin-bottom: 15px;
}

.serving-list,
.queue-list,
.called-list,
.completed-list {
    /*max-height: 800px;  Set a maximum height for the column */
    /* overflow-y: auto; Enable vertical scrolling */
    overflow-x: hidden; /* Hide horizontal overflow */
}

.called-token {
    margin-top: 15px; /* Space between sections */
}

.footer {
    background-color: #f8f9fa; /* Light background color */
    padding: 10px 0; /* Vertical padding */
    text-align: center; /* Center text */
    position: fixed; /* Fix footer at the bottom */
    bottom: 0; /* Align to the bottom */
    left: 0; /* Align to the left */
    right: 0; /* Align to the right */
    border-top: 1px solid #ddd; /* Top border */
}

.footer p {
    margin: 5px 0; /* Vertical margin for paragraphs */
    font-size: 14px; /* Font size */
    color: #333; /* Text color */
}

#complete {
    font-size: 12px;
}

.count {
    color: #666;
    font-style: italic;
    margin-top: -5px;
}

/* Left column styles */
.left-column {
    background-color: #f8f9fa;   
    margin-left: -10px;
    margin-top: -20px;
    padding-top: 15px;
    height: 100vh; /* Full viewport height */

    border-left:5px solid #4b4b4b;
}

/* Style for footer date and time */
#header-date-time {
    
    font-weight: bold; /* Make the text bold */
    color: #ffffff; /* White color for contrast */
    margin-top: 20px; /* Space above the date/time */
    text-align: center; /* Center the text */
    opacity: 1; /* Full opacity */
}

/* Card style for the header date and time */
.date-time-card {
    position: absolute; /* Position it absolutely */
    top: 20px; /* Distance from the top */
    right: 20px; /* Distance from the right */
    background: rgb(23,107,255);
    background: linear-gradient(37deg, rgba(23,107,255,1) 0%, rgba(255,0,75,1) 95%);
    color: #FFFFFF; /* White text */
    padding: 10px 15px; /* Padding around the text */
    border-radius: 8px; /* Rounded corners */
    font-size: 1.5em; /* Font size */
    text-align: center; /* Center the text */
    box-shadow: 0 4px 8px rgba(143, 143, 143, 0.3); /* Shadow for depth */
    width: 200px; /* Fixed width for the card */
}


.i-card {
    background: rgb(249,249,249);
    background: linear-gradient(90deg, rgba(249,249,249,1) 0%, rgba(240,240,240,0.9315185546875) 100%);
    border-radius: 3px; /* Rounded corners */
}
.i-card h5 {
    font-weight: bold; /* Bold font */
}
.i-card p {
    font-size: 24px; /* Larger font size for numbers */
    margin: 5px 0 0; /* Space above the number */
}

/* 
.card {
    border: none;
} */

/* Smaller screens: Adjust the layout for responsiveness */
@media (max-width: 767px) {
    .called-token .token-number {
        font-size: 1.5rem;
    }

    .called-token .serving-time {
        font-size: 1rem;
    }

    .stats h5 {
        font-size: 1rem;
    }

    /* Stack the cards vertically for smaller screens */
    .card-wrapper {
        flex-direction: column;
    }

    .page-title h1 {
        font-size: 2rem;
    }

    .page-title h2 {
        font-size: 1.2rem;
    }
}