/* Theme Toggle Button Styles */
.theme-toggle-wrapper {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
}

.theme-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: white;
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-toggle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
}

.light-mode .theme-toggle-btn {
    background-color: var(--primary-color);
}

.dark-mode .theme-toggle-btn {
    background-color: var(--dark-primary);
}

.light-mode .theme-toggle-btn i.fa-sun {
    display: none;
}

.dark-mode .theme-toggle-btn i.fa-moon {
    display: none;
}

/* Ensure sun icon is visible in dark mode */
.dark-mode .theme-toggle-btn i.fa-sun {
    color: white;
}

/* Navbar Toggler Enhancement */
.navbar-toggler {
    border: 2px solid var(--primary-color) !important;
    padding: 0.5rem;
    border-radius: 4px;
}

.dark-mode .navbar-toggler {
    border-color: var(--dark-primary) !important;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2852, 152, 219, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.dark-mode .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2877, 171, 247, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Mobile Responsiveness */
@media (max-width: 576px) {
    .theme-toggle-wrapper {
        bottom: 15px;
        left: 15px;
    }
    
    .theme-toggle-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}