/* =================== STILI PAGINAZIONE DARK THEME =================== */
.page-item-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important; /* Testo in bianco pieno */
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.2s ease-in-out;
}

    /* Hover: nessuna modifica al colore del bottone, solo ombra/glow blu */
    .page-item-btn:hover:not(.disabled):not(.active) {
        background-color: rgba(255, 255, 255, 0.12);
        border-color: #3b82f6; /* Bordo azzurro soft */
        color: #ffffff !important;
        box-shadow: 0 0 12px rgba(59, 130, 246, 0.6); /* Shadow blu in hover */
        transform: translateY(-2px);
    }

    /* Pagina Corrente (Chiara, visibile e ben distinta) */
    .page-item-btn.active {
        background-color: rgba(255, 255, 255, 0.95);
        border-color: #ffffff;
        color: #000000 !important; /* Testo scuro su fondo chiaro */
        font-weight: 700;
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    }

    /* Stato Disabilitato */
    .page-item-btn.disabled {
        opacity: 0.3;
        background-color: rgba(255, 255, 255, 0.03);
        border-color: rgba(255, 255, 255, 0.1);
        color: #ffffff !important;
        cursor: not-allowed;
        pointer-events: none;
    }

/* =================== STILI GENERALI E TEMA =================== */
:root {
    --bs-body-font-family: 'Inter', sans-serif;
    --bs-body-bg: #1C1C1E;
}

html {
    font-size: 14px;
    position: relative;
    min-height: 100%;
    overflow-y: auto;
}

body {
    margin: 0;
    padding: 0;
    height: 100%;
    letter-spacing: 0.5%;
}

button, input, select, textarea {
    font-family: inherit;
}

