/* Enhanced text hover effects - only text highlights, no background boxes */

/* Global override for Bootstrap link styles to prevent boxes */
a:not(.btn):not(.badge):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.mobile-nav-item) {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

a:not(.btn):not(.badge):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.mobile-nav-item):hover,
a:not(.btn):not(.badge):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.mobile-nav-item):focus,
a:not(.btn):not(.badge):not(.nav-link):not(.navbar-brand):not(.dropdown-item):not(.mobile-nav-item):active {
    background-color: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Admin Access link on login page */
a[onclick*="showAdminModal"] {
    color: #6c757d !important;
    transition: color 0.2s ease !important;
}

a[onclick*="showAdminModal"]:hover,
a[onclick*="showAdminModal"]:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Register link on login page */
.text-center p a[href*="register"] {
    transition: color 0.2s ease !important;
}

.text-center p a[href*="register"]:hover,
.text-center p a[href*="register"]:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* Forgot Password link */
.text-end a[href*="forgot_password"] {
    color: #6c757d !important;
    transition: color 0.2s ease !important;
}

.text-end a[href*="forgot_password"]:hover,
.text-end a[href*="forgot_password"]:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* How does it work link on homepage */
.mt-3 a[href*="faq"] {
    color: #6c757d !important;
    transition: color 0.2s ease !important;
}

.mt-3 a[href*="faq"]:hover,
.mt-3 a[href*="faq"]:focus {
    color: #ffffff !important;
    text-decoration: none !important;
}

/* General improvement for all text links to prevent unwanted box effects */
a:not(.btn):not(.badge):not(.nav-link):not(.navbar-brand):not(.dropdown-item) {
    outline: none !important;
    box-shadow: none !important;
}

a:not(.btn):not(.badge):not(.nav-link):not(.navbar-brand):not(.dropdown-item):focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Remove any default browser focus outlines for these specific text links */
a.text-muted:focus,
a.text-muted.small:focus {
    outline: none !important;
    box-shadow: none !important;
}