﻿:root {
    --swimlynx-blue: #1b75bb;
}

.swimlynx-blue {
    color: var(--swimlynx-blue);
}

body, html {
    margin: 0px;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0; /* Disable global font-size so it doesn’t affect rows */
    background-color: #254259;
    color: orange;
    font-family: sans-serif;
}
#app-wait {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: transparent;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease-in-out; /* This will handle the fading effect */
}

    #app-wait .spinner {
        border: 5px solid #d9d9d9;
        border-top: 5px solid #3498db;
        border-radius: 50%;
        width: 30px;
        height: 30px;
        animation: spin 2s linear infinite;
    }


slsc-scoreboard .container {
    display: grid;
    grid-template-rows: repeat(7, 1fr); /* 7 evenly spaced rows */
    height: 100vh;
    width: 100vw;
    background-color: #000;
    font-family: Courier New, Courier, monospace;
}

slsc-scoreboard .waiting {
    display: flex; /* Use Flexbox for centering */
    flex-direction: column; /* Stack the image and text vertically */
    justify-content: center; /* Center vertically */
    align-items: center; /* Center horizontally */
    height: 100vh; /* Full viewport height */
    width: 100vw; /* Full viewport width */
    background-color: #000; /* Black background */
    color: #fff; /* White text */
    font-family: 'Courier New', Courier, monospace; /* Font style */
    text-align: center; /* Center text */
}

    slsc-scoreboard .waiting img {
        max-width: 300px; /* Adjust the image size as needed */
        margin-bottom: 20px; /* Add some space between the image and the text */
        opacity: 0.7;
    }

    slsc-scoreboard .waiting p {
        font-size: 20px; /* Adjust font size as needed */
        color: #fff;
    }
slsc-scoreboard .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: calc(100vh / 7 * 0.7); /* Directly scale font size based on viewport height */
    font-weight: bold;
}

slsc-scoreboard .column-1 {
    white-space: nowrap; /* Prevent text wrapping */
    padding: 0px 20px;
}
slsc-scoreboard .column-1.eventName {
    font-size: 48px !important
}
slsc-scoreboard .column-3 {
    white-space: nowrap; /* Prevent text wrapping */
    padding: 0px 20px;
}
slsc-scoreboard .column-4 {
    white-space: nowrap; /* Prevent text wrapping */
    padding: 0px 20px;

}
slsc-scoreboard .ghosted {
    color: #101010
}
slsc-scoreboard .column-2 {
    flex-grow: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis; /* Handle overflow with ellipsis */
}



slsc-registration {
    font-family: "Roboto", Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-color: #254259;
}

slsc-registration .container {
    display: flex;
    /*background-color: #14354f;*/
    padding: 20px;
    width: 100%;
    max-width: 800px;
    border-radius: 5px;
    margin: 0px 10px;
}

slsc-registration .logo {
    flex: 1;
    display: flex;
    justify-content: right;
    align-items: center;
    margin-right: 15px;
}

    slsc-registration .logo img {
        max-width: 50%;
        height: auto;
    }

slsc-registration .vertical-line {
    width: 1px;
    background-color: #515151;
    margin: 0 20px;
}

slsc-registration .info {
    flex: 1;
    display: flex;
    flex-direction: column;
    width: 100%; /* Ensure the form takes the full width */
}
    slsc-registration p {
        color: #fff;
        font-size: 14px;
    }