/* =================== BACKGROUND LOGIN/REGISTER =================== */
.marv-bg,
.safepoint-bg,
.vionyx-bg {
    background-color: #1C1C1E !important;
    background-image: linear-gradient( to right, #1C1C1E 0%, #1C1C1E 10%, #1c283d 30%, #1e365c 60%, #2563eb 100%) !important;
    background-attachment: fixed;
    min-height: 100vh;
}

    .marv-bg .btn-primary,
    .safepoint-bg .btn-primary {
        background-color: #3b82f6 !important;
        border: none !important;
    }

        .marv-bg .btn-primary:hover,
        .safepoint-bg .btn-primary:hover {
            background-color: #2563eb !important;
        }

    .marv-bg .btn-container,
    .safepoint-bg .btn-container {
        max-width: 300px;
        gap: 12px;
    }

    .marv-bg .btn,
    .safepoint-bg .btn {
        padding: 10px 24px;
        font-size: 1rem;
        border-radius: 8px;
        height: auto;
        border: none;
        transition: all 0.2s ease-in-out;
    }

.btn-marv-dark,
.btn-safepoint-dark {
    background-color: #2f333f !important;
    border: none !important;
    color: white !important;
    transition: all 0.2s ease;
}

    .btn-marv-dark:hover,
    .btn-safepoint-dark:hover {
        background-color: #3f4555 !important;
        color: white !important;
    }

    .btn-marv-dark.active-setting,
    .btn-safepoint-dark.active-setting {
        background-color: #3b4252 !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: white !important;
    }

.btn-marv-custom,
.btn-safepoint-custom,
.btn-vionyx-custom {
    transition: all 0.2s ease-in-out;
}

/* =================== ONBOARDING =================== */
.step-indicator {
    width: 8px;
    height: 8px;
    background-color: rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

    .step-indicator.active {
        width: 32px;
        background-color: var(--bs-primary);
    }

.onboarding-container {
    height: calc(100vh - 50px);
    display: flex;
    background: linear-gradient(.25turn, #E1F8FC, 30%, #818CFE);
}

.logo-container {
    padding: 1rem;
}

.welcome-content {
    flex-grow: 1;
    flex-basis: 50%;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.welcome-image {
    flex-grow: 1;
    flex-basis: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

    .welcome-image img {
        width: 100%;
        max-width: 550px;
        height: auto;
        object-fit: contain;
        transform: scale(1.3);
    }

.onboarding-slide {
    transition: opacity 0.5s ease-in-out;
    width: 100%;
}

.onboarding-controls {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-top: 40px;
}

.indicator-container {
    display: flex;
    justify-content: flex-start;
    gap: 8px;
    margin-bottom: 30px;
}

.indicator {
    display: block;
    width: 8px;
    height: 8px;
    background-color: #d1d9e6;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

    .indicator.active {
        background-color: #818CFE;
    }

.navigation-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-icon {
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background-color: #e0eafc;
    border: none;
    cursor: pointer;
    color: #818CFE;
    transition: background-color 0.3s ease;
}

    .btn-icon:hover {
        background-color: #cfdef3;
    }

.onboarding-slide.d-none .onboarding-controls {
    display: none;
}

@media (max-width: 992px) {
    .onboarding-container {
        flex-direction: column;
        height: auto;
    }

    .welcome-content {
        order: 1;
        padding: 40px 20px;
        text-align: center;
        align-items: center;
    }

    .welcome-image {
        order: 0;
        height: 350px;
        padding: 20px;
    }
}

/* =================== COMPONENTI MARV =================== */
.input-marv,
.input-safepoint {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

    .input-marv:focus,
    .input-safepoint:focus {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: var(--bs-primary);
        box-shadow: none;
        color: #ffffff;
    }

.input-group-text.bg-marv,
.input-group-text.bg-safepoint {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

    .input-group-text.bg-marv + .input-marv:focus,
    .input-group-text.bg-safepoint + .input-safepoint:focus {
        border-left-color: rgba(255, 255, 255, 0.1);
    }

.input-marv::placeholder,
.input-safepoint::placeholder {
    font-size: 15px !important;
    color: rgba(255, 255, 255, 0.5) !important;
}

.input-marv,
.input-safepoint,
.input-group-text.bg-marv,
.input-group-text.bg-safepoint {
    font-size: 15px !important;
}

.password-toggle {
    cursor: pointer;
    color: rgba(255, 255, 255, 0.5);
}

    .password-toggle:hover {
        color: #ffffff;
    }

.pw-rule {
    transition: color 0.3s ease;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

/* =================== FIX FOCUS OUTLINE =================== */
.btn:focus,
.btn:active:focus,
.btn-link:focus,
.nav-link:focus,
.form-control:focus,
.form-check-input:focus,
a:focus,
button:focus {
    box-shadow: none !important;
    outline: none !important;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
    text-align: start;
}

.text-orange {
    color: orange !important;
}

.text-blue {
    color: #1E40AF;
}

.border-color-blue {
    border-color: #2563EB !important;
}

.bg-primary-custom {
    background-color: #2563EB !important;
}

.bg-elements {
    background-color: #EFF6FF !important;
}

/* =================== PAGINATION =================== */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

nav.pagination-container ul {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    list-style: none;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    padding: 0;
}

    .pagination li {
        margin: 0 5px;
    }

    .pagination a, .pagination span {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 32px;
        height: 32px;
        text-decoration: none;
        color: black;
        font-weight: bold;
        font-size: 16px;
        border-radius: 20%;
        transition: background 0.3s ease;
    }

        .pagination a:hover {
            background: rgba(0, 0, 0, 0.1);
            cursor: pointer !important;
        }

    .pagination .active a {
        color: white !important;
        background: black !important;
        border-color: black !important;
    }

        .pagination .active a:hover,
        .pagination .active a:focus {
            background: black !important;
            color: white !important;
        }

/* =================== LAYOUT / SIDEBAR =================== */
.main-container {
    display: flex;
    min-height: 100vh;
}

#sidebar {
    width: 240px;
    transition: width 0.3s ease-in-out;
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
}

    #sidebar.collapsed {
        width: 80px;
    }

        #sidebar.collapsed .nav-text {
            display: none;
        }

        #sidebar.collapsed .nav-link {
            justify-content: center;
        }

#content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

main {
    flex-grow: 1;
    overflow-y: auto;
}

/* =================== NAVIGATION BAR / SIDEBAR / TOPBAR =================== */
.nav-pills .nav-link {
    color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 12px;
    transition: all 0.2s ease-in-out;
    display: flex;
    align-items: center;
}

    .nav-pills .nav-link:hover {
        background-color: rgba(255, 255, 255, 0.05) !important;
        color: #ffffff !important;
    }

    .nav-pills .nav-link.active {
        background-color: rgba(255, 255, 255, 0.12) !important;
        color: #ffffff !important;
    }

    .nav-pills .nav-link i {
        margin-right: 0 !important;
    }

#sidebar.collapsed .nav-pills .nav-link {
    width: 44px;
    height: 44px;
    padding: 0 !important;
    justify-content: center;
}

#sidebar:not(.collapsed) .nav-pills .nav-link {
    width: 100%;
    padding: 10px 16px !important;
    justify-content: flex-start;
}

#toggle-btn .bi-list {
    color: rgba(255, 255, 255, 0.6) !important;
    transition: color 0.2s ease;
}

#toggle-btn:hover .bi-list,
.action-dots:hover {
    color: #ffffff !important;
    opacity: 1 !important;
}

.basic-color {
    color: #1E3A8A !important;
}

.topbar {
    height: 60px;
    background: #fff;
    align-items: center;
}

.header-logo img {
    height: 70px;
    width: auto;
}

.user-profile-icon {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* =================== DEVICE DETAILS BUTTONS =================== */
.icon-button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.icon-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    background-color: transparent;
    padding: 0;
    margin-bottom: 0.5rem;
    transition: background-color 0.2s, color 0.2s;
}

    .icon-button i {
        font-size: 1.5rem;
        line-height: 1;
    }

    .icon-button.btn-outline-success {
        border-color: #198754;
        color: #198754;
    }

    .icon-button.btn-outline-danger {
        border-color: #dc3545;
        color: #dc3545;
    }

    .icon-button.btn-outline-primary {
        border-color: #0d6efd;
        color: #0d6efd;
    }

    .icon-button.btn-outline-warning {
        border-color: #ffc107;
        color: #ffc107;
    }

    .icon-button:hover {
        color: #fff;
    }

    .icon-button.btn-outline-success:hover {
        background-color: #198754;
    }

    .icon-button.btn-outline-danger:hover {
        background-color: #dc3545;
    }

    .icon-button.btn-outline-primary:hover {
        background-color: #0d6efd;
    }

    .icon-button.btn-outline-warning:hover {
        background-color: #ffc107;
    }

/* === SENSITIVITY BUTTONS === */
.sensitivity-button-group .btn {
    border-radius: 30px;
    border-color: #D1D5DB;
    color: #3B82F6;
    background-color: #FFFFFF;
    padding: 10px 20px;
    margin: 0 5px;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

    .sensitivity-button-group .btn.btn-sensitivity-active {
        background-color: #EFF6FF !important;
        border-color: #2563EB !important;
        color: #1E40AF !important;
        font-weight: bold;
    }

    .sensitivity-button-group .btn:not(.btn-sensitivity-active):hover {
        background-color: #F9FAFB;
        border-color: #9CA3AF;
    }

.static-display {
    pointer-events: none;
}

/* =================== DROPDOWN MARV =================== */
.marv-dropdown,
.safepoint-dropdown {
    background-color: #ffffff !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    padding: 8px !important;
    min-width: 220px;
}

    .marv-dropdown .dropdown-header,
    .safepoint-dropdown .dropdown-header {
        color: #9CA3AF !important;
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        padding: 8px 12px !important;
    }

    .marv-dropdown .dropdown-item,
    .safepoint-dropdown .dropdown-item {
        color: #1F2937 !important;
        font-size: 15px !important;
        font-weight: 500 !important;
        padding: 10px 12px !important;
        border-radius: 8px !important;
        display: flex;
        align-items: center;
        gap: 12px;
        transition: all 0.2s ease !important;
    }

        .marv-dropdown .dropdown-item i,
        .safepoint-dropdown .dropdown-item i {
            font-size: 18px !important;
            color: #6B7280 !important;
        }

        .marv-dropdown .dropdown-item:hover,
        .marv-dropdown .dropdown-item:focus,
        .safepoint-dropdown .dropdown-item:hover,
        .safepoint-dropdown .dropdown-item:focus {
            background-color: #F3F4F6 !important;
            color: #111827 !important;
        }

            .marv-dropdown .dropdown-item:hover i,
            .safepoint-dropdown .dropdown-item:hover i {
                color: #111827 !important;
            }

        .marv-dropdown .dropdown-item.active,
        .safepoint-dropdown .dropdown-item.active {
            background-color: #EFF6FF !important;
            color: #1D4ED8 !important;
        }

            .marv-dropdown .dropdown-item.active i,
            .safepoint-dropdown .dropdown-item.active i {
                color: #1D4ED8 !important;
            }

    .marv-dropdown .dropdown-divider,
    .safepoint-dropdown .dropdown-divider {
        border-top: 1px solid #E5E7EB !important;
        opacity: 1 !important;
        margin: 4px 0 !important;
    }

/* =================== BADGE ATTIVO FIGMA =================== */
.badge-marv-active,
.badge-safepoint-active {
    background-color: #DCFCE7 !important;
    color: #10B981 !important;
    border: none !important;
    padding: 8px 8px !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    font-weight: 500;
}

    .badge-marv-active i,
    .badge-safepoint-active i {
        color: #10B981 !important;
    }

/* =================== BOTTONI CAROSELLO =================== */
.carousel-nav-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .carousel-nav-btn:hover {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
    }

/* =================== DEVICE CARDS FIGMA =================== */
.device-card {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    min-height: 170px;
    max-width: 270px;
}

.device-icon-container {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

    .device-icon-container.active {
        background-color: #10B981;
        color: white;
    }

    .device-icon-container.inactive {
        background-color: #FFFFFF;
        color: #374151;
        box-shadow: 0 2px 5px rgba(0,0,0,0.08);
    }

    .device-icon-container.pending {
        background-color: #F59E0B;
        color: white;
    }

    .device-icon-container.offline {
        background-color: #E5E7EB;
        color: #9CA3AF;
    }

.device-title-figma {
    color: #1E40AF !important;
    font-size: 1.05rem;
}

.device-status-text {
    color: #9ca3af;
    font-size: 0.85rem;
    font-weight: 500;
}

/* =================== PULSANTE NOTIFICHE =================== */
.notification-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    border: none;
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .notification-btn:hover {
        background-color: rgba(255, 255, 255, 0.25);
        color: #ffffff;
        opacity: 0.9;
    }

    .notification-btn i {
        font-size: 1.2rem;
    }

    .notification-btn .bg-danger {
        width: 9px;
        height: 9px;
        top: 3px !important;
        right: 3px !important;
        box-shadow: 0 0 6px rgba(220, 53, 69, 0.8);
    }

/* =================== PULSANTE WIDGET CHIARO (STILE NOTIFICHE) =================== */
.btn-light-widget {
    background-color: rgba(255, 255, 255, 0.15) !important;
    border: none !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
    cursor: pointer;
}

    .btn-light-widget:hover,
    .btn-light-widget:focus,
    .btn-light-widget.show {
        background-color: rgba(255, 255, 255, 0.25) !important;
        color: #ffffff !important;
        opacity: 0.95;
    }

/* =================== OTP INPUT BOXES (FIGMA) =================== */
.otp-container {
    max-width: 380px;
}

.otp-box {
    width: 60px;
    height: 70px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-size: 24px !important;
    font-weight: 600;
    text-align: center;
    transition: all 0.2s ease;
}

    .otp-box:focus {
        background-color: rgba(255, 255, 255, 0.1);
        border-color: var(--bs-primary);
        box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.25);
        outline: none;
    }

    .otp-box::-webkit-outer-spin-button,
    .otp-box::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }

    .otp-box[type=number] {
        -moz-appearance: textfield;
    }

/* =================== BOTTONE ANNULLA REGISTRAZIONE =================== */
.btn-marv-cancel,
.btn-vionyx-cancel {
    border: none !important;
    color: white !important;
    transition: all 0.2s ease;
}

    .btn-marv-cancel:hover,
    .btn-vionyx-cancel:hover {
        background-color: #EF4444 !important;
        color: white !important;
    }

/* =================== CUSTOM DATE RANGE PICKER =================== */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 5px;
    text-align: center;
}

.cal-header-day {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.cal-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: white;
    transition: all 0.2s ease;
    user-select: none;
}

    .cal-day:hover:not(.empty) {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .cal-day.empty {
        cursor: default;
    }

    .cal-day.range-endpoint {
        background-color: #2563EB !important;
        color: white !important;
        font-weight: bold;
    }

    .cal-day.range-between {
        background-color: #F1F5F9 !important;
        color: #0F172A !important;
        border-radius: 12px;
    }

/* =================== ANIMAZIONI CALENDARIO =================== */
.slide-out-left {
    animation: slideOutLeft 0.2s ease-in forwards;
}

@keyframes slideOutLeft {
    to {
        opacity: 0;
        transform: translateX(-20px);
    }
}

.slide-in-right {
    animation: slideInRight 0.2s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.slide-out-right {
    animation: slideOutRight 0.2s ease-in forwards;
}

@keyframes slideOutRight {
    to {
        opacity: 0;
        transform: translateX(20px);
    }
}

.slide-in-left {
    animation: slideInLeft 0.2s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* =================== SETTING INDEX =================== */
.bg-hover-white-5:hover {
    background-color: rgba(255, 255, 255, 0.05) !important;
    opacity: 1 !important;
}

.active-setting {
    background-color: #2563EB !important;
    opacity: 1 !important;
}

/* =================== SEZIONE AIUTO =================== */
.accordion-button::after {
    filter: invert(1) grayscale(1) brightness(2);
    transform: scale(0.85);
}

.placeholder-white-50::placeholder {
    color: rgba(255, 255, 255, 0.4) !important;
}

/* =================== PREFERENZE LUOGO =================== */
.bg-dark-card {
    background-color: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.border-dark-light {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.bg-secondary-dark {
    background-color: rgba(255, 255, 255, 0.12);
}

/* --- BADGES --- */
.badge-pending {
    background-color: rgba(255, 193, 7, 0.12) !important;
    color: #ffca28 !important;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(255, 193, 7, 0.2);
}

.badge-owner {
    background-color: rgba(13, 110, 253, 0.14) !important;
    color: #4ea1ff !important;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(13, 110, 253, 0.2);
}

.badge-admin {
    background-color: rgba(155, 89, 182, 0.14) !important;
    color: #c576ff !important;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(155, 89, 182, 0.2);
}

.badge-guest {
    background-color: rgba(40, 167, 69, 0.12) !important;
    color: #5cd87d !important;
    font-size: 0.72rem;
    font-weight: 600;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

/* --- BOTTONI SPECIALI --- */
.btn-danger-custom {
    background-color: rgba(220, 53, 69, 0.12);
    color: #ea4335;
    border: 1px solid rgba(220, 53, 69, 0.25);
    transition: all 0.2s ease-in-out;
}

    .btn-danger-custom:hover {
        background-color: #dc3545;
        color: #ffffff;
        border-color: #dc3545;
    }

.x-small {
    font-size: 0.72rem;
}

/* --- GESTIONE RUOLI MEMBRI --- */
.role-option-card {
    transition: all 0.2s ease-in-out;
}

    .role-option-card:hover {
        background-color: rgba(255, 255, 255, 0.04) !important;
        border-color: rgba(255, 255, 255, 0.2) !important;
    }

    .role-option-card.selected {
        border-color: #2563EB !important;
        background-color: rgba(37, 99, 235, 0.08) !important;
    }

    .role-option-card .form-check-input:checked {
        background-color: #2563EB;
        border-color: #2563EB;
    }
