.sidebar-dark-primary {
    background: linear-gradient(to bottom, #2c0a71, #2c0a71);
}


.btn-custom-purple {
    background-color: #633b8b;
    border-color: #633b8b;
    color: white;
}

.btn-custom-purple:hover {
    background-color: #523085;
    border-color: #523085;
}


.fa-phone {
    transform: rotate(90deg) !important;
}


/* Effetto Bolle - Stesso della Landing */
.bubbles-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.bubbles-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="rgba(255,255,255,0.08)"/><circle cx="80" cy="80" r="2" fill="rgba(255,255,255,0.08)"/><circle cx="40" cy="60" r="1" fill="rgba(255,255,255,0.06)"/><circle cx="70" cy="30" r="1.5" fill="rgba(255,255,255,0.06)"/><circle cx="10" cy="70" r="1.2" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="1.8" fill="rgba(255,255,255,0.07)"/></svg>');
    animation: float 25s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33% { transform: translateY(-15px) rotate(120deg); }
    66% { transform: translateY(-25px) rotate(240deg); }
}

/* Bolle fluttuanti aggiuntive */
.floating-bubble {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: floatUp 20s infinite ease-in-out;
    pointer-events: none;
}

.floating-bubble:nth-child(1) {
    width: 60px;
    height: 60px;
    top: 80%;
    left: 10%;
    animation-delay: 0s;
    background: rgba(255, 107, 107, 0.08);
}

.floating-bubble:nth-child(2) {
    width: 40px;
    height: 40px;
    top: 70%;
    left: 80%;
    animation-delay: 5s;
    background: rgba(102, 126, 234, 0.08);
}

.floating-bubble:nth-child(3) {
    width: 80px;
    height: 80px;
    top: 90%;
    left: 50%;
    animation-delay: 10s;
    background: rgba(255, 255, 255, 0.06);
}

.floating-bubble:nth-child(4) {
    width: 30px;
    height: 30px;
    top: 60%;
    left: 20%;
    animation-delay: 15s;
    background: rgba(255, 107, 107, 0.06);
}

.floating-bubble:nth-child(5) {
    width: 50px;
    height: 50px;
    top: 85%;
    left: 70%;
    animation-delay: 8s;
    background: rgba(102, 126, 234, 0.06);
}

@keyframes floatUp {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px) rotate(360deg);
        opacity: 0;
    }
}

.content-wrapper {
  min-height: 100vh !important;
}

/* Override colore sidebar active - sostituisce il celeste con il verde */
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #82b441 !important;
    color: #fff !important;
}

/* Anche per gli stati hover se necessario */
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link:hover,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link:hover {
    background-color: rgba(130, 180, 65, 0.2) !important;
}


/* Override colore success con il verde brand #82b441 */

/* Bottoni success */
.btn-success {
    background-color: #82b441 !important;
    border-color: #82b441 !important;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active {
    background-color: #6d9937 !important;
    border-color: #6d9937 !important;
}

/* Small boxes success */
.small-box.bg-success {
    background-color: #82b441 !important;
}

.small-box.bg-success .icon {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Badge success */
.badge-success {
    background-color: #82b441 !important;
}

/* Alert success */
.alert-success {
    background-color: rgba(130, 180, 65, 0.1) !important;
    border-color: #82b441 !important;
    color: #6d9937 !important;
}

/* Text success */
.text-success {
    color: #82b441 !important;
}

/* Background success */
.bg-success {
    background-color: #82b441 !important;
}

/* Border success */
.border-success {
    border-color: #82b441 !important;
}


/* Override colore primary con il viola brand #3d1a8a */

/* Bottoni primary */
.btn-primary {
    background-color: #3d1a8a !important;
    border-color: #3d1a8a !important;
}

.btn-primary:hover,
.btn-primary:focus,
.btn-primary:active {
    background-color: #2c0a71 !important;
    border-color: #2c0a71 !important;
}

/* Small boxes primary */
.small-box.bg-primary {
    background-color: #3d1a8a !important;
}

.small-box.bg-primary .icon {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Badge primary */
.badge-primary {
    background-color: #3d1a8a !important;
}

/* Alert primary */
.alert-primary {
    background-color: rgba(61, 26, 138, 0.1) !important;
    border-color: #3d1a8a !important;
    color: #2c0a71 !important;
}

/* Text primary */
.text-primary {
    color: #3d1a8a !important;
}

/* Background primary */
.bg-primary {
    background-color: #3d1a8a !important;
}

/* Border primary */
.border-primary {
    border-color: #3d1a8a !important;
}

/* Link primary */
a.text-primary:hover,
a.text-primary:focus {
    color: #2c0a71 !important;
}

/* Sidebar primary */
.sidebar-dark-primary,
.sidebar-light-primary {
    background-color: #3d1a8a !important;
}

/* Override list-group-item active */
.list-group-item.active {
    z-index: 2;
    color: #3d1a8a !important;
    background-color: #f3f2f2 !important;
    border-color: #3d1a8a !important;
}

/* Anche per hover e focus se necessario */
.list-group-item.active:hover,
.list-group-item.active:focus {
    color: #3d1a8a !important;
    background-color: #f3f2f2 !important;
    border-color: #3d1a8a !important;
}