* { 
    user-select: none !important; 
}

img { 
    -webkit-user-drag: none; 
    pointer-events: none; 
}

/* Fix dropdown to appear above carousel */
.navbar-wrapper {
    position: relative;
    z-index: 9999;
}

.navbar {
    position: relative;
    z-index: 9999;
    margin-bottom: 0;
}

.navbar-fixed-top {
    /* z-index: 9999 !important; */
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
}

/* Fix dropdown menu positioning */
.navbar .dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    z-index: 10000 !important;
    display: none;
    float: left;
    min-width: 200px;
    padding: 8px 0;
    margin: 2px 0 0;
    font-size: 14px;
    text-align: left;
    list-style: none;
    background-color: #ffffff;
    background-clip: padding-box;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0,0,0,.15);
}

.navbar .dropdown.open .dropdown-menu,
.navbar .dropdown:hover .dropdown-menu {
    display: block !important;
}

/* Fix carousel z-index to be lower */
.carousel {
    position: relative;
    z-index: 1 !important;
}

.carousel-inner {
    position: relative;
    z-index: 1 !important;
}

.carousel-item {
    position: relative;
    z-index: 1 !important;
}

/* Ensure no overflow hidden on parent elements */
.navbar-wrapper,
.navbar,
.navbar .container,
.navbar-collapse,
.navbar-nav,
.dropdown {
    overflow: visible !important;
}

/* Style ALL dropdown items consistently - ALWAYS VISIBLE */
.dropdown-menu li a {
    padding: 10px 24px;
    display: block;
    clear: both;
    font-weight: 500;
    line-height: 1.5;
    color: #2d3748 !important;  /* Dark color for contrast on white background */
    background-color: #ffffff !important;  /* Solid white background */
    white-space: nowrap;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-bottom: 1px solid transparent;
}

/* Remove any transparent background or overlay */
.dropdown-menu li {
    background-color: #ffffff !important;
}

/* Hover effect - changes background color so text remains visible */
.dropdown-menu li a:hover {
    background: linear-gradient(90deg, rgba(102, 16, 242, 0.08) 0%, rgba(102, 16, 242, 0.04) 100%) !important;
    color: #6610F2 !important;
    padding-left: 32px;
    border-bottom-color: rgba(102, 16, 242, 0.2);
}

/* Arrow indicator on hover */
.dropdown-menu li a::before {
    content: '→';
    position: absolute;
    left: 10px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #6610F2;
}

.dropdown-menu li a:hover::before {
    opacity: 1;
    left: 12px;
}

/* Ensure divider is visible */
.dropdown-menu .divider {
    height: 1px;
    margin: 8px 0;
    overflow: hidden;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e0 50%, #e2e8f0 100%);
}

/* External login dropdown specific - consistent width */
.external-login-dropdown .dropdown-menu {
    min-width: 210px;
}

.external-login-dropdown .dropdown-menu li a {
    white-space: nowrap;
}

/* For mobile responsiveness */
@media (max-width: 767px) {
    .navbar .dropdown-menu {
        position: static !important;
        float: none !important;
        width: 100% !important;
        margin-top: 0 !important;
        background-color: #ffffff !important;
        border: 1px solid #e0e0e0 !important;
        box-shadow: none !important;
    }
    
    .navbar .dropdown.open .dropdown-menu {
        display: block !important;
        position: static !important;
    }
    
    .dropdown-menu li a {
        padding: 12px 20px 12px 40px !important;
        white-space: normal;
        color: #2d3748 !important;
        background-color: #ffffff !important;
    }
    
    .dropdown-menu li a:hover {
        padding-left: 45px !important;
        color: #6610F2 !important;
        background: linear-gradient(90deg, rgba(102, 16, 242, 0.08) 0%, rgba(102, 16, 242, 0.04) 100%) !important;
    }
    
    .dropdown-menu li a::before {
        left: 20px;
        opacity: 1;
    }
    
    .external-login-dropdown .dropdown-menu {
        width: 100% !important;
        min-width: 100% !important;
    }
}

/* Ensure dropdown is visible without hover */
.dropdown-menu {
    background-color: #ffffff !important;
}

/* Optional: Add a subtle border between items for better visibility */
.dropdown-menu li:not(:last-child) a {
    border-bottom: 1px solid #f0f0f0;
}

/* Make text bold and clear */
.dropdown-menu li a {
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Smooth dropdown animation */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.navbar .dropdown-menu {
    animation: fadeInDown 0.2s ease;
}
/* Simple fix for carousel arrows */
.carousel-control {
    z-index: 9999 !important;
    pointer-events: auto !important;
}

.carousel-control .icon-prev,
.carousel-control .icon-next {
    pointer-events: auto !important;
}

.carousel-inner img {
    pointer-events: none;
}
/* Add to your dashboard.css or style.css */
.fa-virus-custom {
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    position: relative;
    width: 40px;
    height: 40px;
}

.fa-virus-custom:before {
    content: "🦠";
    font-size: 40px;
    position: absolute;
    top: 0;
    left: 0;
}

/* Or use SVG background */
.fa-virus-svg {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath fill='%236f42c1' d='M483.9 234.6c-6.1-3.7-12.7-5.7-19.5-5.7h-42.8c-4.4-19.1-12.8-36.9-24.1-52.1l30.4-30.4c8.3-8.3 8.3-21.8 0-30.1s-21.8-8.3-30.1 0l-30.4 30.4c-15.2-11.3-33-19.7-52.1-24.1V76.6c0-11.8-9.6-21.4-21.4-21.4s-21.4 9.6-21.4 21.4v42.8c-19.1 4.4-36.9 12.8-52.1 24.1l-30.4-30.4c-8.3-8.3-21.8-8.3-30.1 0s-8.3 21.8 0 30.1l30.4 30.4c-11.3 15.2-19.7 33-24.1 52.1H76.6c-11.8 0-21.4 9.6-21.4 21.4s9.6 21.4 21.4 21.4h42.8c4.4 19.1 12.8 36.9 24.1 52.1l-30.4 30.4c-8.3 8.3-8.3 21.8 0 30.1s21.8 8.3 30.1 0l30.4-30.4c15.2 11.3 33 19.7 52.1 24.1v42.8c0 11.8 9.6 21.4 21.4 21.4s21.4-9.6 21.4-21.4v-42.8c19.1-4.4 36.9-12.8 52.1-24.1l30.4 30.4c8.3 8.3 21.8 8.3 30.1 0s8.3-21.8 0-30.1l-30.4-30.4c11.3-15.2 19.7-33 24.1-52.1h42.8c11.8 0 21.4-9.6 21.4-21.4 0-7.4-3.8-14.3-10.1-18.3zM256 320c-35.3 0-64-28.7-64-64s28.7-64 64-64 64 28.7 64 64-28.7 64-64 64z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}