/*
 * Copyright (c) 2024, Alan Impink. All rights reserved.
 *
 * This code is the proprietary and confidential property of Alan Impink.
 * Unauthorized copying, distribution, or modification of this code, via any medium,
 * is strictly prohibited without prior written consent from the author.
 *
 * For permissions, inquiries, or licensing information, please contact:
 * aimpink@yahoo.com
 */

@import url('colors.css');

body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #101010;
    color: white;
    text-align: center;
}
table {
    margin-top: 5px;
    margin-left: auto;
    margin-bottom:20px;
    margin-right: auto;
    border-spacing: 40px 0;
    border-collapse: separate;
}

.called-numbers {
    display: grid;
    grid-template-columns: repeat(16, 1fr);
    gap: 12px; /* Space between numbers */
}
.number {
    padding: 5px;
    border: 1px solid #333;
    border-radius: 10px;
    text-align: center;
    width: 80px;
    height: 80px;
    box-sizing: border-box;
    color: #404040;
    font-weight: bold;
    font-size: 58px;
}
.called {
    background-color: #101010;
    color: white;
}
.label {
    background-color: #f0f0f0;
    color: #1a1a1a;
}
.blink {
    animation: blink 1s steps(10, start) infinite;
    color: #FFEE93;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}
	
.error-display {
    font-size: 1em;
    color: #808080;
    margin-top: 4px;
    text-align: center;
    max-width: 1600px;
}
table .matrix-display {
    border-spacing: 20px 20px; /* Space between columns */
}
.matrix-display {
    margin-top: 20px;
    border: 3px solid #333;
    border-radius: 40px;
    width: 440px;
}

.message-area {
    margin-top: 20px;
    width: 450px;
    overflow: hidden;
    display:flex;
    flex-direction: column;
    gap: 6px;
}
.message-container {
    width: 440px;
    height: 250px;
    border: 3px solid #333;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
}
.message-display {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: bold;
    color: #80D8F7;
}
.number-area {
    margin-top: 20px;
    width: 450px;
    height: 460px;
    overflow: hidden;
}
.latest-number {
    font-size: 11em;
    font-weight: bold;
    color: #1a1a1a;
    border: 3px solid #333;
    border-radius: 40px;
    background-color: #101010;
    width: 440px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.prev-numbers {
    width: 440px;
    height: 210px;
    overflow: hidden;
    display: flex;
    gap: 6px;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}
.prev-number {
    font-size: 5em;
    font-weight: bold;
    color: #1a1a1a;
    width: 220px;
    height: 180px;
    border: 3px solid #333;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.hidden {
    display: none;
}
.pattern-container {
    width: 440px;
    height: 200px;
    border: 3px solid #333;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.pattern-display {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-weight: bold;
    color: #FFEE93;
    background-color: #101010;
}
.dynamic-text {
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    white-space: normal;
    padding: 10px;
    flex-shrink: 0;
}

.matrix-cell {
    width: 60px;
    height: 60px;
    border: 1px solid #333;
    border-radius: 10px;
    background-color: #222;
}

.matrix-cell.active {
    background-color: #fafafa;
}
.embedded-image {
    max-width: 100%; /* Image width cannot exceed the width of the div */
    max-height: 90%; /* Image height cannot exceed the height of the div */
    width: auto; /* Maintain the aspect ratio */
    height: auto; /* Maintain the aspect ratio */
    display: block; /* Remove extra space below the image */
    object-fit: contain; /* Ensures the image fits within the div */
}
.board-dimmer {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(0, 0, 0, 0.55);
    pointer-events: none;
    opacity: 0;
    transition: opacity 250ms ease-in-out;
}

.board-dimmer.show {
    opacity: 1;
}

.new-number-callout {
    position: fixed;
    z-index: 9999;
    width: 60vw;
    height: 32vw;
    min-width: 360px;
    min-height: 190px;
    max-width: 620px;
    max-height: 330px;
    border: 3px solid #777;
    border-radius: 30px;
    font-size: 14vw;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    box-sizing: border-box;
    opacity: 0;
    left: 0;
    top: 0;
    transform: translate(0px, 0px) scale(1);
}

.new-number-callout.show {
    opacity: 1;
}

