/* styles.css */
:root{
    --h4d-color: #ff914d;
    --h4d-grey: #ababab;
}

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,body{
    font-family: Arial, sans-serif;
    height: 100%;
    width: 100%;
}

nav{
    background-color: black;
}

input[type="text"], input[type="password"]{
    background-color: black;
    color: var(--h4d-grey);
    border: none;
    border-radius: 10px;
}

#bgVideo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
}

.bgVideo{
    filter: blur(40px);
    transform: scale(1.3); 
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background-color: white; /* Colore bianco */
    opacity: 0; /* Trasparenza: 50% */
    z-index: -1; /* Sopra il video, ma sotto altri contenuti */
}

.card {
    background-color: rgba(255, 255, 255, 0.1); /* Bianco con opacità del 70% */
    border: none;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); /* Leggera ombra */
    backdrop-filter: blur(20px); /* Sfocatura dello sfondo dietro la card */
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
}

.card, label, .loginText {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

@media (min-width: 992px) {
    #platformCard:hover {
        transform: scale(1.3);
        transition: transform 0.3s ease; /* Transizione morbida */
    }
}
.cardBackground{
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.platformCardLabel{
    color: white;
}

.powered{
    color: var(--h4d-grey);
}

.forgot{
    font-size: 1vw;
    color: var(--h4d-color);
    text-decoration: none;
}

.forgot:hover{
    text-decoration: none;
    color: var(--h4d-color);
}

#loginButton{
    background-color: var(--h4d-color);
    color: black;
    border: none;
    border-radius: 20px;
}

#loginButton svg{
    width: 0.9rem;
}

#loginButton label{
    font-size: 0.9rem;
}

#loginButton:hover{
    background-color:  transparent;
    color: var(--h4d-color);
    border: 1px solid var(--h4d-color);
}

.logo{
    width: 4vh;
}

.scrittaH4D{
    width: 25vh;
}

.logout{
    background-color: var(--h4d-color);
    color: black;
    border: none;
    border-radius: 20px;
}

.logout svg{
    width: 1rem;
}

.logout label{
    font-size: 1rem;
}






/*? 3cx dashboard */

h1{
    color: white;
}

.filters label{
    color: white;
    font-size: 1.5vh;
}

.filters h3{
    color: white;
}

.filters select{
    background-color: var(--h4d-color);
    color: black;
    border-radius: 5px;
}

.controlButton{
    background-color: var(--h4d-color);
    color: black;
    border: none;
    border-radius: 5px;
}

.table tbody{
    color: white;
    background-color: #1A1B1D;
    border:  none !important;
}

.table thead{
    background-color: var(--h4d-color);
    color: black;
}

.table thead tr{
    border: none;
    border-radius: 20px;
}

.table th, .table td{
    border: none;
    text-align: center;
    font-size: 1.1vw;
    padding: 2%;
}


/*? 3cx loader */
#dropBox {
    width: 100%;
    height: 50vh;
    border: 2px dashed var(--h4d-color);
}

#dropBox h2{
    color: white;
}

.uploadIcon{
    width: 15%;
}


/*? 3cx caller */

#searchBar {
    width: 100%;
    font-size: 16px;
    padding: 12px 20px 12px 40px;
    border: 1px solid #ddd;
    margin-bottom: 12px;
}

.callerSelect{
    background-color: var(--h4d-color);
    color: black;
    border: none;
    border-radius: 5px;
}

/* Nascondi l'elemento checkbox standard */
.callerCheck {
    position: relative;
    appearance: none;
    -webkit-appearance: none; /* Per Safari */
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    cursor: pointer;
    outline: none;
    background-color: #eee;
    transition: background-color 0.3s ease;
}

/* Stile per lo stato selezionato (checked) */
.callerCheck:checked {
    background-color: var(--h4d-color); /* Sfondo arancione quando è selezionato */
    border-color: var(--h4d-color); /* Cambia anche il bordo per abbinarsi */
}

/* Spunta nera personalizzata */
.callerCheck:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid black; /* Spunta nera */
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


/*? 3cx group */

.groupInput{
    color: white !important;
    padding: 3%;
}



.addGroup label{
    color: white;
}


/*? 3cx analisi payroll  */

#runButton svg{
    width: 1.2vh;
}

.dropdowns-container {
    display: flex;
    justify-content: space-between;
    width: 45%;
    margin-top: 10px;
}

.dropdown {
    width: 31%;
    position: relative;
    display: inline-block;
}

.dropdown button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    cursor: pointer;
    border: none;
    background-color: #ff914d;
    color: #2a2b2d;
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    width: 100%;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    border-radius: 5px;
    margin-top: 5px;
    padding: 10px;
    text-align: left;
    max-height: 300px; /* Max height for dropdown content */
    overflow-y: auto; /* Add scrollbar if content exceeds max height */
}


.dropdown-content label {
    display: block;
    margin-bottom: 10px;
}

.dropdown-content label input {
    margin-right: 8px; /* Add space between input and text */
}

.dropdown.open .dropdown-content {
    display: block;
}

#uploadButton svg{
    width: 1.2vh;
}

.dropdown-content{
    background-color: black;
    color: white;
}

.dropdown-content label{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.suppFormat{
    color: white !important;
}

#toogle{
    background-color: black;
}

.reset-btn {
    background-color:  #ff914d; /* Orange */
    color: #ffffff; /* White text */
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.reset-btn:hover {
    background-color:  #ff914d; /* Darker orange */
}