﻿.toast.fade {
    transition: opacity 1s ease-out;
}

.nav-hover {
    transition: color 0.3s ease;
}

.nav-hover:hover, #iconText {
    color: #0066CC !important;
}

#iconText:hover {
    color: #000000 !important;
    background-color: none !important;
}

#iconText:active{
    color: white !important;
}

.nav-item.dropdown .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
}


/* Mobile navbar icons dropdown positioning */
.navbar-icons-container .dropdown-menu {
    position: absolute;
    min-width: 120px;
}

@media (max-width: 991px) {
    .nav-item.dropdown .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        margin-top: 0;
        transform: none;
        left: auto;
        border: none;
        box-shadow: none;
        text-align: center;
    }
    
    /* Keep the mobile icons dropdown absolute positioned */
    .navbar-icons-container .nav-item.dropdown .dropdown-menu {
        position: absolute;
        width: auto;
        border: 1px solid rgba(0,0,0,.15);
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
    }
}

.navbar-icons {
    vertical-align: middle;
}

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}