﻿
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    flex-direction: column;
}

.loading-spinner {
    border: 4px solid rgba(0, 0, 0, 0.1);
    border-left-color: #007bff;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.loading-progress-text {
    margin-top: 10px;
    font-family: Arial, sans-serif;
    font-size: 16px;
    color: #333;
}

#blazor-error-ui {
    display: none; /* Nascondi di default */
}

#blazor-error-ui.show {
    display: block; /* Mostra solo quando serve */
}

.text-shadow-soft {
    text-shadow: 0px 4px 3px rgba(0, 0, 0, 0.9); /* Ombra leggera */
    color: white; /* Colore del testo */
    font-weight: bold; /* Testo in grassetto */
}

/* Sfondo sfumato nero leggero */
.light-black-gradient {
    background-color: rgba(0, 0, 0, 0.1);
    width: 100%;
    height: 100%;
    padding: 1rem;
    border-radius: 3px;
}

.icon-button {
    padding: 0;
    border: none;
    background: none;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #007bff; /* Blu tipico dei link */
    font-size: 1.5rem; /* Rende l'icona leggermente più grande */
    transition: color 0.2s, transform 0.2s; /* Animazione per hover */
}

.icon-button:hover {
    color: #0056b3; /* Colore blu più scuro al passaggio del mouse */
    transform: scale(1.1); /* Leggero ingrandimento al passaggio del mouse */
}

.icon-button:active {
    transform: scale(0.95); /* Effetto di pressione */
}

.round-button {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: #f0f0f0;
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, background-color 0.2s;
}

.round-button:hover {
    transform: scale(1.1);
    background-color: #e0e0e0;
}

.round-button:active {
    transform: scale(0.95);
}

.round-button > * {
    transform: scale(1.3);
    transition: transform 0.2s;
}

.round-button:hover > * {
    transform: scale(1.5);
}

.custom-hr {
    width: 100%;
    height: 1px;
    margin: 0 10px;
    border: none;
    background: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
}

.dynamic-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.my-popup {
    position: absolute;
    overflow: hidden;
    width: 600px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    padding: 1rem;
    z-index: 1000;
    top: 100px;
    left: 100px;
    display: none;
}


.my-save-popup {
    position: fixed;
    overflow: hidden;
    width: 500px;
    height: 800px;
    padding: 1rem;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    display: none;
    left: 50px;    
    bottom: 200px;
}
