@import url('open.iconic/font/css/open-iconic-bootstrap.min.css');
#app {
    height: 100%
}
html, body   {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
}

html, body {
    height: 100%;
    overflow: hidden;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

.button-link {
    text-decoration: unset;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

.title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 0.625rem;
}

.title-header-text {
    font-size: 2.5rem;
    line-height: 3rem;
    font-weight: 600;
    letter-spacing: 0rem;
}

.title-content-text {
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 2.5rem;
    letter-spacing: 0rem;
}

.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

.block-content {
    width: 31.25rem;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    max-width: 100%;
}

.or {
    display: flex;
    flex-direction: row;
    align-items: center;
}

    .or .or-line {
        border-bottom: 1px solid var(--bs-body-color);
        width: 100%;
        opacity: 0.7;
    }

    .or .or-text {
        padding: 0 0.625rem 0px 0.625rem;
        font-size: 0.75rem;
        line-height: 1.125rem;
        color: var(--bs-body-color);
        opacity: 0.7;
    }

.links-area {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    padding-top: 0.625rem;
}

.links-container {
    display: flex;
    gap: 0.625rem;
    justify-content: center;
    align-items: center;
}

    .links-container .dot {
        height: 0.3125rem;
        width: 0.3125rem;
        border-radius: 50%;
        background-color: var(--bs-body-color);
        opacity: 0.7;
    }

.manage-layout {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.info-message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.15;
    background: var(--bs-primary);
    z-index: -1;
}

.info-message {
    padding: 0.625rem 1rem 0.625rem 1rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.manage-content {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.large-input {
    height: 4.3125rem;
    font-size: 1.875rem;
}

.title-content-text-secondary {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.button-group {
    display: flex;
    flex-direction: row;
    gap: 0.625rem;
}

.initials-circle {
    margin: auto;
    width: 1.65vw; /* Larghezza del cerchio in viewport width (percentuale della larghezza dello schermo) */
    height: 1.65vw; /* Altezza del cerchio in viewport width (percentuale della larghezza dello schermo) */
    max-width: 100px; /* Larghezza massima del cerchio */
    max-height: 100px; /* Altezza massima del cerchio */
    min-width: 30px; /* Larghezza minima del cerchio */
    min-height: 30px; /* Altezza minima del cerchio */
    border: 1px solid var(--bs-primary, var(--primary));
    border-radius: 50%; /* Rendi il div un cerchio */
    background-color: #DFDFDF; /* Colore di sfondo del cerchio */
    color: white; /* Colore del testo */
    font-size: 0.75vw; /* Dimensione del testo in viewport width */
    font-weight: 300; /* Grassetto */
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    display: flex; /* Per centrare il testo verticalmente e orizzontalmente */
    justify-content: center; /* Centra il testo orizzontalmente */
    align-items: center; /* Centra il testo verticalmente */
    text-shadow: -1px -1px 0 lightgray, 1px -1px 0 lightgray, -1px 1px 0 lightgray, 1px 1px 0 lightgray;
}

/* Grid container styles */
.device-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1em;
    justify-items: center;
}

@media (max-width: 768px) {

    .device-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {

    .device-grid {
        grid-template-columns: 1fr;
    }
}


.vh-80 {
    max-height: 80vh;
}


.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.0);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    .confirmation-overlay img {
        width: 100px; /* Adjust as needed */
        height: 100px; /* Adjust as needed */
    }


.h-200 {
    height: 200px;
}

.h-600 {
    height: 600px;
}

.vw-20 {
    height: 20vw;
}

.vw-80 {
    height: 80vw;
}

.exceed-time {
    background-color: rgba(200, 100, 100, 0.2);
}

.double-punch-warning {
    color: #dc3545; /* rosso bootstrap */
    font-weight: bold;
}

.disabled-row {
    position: relative;
    background-image: repeating-linear-gradient( 45deg, rgba(0, 0, 0, 0.1) 0, rgba(0, 0, 0, 0.1) 10px, transparent 10px, transparent 20px );
    opacity: 0.6; /* Rende il contenuto pił chiaro */
    color: #888; /* Testo grigio */
}


.expired-row {
    position: relative;
    color: #000;
    background: repeating-linear-gradient( 45deg, rgba(255, 215, 0, 0.3) 0, rgba(255, 215, 0, 0.3) 10px, rgba(0, 0, 0, 0.2) 10px, rgba(0, 0, 0, 0.2) 20px );
}




.cds-container {
    height: 90vh;
    padding: 1rem;
    background-color: #f5f7f9;
}


.w-160px{
    min-width: 160px;
}

/* Stili per rendere il layout pił responsivo */
@media (max-width: 768px) {
    .dx-toolbar .dx-toolbar-items-container {
        flex-wrap: wrap;
    }

    .dx-toolbar-item {
        margin-bottom: 0.5rem;
    }
}

/* Stili responsivi per il componente orario */
.time-display {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
}

.time-value {
    /* Assicura che il testo non venga troncato */
    white-space: nowrap;
}

.location-button {
    /* Stile per il pulsante di posizione */
    display: inline-flex;
}

/* Stili per schermi molto piccoli */
@media (max-width: 320px) {
    .time-display {
        flex-direction: column;
    }
}


