/* User Menu Styles for Main Site Integration */

.user-menu-dropdown {
    position: relative;
    display: inline-block;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
    color: white;
}

.user-name {
    font-weight: 500;
}

.dropdown-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
}

.user-menu-dropdown.active .dropdown-arrow {
    transform: rotate(180deg);
}

.user-menu-items {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    min-width: 220px;
    z-index: 1000;
    overflow: hidden;
    margin-top: 0.5rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.user-info {
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.user-info strong {
    display: block;
    margin-bottom: 0.25rem;
}

.user-info small {
    opacity: 0.9;
}

.trial-info {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    margin-top: 0.5rem;
    display: inline-block;
}

.user-menu-items hr {
    margin: 0;
    border: none;
    border-top: 1px solid #eee;
}

.user-menu-items a {
    display: block;
    padding: 0.75rem 1rem;
    color: #333 !important;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.user-menu-items a i {
    color: #666 !important;
    margin-right: 0.5rem;
}

.user-menu-items a:hover {
    background-color: #f8f9fa;
}

.user-menu-items a:last-child {
    color: #e74c3c;
}

.user-menu-items a:last-child:hover {
    background-color: #fee;
}

/* Auth Buttons for Non-Logged-In Users */
.auth-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.btn {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 1px solid transparent;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-menu-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .user-menu-items {
        min-width: 200px;
        right: -10px;
    }
    
    .auth-buttons {
        flex-direction: column;
        gap: 0.3rem;
    }
    
    .btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}
