/* Hamburger Menu Styles */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    cursor: pointer;
    padding: 15px;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1000;
    background: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Mobile Navigation Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -280px; /* Changed from left to right */
    width: 280px;
    height: 100vh;
    background-color: #fff;
    z-index: 999;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.1); /* Changed shadow direction */
    transition: right 0.3s ease; /* Changed from left to right */
    overflow-y: auto;
}

.mobile-nav.active {
    right: 0; /* Changed from left to right */
}

.mobile-nav-header {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    background: #fff;
}

.mobile-nav-close {
    cursor: pointer;
    font-size: 24px;
    color: #333;
    padding: 5px;
}

.mobile-nav .nav {
    padding: 0 15px;
}

.mobile-nav .nav-item {
    margin: 10px 0;
}

.mobile-nav .nav-link {
    color: #333;
    font-size: 16px;
    padding: 10px 15px;
    display: block;
    transition: all 0.3s ease;
    border-radius: 5px;
}

.mobile-nav .nav-link:hover {
    color: #007bff;
    background: rgba(0,123,255,0.1);
}

.mobile-nav-footer {
    padding: 15px;
    border-top: 1px solid #eee;
    position: sticky;
    bottom: 0;
    background: #fff;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-links a {
    color: #333;
    font-size: 20px;
    transition: color 0.3s ease;
    padding: 8px;
}

.social-links a:hover {
    color: #007bff;
}

/* Mobile Auth Buttons */
.mobile-auth-buttons {
    padding: 15px;
    background: #f8f9fa;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.mobile-auth-buttons .btn {
    width: 100%;
    padding: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.mobile-auth-buttons .btn i {
    font-size: 18px;
}

.mobile-auth-buttons .btn-outline-primary {
    border: 2px solid #007bff;
}

.mobile-auth-buttons .btn-outline-primary:hover {
    background: #007bff;
    color: #fff;
}

.mobile-auth-buttons .btn-primary {
    background: #007bff;
    border: none;
}

.mobile-auth-buttons .btn-primary:hover {
    background: #0056b3;
}

.mobile-auth-buttons .btn-outline-danger {
    border: 2px solid #dc3545;
}

.mobile-auth-buttons .btn-outline-danger:hover {
    background: #dc3545;
    color: #fff;
}

.mobile-auth-buttons .btn-success {
    background: #28a745;
    border: none;
    color: #fff;
}

.mobile-auth-buttons .btn-success:hover {
    background: #218838;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hamburger-menu {
        display: block;
    }
    
    /* Hamburger Animation */
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    /* Ensure hamburger menu stays visible when scrolling */
    body {
        padding-top: 0;
    }
} 