[data-bs-theme="dark"] input::placeholder {
    color: #556677 !important;
}

[data-bs-theme="light"] input::placeholder {
    color: #cccccc !important;
}

header .user-img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    justify-content: center;
}

header .user-img .avatar {
    margin-right: 0px!important;
}

[data-bs-theme="dark"] header .user-img {
    background-color: #333;
    color:#eeeeee;
}

[data-bs-theme="light"] header .user-img {
    background-color: #555555;
    color: #ffffff;
}

.form-select-xl {
    padding-top: .85rem!important;
    padding-bottom: .85rem!important;
    padding-left: 1rem!important;
    font-size: 1.25rem!important;
    border-radius: .3rem!important;
}

.cursor-pointer,
.cursor-pointer:hover {
    cursor: pointer!important;
}

/* Pulsating button effect */
.pulsating-btn {
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(220, 53, 69, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.pulsating-btn:hover {
    animation: none;
}

#auth #auth-left .auth-logo img {
    height: 5rem!important;
}

/* Fix: icone con sfondo rounded-circle devono essere perfettamente tonde e centrate */
.rounded-circle:has(> i) {
    aspect-ratio: 1 / 1;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

.rounded-circle > i {
    line-height: 1;
}

.rounded-circle > i.bi {
    width: auto !important;
    height: auto !important;
}

/* Logo tema chiaro/scuro */
.logo-theme-dark { display: none; }
[data-bs-theme="dark"] .logo-theme-light { display: none; }
[data-bs-theme="dark"] .logo-theme-dark { display: block; }
