:root {
    --primary-color: rgb(12, 0, 76); /* Default primary color */
    --secondary-color: #ffffff; /* Default secondary color */
    --button-color: #808080; /* Default button color */
}

/* Reset default browser styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body and font settings */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f0f0;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header styles */
.header {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    padding: 15px 10px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.header .container {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.header h1 {
    font-size: 28px;
    margin: 10px 0;
}

/* Logo styles */
.logo {
    width: 150px;
    height: auto;
    margin-bottom: 10px;
}

/* Queue system container */
.queue-system {
    width: 100%;
    max-width: 600px; /* Ensure this container stays centered and doesn’t grow too large */
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 30px auto; /* Center the queue system and add space between header and body */
}

/* Display Area */
.display {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    width: 100%;
}

.display div {
    background-color: #808080; /* Grey background for the blocks */
    color: #fff; /* White color for the digits */
    font-size: 24px;
    padding: 10px;
    border-radius: 5px;
    flex: 1;
    margin: 0 10px;
    text-align: center;
}

/* Buttons grid */
.buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    width: 100%;
    max-width: 400px; /* Adjust the max-width of buttons for better appearance */
    margin: 0 auto;
}

/* Button styles */
.button {
    background-color: var(--primary-color); /* Make buttons the same color as header */
    color: var(--secondary-color); /* Ensure button text and icons are readable */
    padding: 15px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
}

.button:hover {
    background-color: rgba(12, 0, 76, 0.9); /* Slightly darker on hover */
}

.button img {
    width: 20px;
    margin-right: 5px;
    filter: invert(100%); /* Make icons white */
}

/* Responsive Styles */
@media (max-width: 768px) {
    .display div {
        font-size: 20px;
    }

    .header h1 {
        font-size: 22px;
    }

    .buttons {
        max-width: 100%;
    }
}
