﻿.preview-box {
    width: 100%;
    max-width: 500px;
    border-radius: 15px;
    background: #000;
    margin: auto;
    display: block;
}

#video-container {
    position: relative;
}

#status-overlay {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 3rem;
    z-index: 10;
}

.nav-pills .nav-link.active {
    background-color: #0d6efd;
}

/* Container per l'anteprima */
.preview-container {
    position: relative;
    max-width: 500px;
    margin: auto;
}

/* Overlay centrato */
#status-overlay-manual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center; /* Centra verticalmente */
    justify-content: center; /* Centra orizzontalmente */
    pointer-events: none; /* Permette di cliccare attraverso l'icona */
}

#status-icon-manual {
    font-size: 8rem; /* Icona più grande per la modalità manuale */
    filter: drop-shadow(0px 0px 15px rgba(0,0,0,0.5)); /* Ombra per visibilità */
    transition: all 0.3s ease;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(0, 162, 151, 0.25);
}

:root {
    --primary-color: #00a297;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

/* Colore primario per i testi e bottoni */
.text-primary {
    color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
}

    .btn-primary:hover {
        background-color: #00857c !important; /* Una sfumatura leggermente più scura per l'hover */
    }

/* Colore per i Tab attivi */
.nav-pills .nav-link.active {
    background-color: var(--primary-color) !important;
}

.nav-pills .nav-link {
    color: var(--primary-color);
}

/* Bordi e focus */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25 margin rgba(0, 162, 151, 0.25);
}

/* Overlay manuale centrato (come richiesto prima) */
.preview-container {
    position: relative;
    max-width: 500px;
    margin: auto;
}

#status-overlay-manual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

#status-icon-manual {
    font-size: 8rem;
    filter: drop-shadow(0px 0px 15px rgba(0,0,0,0.5));
    transition: all 0.3s ease;
}